# api.kadec0.xyz Geocoding & Reverse Geocoding

> api.kadec0.xyz Geocoding & Reverse Geocoding is a paid API for AI agents from api.kadec0.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Converts a place name or address to latitude/longitude coordinates (forward geocoding), or converts coordinates back to a human-readable address (reverse geocoding).

## Facts

- Endpoint: GET https://api.kadec0.xyz/v1/geocode
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-kadec0-xyz-geocoding-reverse-geocoding-c300d896
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U4Jj7-dHTIQshcWlFspGY

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 api-kadec0-xyz-geocoding-reverse-geocoding-c300d896
```

Example prompt: What are the latitude and longitude coordinates for 1600 Pennsylvania Avenue NW, Washington DC? Return up to 3 results.

## When to prefer this

Use this endpoint when you need a simple, pay-per-call geocoding or reverse geocoding lookup via the x402 micropayment protocol without requiring API key registration. Suitable for agents that need ad-hoc coordinate resolution or address lookup at low volume.

## Known failure modes

- No results found for the given address or place name
- Invalid or out-of-range latitude/longitude values for reverse geocoding
- Missing required query parameter (neither q nor lat/lon provided)
- Payment not received or x402 payment error
- Rate limit exceeded
- Server error returning 5xx status

## How this service works

Geocoding and reverse geocoding. Converts an address or place name to latitude/longitude, or coordinates back to an address.

## Output

A list of geocoded results (up to maxItems, default 5) each containing latitude, longitude, and address details corresponding to the queried address or coordinates.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "q"
       ]
      },
      {
       "required": [
        "lat",
        "lon"
       ]
      }
     ],
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "description": "address (forward geocode)"
      },
      "lat": {
       "type": "string",
       "description": "latitude (reverse geocode)"
      },
      "lon": {
       "type": "string",
       "description": "longitude (reverse geocode)"
      },
      "maxItems": {
       "type": "string",
       "default": "5"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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