# Mapbox Reverse Geocoding via Locus x402

> Mapbox Reverse Geocoding via Locus x402 is a paid API for AI agents from mapbox.x402.paywithlocus.com, paid per call via x402, $0.00375/call, status unknown (last checked 2026-09-15).

Converts geographic coordinates (latitude/longitude) into human-readable place names and addresses using Mapbox's reverse geocoding API, billed per call via x402 micropayments.

## Facts

- Endpoint: POST https://mapbox.x402.paywithlocus.com/mapbox/geocode-reverse
- Price: $0.00375/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mapbox-reverse-geocoding-via-locus-x402-9479bd41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-BGXN8dssqf9It3nEyL_Q

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mapbox-reverse-geocoding-via-locus-x402-9479bd41 -d '<json body>'
```

Example prompt: What street address or place name is at latitude 40.7128, longitude -74.0060? Give me up to 2 results in English, filtered to the US only.

## When to prefer this

Choose this endpoint when you need pay-per-call reverse geocoding without a monthly subscription, particularly in agent workflows where Mapbox geocoding quality is required and you want micropayment billing via x402/USDC. Prefer this over direct Mapbox API access when you don't have a Mapbox API key or need usage-based pricing at $0.00375 per call.

## Known failure modes

- Invalid coordinates (latitude outside -90 to 90 or longitude outside -180 to 180) return an error
- Limit value outside 1-5 range may be rejected or clamped
- No results found for remote or ocean coordinates — empty feature collection returned
- Payment failure or insufficient balance returns a 402 error
- Invalid country code or language tag returns a bad request error
- Unsupported worldview code may return an error

## How this service works

Location and mapping APIs — geocoding, directions, isochrones, matrix routing, map matching, static maps, and spatial queries.

## Output

Returns a JSON object with a 'data' field containing Mapbox geocoding feature(s) — each including the matched place name, full address, administrative hierarchy, feature type, and geographic bounding box — plus payment settlement details (settled USDC amount) and a request tracking ID with a status URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  },
  "types": {
   "type": "string"
  },
  "country": {
   "type": "string"
  },
  "language": {
   "type": "string"
  },
  "latitude": {
   "type": "number"
  },
  "longitude": {
   "type": "number"
  },
  "worldview": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mapbox-reverse-geocoding-via-locus-x402-9479bd41/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mapbox.x402.paywithlocus.com](https://www.zero.xyz/host/mapbox.x402.paywithlocus.com/llms.txt)
