# TBS Geocoding API – Reverse Geocoding

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

Converts a latitude/longitude coordinate pair into a structured address (city, country, subdivision, locality) using BigDataCloud, payable in USDC via x402.

## Facts

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

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-75033580
```

Example prompt: What city and address information corresponds to the coordinates 48.8566° N, 2.3522° E?

## When to prefer this

Choose this endpoint when you need a sub-cent, keyless reverse geocoding call with a unified JSON schema and USDC micropayment settlement on Base. It is ideal for AI agents that need on-demand coordinate-to-address resolution without managing API keys or monthly subscription billing. Prefer this over forward geocoding siblings when you already have coordinates and need human-readable location details.

## Known failure modes

- Missing or out-of-range lat/lon parameters returns an error
- Coordinates in remote oceans or uninhabited areas may return null or incomplete address fields
- Payment failure or insufficient USDC balance prevents the call from completing
- Network timeout or upstream BigDataCloud outage may cause 5xx responses

## How this service works

Geocoding for AI agents in one sub-cent call: forward geocoding (place name or address to coordinates), reverse geocoding (lat/lon to address) and place search. Open-Meteo + BigDataCloud, keyless, unified schema, USDC-payable via x402 on Base.

## Output

Returns a structured JSON object containing the resolved address fields (lat, lon, city, locality, subdivision, country, country_code), the data source ('bigdatacloud'), a unique request_id, a generated_at timestamp, and payer information (wallet address and network).

## 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"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "payer": {
   "address": "0x0000000000000000000000000000000000000000",
   "network": "base"
  },
  "source": "bigdatacloud",
  "address": {
   "lat": 48.8566,
   "lon": 2.3522,
   "city": "Paris",
   "country": "France",
   "locality": "Paris",
   "subdivision": "Île-de-France",
   "country_code": "FR"
  },
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "generated_at": "2026-08-11T12:00:00.000Z"
 }
}
```

## More

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