Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man reverse-geocode

/reverse-geocode(1)

agentutility / locale / reverse-geocode
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
utilities
STATUS
live
NAME
reverse-geocode reverse geocoder / lat-lng-to-address
SYNOPSIS
POST https://x402.org/v1/reverse-geocode
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Reverse geocoder / lat-lng-to-address. Coords → structured address (road, city, state, postcode, country). Powered by OpenStreetMap Nominatim.

INPUTrequest schema
propertytypedescriptionreq?
latitudenumberLatitude in decimal degrees. Range -90 to 90.required
longitudenumberLongitude in decimal degrees. Range -180 to 180.required
zoomnumber3 (country) → 18 (building). Default 17.optional
OUTPUTresponse shape
fieldtypedescription
latitudenumberEchoed latitude of the queried point in decimal degrees.
longitudenumberEchoed longitude of the queried point in decimal degrees.
zoomnumberNominatim zoom level controlling address granularity (3=country, 18=building).
display_namestringFull human-readable address string joined from the address components.
addressobjectStructured address parts: road, house_number, city, state, postcode, country, country_code.
namestringLocal name of the matched place, when Nominatim has one distinct from the full address.
typestringOSM feature type of the match (e.g. residential, city, house, restaurant).
classstringOSM feature class of the match (e.g. highway, place, building, amenity).
importancenumberNominatim importance score from 0 to 1 ranking the match's prominence.
bounding_boxarray[south, north, west, east] lat/lng bounds of the matched feature.
osm_idnumberOpenStreetMap object ID of the matched feature.
place_idnumberNominatim internal place identifier for the matched feature.
sourcestringUpstream data source for the lookup, here "nominatim" (OpenStreetMap).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/reverse-geocode \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the reverse-geocode tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
geocodereverselocationmapsosm
methods
POST
cluster
locale
price
$0.02 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
address-geocodeGeocoder / address-to-lat-lng / location resolver.$0.02
airport-delaysFAA NAS Status — current US airport delays, ground stops, ground delay programs, weather-driven program changes.$0.02
bin-lookupCredit card BIN / IIN lookup.$0.02
card-bin-lookupCredit card BIN lookup / IIN lookup / card-issuer lookup.$0.02
satellite-bboxBounding-box satellite composite / Sentinel-2 cloud-free mosaic / region satellite snapshot / arbitrary bbox to imagery.$0.02
building-permitsBuilding permits multi-city open-data lookup.$0.03
flight-statusFlight status / live aircraft position / flight tracker / ICAO24 lookup / callsign lookup / aircraft bounding-box / OpenSky Network state…$0.01
property-taxProperty tax lookup.$0.01
SEE ALSO
agentutility(7) · locale(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org