Geocode (Forward & Reverse) via Mapbox is a paid API for AI agents from ZeroClick x402 Service Registry at geocode.withzero.ai, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-10, last successful call 2026-07-02).
Converts addresses or place names to lat/lng coordinates (forward geocoding) and lat/lng coordinates back to human-readable addresses (reverse geocoding) using Mapbox.
Forward and reverse geocoding via Mapbox. Forward: convert an address or place name to latitude/longitude coordinates. Reverse: convert lat/lng coordinates back to a human-readable address. Input: `action` (forward/reverse), `query` for forward (address string), `lat` + `lng` for reverse (decimal degrees). Optional `country` (ISO 2-letter code) to bias results, `limit` (1-10, default 5). Returns: `features` array of {name, full_address, lat, lng, type, relevance}, `count` of results. Relevance is 0.0-1.0 (higher = better match). Types: address, place, postcode, locality, neighborhood, region, country, poi.
An array of up to 10 geocoding features, each with a short place name, full formatted address, latitude, longitude, feature type (address, place, poi, postcode, neighborhood, locality, region, country), and a relevance score from 0.0 to 1.0. Also includes a count of total results returned.
POSThttps://geocode.withzero.ai/run?utm_source=zero.xyzUse this endpoint when you need to convert between human-readable addresses and geographic coordinates, or vice versa, with relevance scoring and multiple result candidates. Backed by Mapbox's high-quality geocoding data, it supports country-biasing and returns typed features (POI, address, neighborhood, etc.), making it ideal for location enrichment, map pin placement, address validation, or any workflow that requires precise lat/lng from text input.
{
"limit": 5,
"query": "Statue of Liberty, New York",
"action": "forward"
}| Field | Type | Description |
|---|---|---|
| lat | number | Latitude for reverse geocoding |
| lng | number | Longitude for reverse geocoding |
| limit | integer | Max results to return (1-10, default 5) |
| query | string | Address or place name for forward geocoding |
| action | string | forward: address→coordinates; reverse: coordinates→address |
| country | string | ISO 2-letter country code to bias results (e.g. us, gb, de) |
{
"count": 5,
"features": [
{
"lat": 41.795768,
"lng": -74.744928,
"name": "State Street",
"type": "address",
"relevance": 0.711481,
"full_address": "State Street, Liberty, New York 12754, United States"
},
{
"lat": 40.698986,
"lng": -74.060876,
"name": "Theodore Conrad Drive",
"type": "address",
"relevance": 0.663333,
"full_address": "Theodore Conrad Drive, Jersey City, New Jersey 07305, United States"
},
{
"lat": 41.799525,
"lng": -74.745775,
"name": "Liberty",
"type": "place",
"relevance": 0.637037,
"full_address": "Liberty, New York, United States"
},
{
"lat": 41.55846,
"lng": -77.105059,
"name": "Liberty",
"type": "place",
"relevance": 0.274074,
"full_address": "Liberty, Pennsylvania, United States"
},
{
"lat": 41.339579,
"lng": -71.785685,
"name": "Liberty",
"type": "address",
"relevance": 0.274074,
"full_address": "Liberty, Westerly, Rhode Island 02891, United States"
}
]
}| Field | Type | Description |
|---|---|---|
| countrequired | number | Number of results returned |
| featuresrequired | array | Geocoding results |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"