AgentAPIGate
Back to Catalog
GET /v1/geo/nominatim/reverse_geocodePack: local·MCP Tool: geo_nominatim_reverse_geocode

OpenStreetMap Nominatim Reverse Geocoding

Convert WGS84 latitude and longitude coordinates into structured street address, city, postal code, country code, and OSM place metadata.

API Key Price:$0.0015 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
WGS84 latitude (-90 to 90, e.g. 51.5074)
WGS84 longitude (-180 to 180, e.g. -0.1278)
Address detail level from 3 (country) to 18 (building, default 18)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/geo/nominatim/reverse_geocode" \
  --data-urlencode "lat=51.5074" \
  --data-urlencode "lon=-0.1278" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-68% tokens
# OpenStreetMap Nominatim Reverse Geocoding (`geo.nominatim.reverse_geocode`)
**place_id**: 281467806 · **display_name**: Mileage Central Point of London Plaque, Charing Cross, Westminster, Covent Garden, City of Westminster, Greater London, England, WC2N 5DU, United Kingdom · **category**: historic · **type**: memorial

## address
- **historic**: Mileage Central Point of London Plaque
- **road**: Charing Cross
- **quarter**: Westminster
- **suburb**: Covent Garden
- **city**: City of Westminster
- **ISO3166-2-lvl8**: GB-WSM
- **state**: England
- **ISO3166-2-lvl4**: GB-ENG
- **postcode**: WC2N 5DU
- **country**: United Kingdom
- **country_code**: gb
## boundingbox
- [1] 51.5073562
- [2] 51.5074562
- [3] -0.1277415
- [4] -0.1276415

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: geo.nominatim.reverse_geocode · Method: GET
ParameterTypeReqSample / DefaultDescription
latnumberrequired51.5074WGS84 latitude (-90 to 90, e.g. 51.5074)
lonnumberrequired-0.1278WGS84 longitude (-180 to 180, e.g. -0.1278)
zoomnumberoptional18Address detail level from 3 (country) to 18 (building, default 18)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0015 / call$0/mo · Balance never expires
Remote MCP Toolgeo_nominatim_reverse_geocodeOAuth 2.1 Hub & /mcp/local
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency1418 ms$0 billed on empty or 4xx/5xx
Token Economy560t → 190t (-68%)Partner credit: eligible
Data AttributionData © OpenStreetMap contributors, ODbL 1.0 (nominatim.openstreetmap.org — Reverse Geocoding)

More geo.nominatim Sibling Endpoints

Frequently Asked Questions

How do I call OpenStreetMap Nominatim Reverse Geocoding (geo.nominatim.reverse_geocode) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/geo/nominatim/reverse_geocode with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool geo_nominatim_reverse_geocode on https://mcp.agentapigate.ai/mcp.

What does geo.nominatim.reverse_geocode cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on geo.nominatim.reverse_geocode?

Passing ?format=md transforms the response into normalized Markdown (~190 tokens vs ~560 raw tokens, saving 68% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only local endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["local"], optional allowed_endpoints: ["geo.nominatim.reverse_geocode"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.