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

/address-geocode(1)

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

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

Geocoder / address-to-lat-lng / location resolver. Address or place-name → coords + structured parts (road, city, state, postcode, country). Powered by OpenStreetMap Nominatim (free public).

INPUTrequest schema
propertytypedescriptionreq?
addressstringFree-form address, postal code, place name, or POI. Examples: '1600 Amphitheatre Parkway, Mountain View, CA', '10115 Berlin', 'Eiffel Tower'.required
country_codesarrayOptional ISO 3166-1 alpha-2 filter, e.g. ['us','ca'].optional
limitnumber1-10. Default 5.optional
OUTPUTresponse shape
fieldtypedescription
querystringEcho of the address or place-name string that was geocoded.
match_countnumberNumber of candidate matches Nominatim returned for the query.
resultsarrayArray of geocoded candidates, each with lat/lng plus parsed road, city, state, postcode, and country parts.
best_matchobjectTop-ranked candidate object with coordinates and structured address parts for the most likely location.
sourcestringUpstream geocoding provider that produced the results, e.g. 'openstreetmap-nominatim'.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/address-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 address-geocode tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
geocodelocationmapsosmnominatim
methods
POST
cluster
locale
price
$0.02 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
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
reverse-geocodeReverse geocoder / lat-lng-to-address.$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