- Passive: the target is not contacted
Use q, or the structured fields (amenity, street, city, county, state, country, postalcode), but not both. Defaults to jsonv2 output. The public service forwards requests without format to the web UI, so always send format.
Query parameters
qFree-form query
formatOutput format
limitNumber of results, maximum 40
addressdetails1 to include the address breakdown
countrycodesLimit results to these countries
accept-languageLanguage of the results
Response fields · 12ShowHide
place_id
Nominatim place ID
osm_type
OSM object type
osm_id
OSM object ID
lat
Latitude
lon
Longitude
boundingbox
Bounding box
category
OSM category
type
OSM type
importance
Importance ranking
name
Place name
display_name
Full display name
address
Address parts, with addressdetails=1
curl 'https://nominatim.openstreetmap.org/search'[
{
"place_id": 1000001,
"osm_type": "node",
"osm_id": 2000002,
"lat": "52.3700000",
"lon": "4.9000000",
"boundingbox": [
"52.36",
"52.38",
"4.89",
"4.91"
],
"category": "railway",
"type": "station",
"importance": 0.5,
"name": "Example Station",
"display_name": "Example Station, Example City, Netherlands"
}
]