U.S. address geocoding (forward + reverse, Census Bureau)
address_geocode[PAID — 0.008 USDC on Base via x402] Forward + reverse U.S. geocoding built entirely on the U.S. Census Bureau's free, keyless Geocoder API. Body { address (or q, an alias for compatibility with the leading geocoding comparable) } resolves a free-text U.S. street address to matched coordinates; { lat, lon } resolves coordinates to the containing state/county/tract/block/CBSA Census geographies. Also returns a count/items[] alias in that comparable's field-name shape. U.S. coverage only, cached 30min per query. $0.008 USDC on Base, paid via x402 by the calling agent's own wallet. Call with no payment_header first to receive the payment requirements; your own wallet pays, never this server's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Alias for address (compatibility with the leading geocoding comparable's param name). | |
| lat | No | Latitude for reverse geocoding (requires lon). Mutually exclusive with address. | |
| lon | No | Longitude for reverse geocoding (requires lat). Mutually exclusive with address. | |
| address | No | Free-text U.S. street address for forward geocoding, e.g. '4600 Silver Hill Rd, Washington, DC 20233'. Mutually exclusive with lat/lon. | |
| payment_header | No | Optional. Omit on your first call to receive the x402 payment challenge for free. After your own wallet/x402 client signs against that challenge, call this same tool again with the SAME business arguments plus this field set to the header your x402 client produced (typically { name: "PAYMENT-SIGNATURE", value: "<base64 payload>" }). This server never holds a wallet and never pays on your behalf. |