Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man address-geocode

/address-geocode

agentutility / locale / address-geocode
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
utilities
STATUS
live
NAME
address-geocode converts a free-form address, postal code, place name, or poi into latitude/longitude
SYNOPSIS
POST https://x402.agentutility.ai/address-geocode
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Converts a free-form address, postal code, place name, or POI into latitude/longitude. Returns a ranked list of matches with importance scores, a structured address breakdown (house number, road, city, county, state, postcode, country), and a bounding box. Backed by OSM Nominatim — global coverage, attribution required by ODbL. Use it as a forward geocoder, address to lat-lng converter, address-to-coordinates lookup, postal-code lookup, place-name resolver, Nominatim geocoder, or OpenStreetMap geocoding API.

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 country codes to restrict results, e.g. ['us', 'ca'].optional
limitnumberMax results to return. 1-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.agentutility.ai/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 the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the address-geocode tool from your MCP-aware agent.
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-delaysReports live US airport delays, ground stops, and closures from the FAA National Airspace System Status feed.$0.02
bin-lookupLooks up a credit card BIN: the first 6-8 digits resolve to issuer, country, brand, and card type via binlist.net.$0.02
bin-lookup-apiLooks up card BINs, resolving the first 6-8 card digits to scheme, issuer, country, card type, prepaid/debit/credit signal, and payment-r…$0.02
card-bin-lookupResolves the first 6-8 digits of a card number to issuer bank, country, brand (Visa/Mastercard/Amex/Discover/JCB/UnionPay), and card type…$0.02
geocodeGeocodes addresses and place names to coordinates; exact short alias for address-geocode so agents searching for 'geocode' can discover t…$0.02
iin-lookupResolves an issuer identification number (the first 6-8 card digits) to scheme, issuer, country, card type, and prepaid/debit/credit sign…$0.02
reverse-geocodeConverts latitude/longitude coordinates into a structured street address.$0.02
satellite-bboxBuilds a cloud-free Sentinel-2 mosaic over any bounding box and returns it as a single PNG composite.$0.02
SEE ALSO
agentutility · locale · x402 · mcp · llms.txt · registry.json · bazaar.x402.org