# US Census Geocoder (Keyless, x402)

> US Census Geocoder (Keyless, x402) is a paid API for AI agents from x402-v2-mint-census-geocode.vercel.app, paid per call via x402, $0.020029/call, status unknown (last checked 2026-12-03).

Geocodes US addresses using the Census Bureau's geocoder, returning coordinates and address components, billed per-call via x402 with no API key required.

## Facts

- Endpoint: POST https://x402-v2-mint-census-geocode.vercel.app/v1/census-geocode?utm_source=zero.xyz
- Price: $0.020029/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-census-geocoder-keyless-x402-e857b12f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hffr4DKAPLPG184ezwnOk

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 us-census-geocoder-keyless-x402-e857b12f -d '<json body>'
```

Example prompt: Can you geocode the address 1600 Pennsylvania Avenue NW, Washington, DC 20500 and give me the latitude and longitude?

## When to prefer this

Choose this endpoint when you need keyless, pay-per-call US address geocoding without managing Census API credentials. It is ideal for agents that geocode occasionally (no API key overhead), need authoritative US government geocoding data, or want guaranteed no-charge on failed lookups (404 = not billed). Prefer over Google Maps or similar if cost predictability, no-key setup, or US-only scope is a priority.

## Known failure modes

- Address not found — returns 404, no charge applied
- Malformed or missing address fields — returns validation error
- Rate limits or Vercel infrastructure errors — returns 5xx
- Ambiguous address with multiple potential matches — may return best-guess or no match
- Non-US addresses — not supported, will not match

## How this service works

US Census Geocoder (keyless). POST {address} one-line and/or {street,city,state,zip?}. No match → 404 not charged.

## Output

Returns a JSON object indicating success (ok: true), the skill name (census-geocode), whether the call was charged, and a summary. On a successful match, the response includes the geocoded coordinates, matched address components, and Census TIGER/Line match details. Returns a 404 (not charged) if no match is found for the given address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "zip": {
   "type": "string",
   "maxLength": 10
  },
  "city": {
   "type": "string",
   "maxLength": 100
  },
  "state": {
   "type": "string",
   "maxLength": 2
  },
  "street": {
   "type": "string",
   "maxLength": 200
  },
  "address": {
   "type": "string",
   "maxLength": 300
  },
  "benchmark": {
   "type": "string",
   "maxLength": 64
  },
  "request_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "census-geocode",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-census-geocoder-keyless-x402-e857b12f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-census-geocode.vercel.app](https://www.zero.xyz/host/x402-v2-mint-census-geocode.vercel.app/llms.txt)
