$ man geocode
/geocode
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
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.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| address | string | Free-form address, postal code, place name, or POI. Examples: '1600 Amphitheatre Parkway, Mountain View, CA', '10115 Berlin', 'Eiffel Tower'. | required |
| country_codes | array | Optional ISO 3166-1 alpha-2 country codes to restrict results, e.g. ['us', 'ca']. | optional |
| limit | number | Max results to return. 1-10. Default 5. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| query | string | — |
| match_count | string | — |
| results | string | — |
| best_match | string | — |
| source | string | — |
EXAMPLES — two 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
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| address-geocode | Geocoder / forward geocoder / address to lat-lng / address-to-coordinates / postal-code lookup / place-name resolver / Nominatim geocoder… | $0.02 |
| airport-delays | FAA airport delays / ground stops / ground delay programs (GDP) / arrival-departure delay feed / NAS Status / FAA OIS air-traffic disrupt… | $0.02 |
| bin-lookup | Credit card BIN / IIN lookup. | $0.02 |
| card-bin-lookup | Credit card BIN lookup / IIN lookup / card-issuer lookup. | $0.02 |
| iin-lookup | IIN lookup / issuer identification number API / card BIN checker. | $0.02 |
| reverse-geocode | Reverse geocoder / lat-lng to address / coordinates to address / coords to street / GPS to postal code / what-city-is-this / Nominatim re… | $0.02 |
| satellite-bbox | Bounding-box satellite composite / Sentinel-2 cloud-free mosaic / region satellite snapshot / arbitrary bbox to imagery. | $0.02 |
| building-permits | Building permits lookup / construction permit search / DOB permit fetch / city open-data permits / real-estate due-diligence / property p… | $0.03 |
SEE ALSO