# OpenClaw Geocode API

> OpenClaw Geocode API is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Converts an address or place name into geographic coordinates via a paid x402 endpoint

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/geocode?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openclaw-geocode-api-759545da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MAMjvIhYWU-_o_yGMwJub

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 openclaw-geocode-api-759545da
```

Example prompt: Can you geocode the address '1600 Pennsylvania Avenue NW, Washington DC' and give me the coordinates?

## When to prefer this

Choose this endpoint when you need geocoding via a micropayment-gated x402 API and are already operating within the x402/EIP-3009 payment infrastructure. It is appropriate for agents that can autonomously handle HTTP 402 payment challenges and need to resolve addresses to coordinates at $0.01 USDC per call. Avoid if you need free-tier geocoding, batch processing, or are not set up to handle x402 payment flows.

## Known failure modes

- HTTP 402 returned when payment is not provided or payment verification fails — response includes EIP-3009 payment extras
- Missing required 'q' query parameter returns an error
- Invalid or unrecognizable address/place name may return empty or null coordinates
- Service only works through the OpenX402 facilitator; other facilitators will not be accepted
- Network or upstream geocoding provider downtime may cause failures

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

Returns a JSON object with geocoding results for the queried address or place name, including structured location data. The example response shape includes a SKU identifier ('geocode'), a title, and price confirmation alongside the coordinate payload. Requires a $0.01 USDC payment via the x402/EIP-3009 protocol to receive the actual result rather than an HTTP 402 response.

## 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",
     "properties": {
      "q": {
       "type": "string",
       "description": "Address or place name to geocode"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "inputSchema": {
   "type": "object",
   "required": [
    "type",
    "properties"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "object"
    },
    "required": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "properties": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "geocode",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.01",
  "title": "Geocode"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openclaw-geocode-api-759545da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
