Reverse geocode
Find addresses and places near a latitude and longitude.
/v1/reverseSend a latitude and longitude to get nearby addresses, streets, and places, ranked by proximity. Each result's distance_m is its distance from your point.
Headers
| Header | Required | Value |
|---|---|---|
apikey | Yes | Your primary API key |
Query parameters
latnumberrequiredLatitude in [-90, 90]. Zero is valid.
lonnumberrequiredLongitude in [-180, 180]. Zero is valid.
radiusnumberSearch radius in meters, 1–100,000. Default 1,000. If fewer than limit addresses, streets, or places are within the radius, the neighborhood, city, county, state, and country containing the point fill the remaining results.
typesstringComma-separated result types to include, e.g. address.
limitintegerMaximum results, 1–40. Default 10.
exclude_sourcesstringComma-separated source names to omit. See data sources.
Request example
curl "$GEOCODING_BASE_URL/v1/reverse?lat=40.7074&lon=-74.0113&types=address&limit=1" \
--header "apikey: $GEOCODING_API_KEY"
Success response
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {"type": "Point", "coordinates": [-74.0112, 40.7073]},
"properties": {
"id": "openaddresses:address:us/ny:1",
"label": "11 Wall Street, New York, NY, USA",
"type": "address",
"name": "11 Wall Street",
"house_number": "11",
"street": "Wall Street",
"unit": null,
"neighborhood": "Financial District",
"city": "New York",
"county": "New York County",
"state": "NY",
"state_name": "New York",
"zip": "10005",
"country": "US",
"lat": 40.7073,
"lon": -74.0112,
"confidence": 0.95,
"match_type": "exact",
"distance_m": 14,
"categories": [],
"source": "openaddresses"
}
}
]
}
Result coordinates describe the returned address or place, which can differ from the point you sent. Reverse confidence reflects distance and is not the geocode match score.
No results returns 200 with "features": []. Successful responses carry X-Geocoding-Outcome: matched or no_match. See errors.