# TBS Geocoding API – Reverse Geocoding

> TBS Geocoding API – Reverse Geocoding is a paid API for AI agents from x402.tbs-digital.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Converts latitude/longitude coordinates into a human-readable address including city, locality, state/region, country, and ISO country code.

## Facts

- Endpoint: GET https://x402.tbs-digital.com/geo/reverse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tbs-geocoding-api-reverse-geocoding-3c66a99e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eLj6rE8rRle18JHpH4v9O

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 tbs-geocoding-api-reverse-geocoding-3c66a99e
```

Example prompt: What city and country are these coordinates in — latitude 48.8566, longitude 2.3522?

## When to prefer this

Choose this endpoint when you need fast, cheap, keyless reverse geocoding with a stable unified schema and stablecoin (USDC) payment — ideal for AI agents that need to resolve coordinates into human-readable place names without managing API keys or dealing with inconsistent provider schemas.

## Known failure modes

- Missing or out-of-range lat/lon parameters returns an error
- Coordinates in remote or ocean areas may return null or incomplete address fields
- Payment failure (x402) blocks the request if USDC balance is insufficient
- Malformed query parameters (non-numeric lat/lon) cause a validation error

## How this service works

Reverse geocoding for AI agents: turn a latitude/longitude into a human-readable address. Returns city, locality, principal subdivision (state/region), country and ISO country code for the given coordinates. Query by lat= and lon=. Sourced from BigDataCloud — keyless, unified schema, stablecoin-payable.

## Output

Returns a structured address object with city, locality, principal subdivision (state or region), country name, and ISO country code for the given coordinates, along with a request ID, generation timestamp, and payer/source metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude in [-90, 90], e.g. 48.8566"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in [-180, 180], e.g. 2.3522"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "payer": {
       "type": "object",
       "properties": {
        "address": {
         "type": "string",
         "nullable": true
        },
        "network": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "address": {
       "type": "object",
       "nullable": true
      },
      "request_id": {
       "type": "string"
      },
      "generated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tbs-geocoding-api-reverse-geocoding-3c66a99e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tbs-digital.com](https://www.zero.xyz/host/x402.tbs-digital.com/llms.txt)
