# Relaystation Reverse Geocode

> Relaystation Reverse Geocode is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts a WGS-84 longitude/latitude coordinate pair into a nearest street address via reverse geocoding.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/location/reverse-geocode
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-reverse-geocode-217cbf29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ubEuB9A5TFANj6mYM2zQm

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 relaystation-reverse-geocode-217cbf29 -d '<json body>'
```

Example prompt: What street address is at coordinates longitude -73.9857, latitude 40.7484? Give me up to 3 results within 500 meters.

## When to prefer this

Choose this endpoint when you need a low-cost, pay-per-call reverse geocoding lookup via x402 micropayment without a subscription — ideal for AI agents that need on-demand coordinate-to-address resolution with automatic credit handling at $0.01 USDC per call.

## Known failure modes

- Invalid or out-of-range coordinates (e.g. latitude > 90) result in a validation error
- No address found within the specified radius returns an empty results array
- Incorrect array order (latitude before longitude instead of [longitude, latitude]) causes wrong location lookup
- Exceeding maxResults limit of 20 returns an error
- Missing required position field returns a schema validation error

## How this service works

$0.005/lookup. Reverse-geocode coordinates to the nearest address — lat/lng in, street address out. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns one or more address records nearest to the provided coordinates, each including a street address and associated location details, ranked by proximity within the specified radius.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "position": {
       "type": "array",
       "items": {
        "type": "number"
       },
       "minItems": 2,
       "maxItems": 2,
       "description": "[longitude, latitude] (WGS-84)."
      },
      "maxResults": {
       "type": "integer",
       "minimum": 1,
       "maximum": 20
      },
      "radiusMeters": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100000
      },
      "language": {
       "type": "string"
      }
     }
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

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