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

/geocode

agentutility / locale / geocode
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
uncategorized
STATUS
live
NAME
geocode geocode api / geocoder / forward geocode / address to coordinates / place name to latitude-longitude / postal-code lookup / openstreetmap…
synonym alias of address-geocode — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/geocode
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Geocode API / geocoder / forward geocode / address to coordinates / place name to latitude-longitude / postal-code lookup / OpenStreetMap Nominatim. Exact short alias for address-geocode so agents searching for 'geocode' can discover the same global address/place resolver. Converts a free-form address, postal code, place name, or POI into latitude/longitude, ranked matches, structured address fields, importance scores, and bounding boxes.

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
querystring
match_countstring
resultsstring
best_matchstring
sourcestring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/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 geocode tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
localegeocode
methods
POST
cluster
locale
price
$0.02 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
address-geocodeGeocoder / forward geocoder / address to lat-lng / address-to-coordinates / postal-code lookup / place-name resolver / Nominatim geocoder…$0.02
airport-delaysFAA airport delays / ground stops / ground delay programs (GDP) / arrival-departure delay feed / NAS Status / FAA OIS air-traffic disrupt…$0.02
bin-lookupCredit card BIN / IIN lookup.$0.02
card-bin-lookupCredit card BIN lookup / IIN lookup / card-issuer lookup.$0.02
iin-lookupIIN lookup / issuer identification number API / card BIN checker.$0.02
reverse-geocodeReverse geocoder / lat-lng to address / coordinates to address / coords to street / GPS to postal code / what-city-is-this / Nominatim re…$0.02
satellite-bboxBounding-box satellite composite / Sentinel-2 cloud-free mosaic / region satellite snapshot / arbitrary bbox to imagery.$0.02
building-permitsBuilding permits lookup / construction permit search / DOB permit fetch / city open-data permits / real-estate due-diligence / property p…$0.03
SEE ALSO
agentutility · locale · x402 · mcp · llms.txt · registry.json · bazaar.x402.org