# Datakoot Geocode — US Address to Coordinates

> Datakoot Geocode — US Address to Coordinates is a paid API for AI agents from x402.datakoot.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Converts a US street address or city name into latitude/longitude coordinates using the US Census Bureau geocoder

## Facts

- Endpoint: POST https://x402.datakoot.com/api/geocode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datakoot-geocode-us-address-to-coordinates-b6ea0162
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ZM85wJiB4HXUCLyNA253

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 datakoot-geocode-us-address-to-coordinates-b6ea0162 -d '<json body>'
```

Example prompt: What are the latitude and longitude coordinates for 1600 Pennsylvania Ave NW, Washington DC?

## When to prefer this

Choose this endpoint when you need free or very low-cost ($0.002) geocoding of US addresses or cities using authoritative public-domain Census Bureau data, and you want lat/lon coordinates without a commercial API key. Prefer this over Google Maps or Mapbox geocoders when working in a crypto-native x402 payment context or when auditability of the data source matters.

## Known failure modes

- No matches found if the address is outside the US or malformed
- Ambiguous addresses may return multiple matches with varying confidence
- Non-US addresses will not be resolved (US-only coverage)
- Empty matches array returned for unrecognized addresses
- Payment failure via x402 if insufficient USDC balance on Base

## How this service works

48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.

## Output

A JSON object containing the original query string, the data source (US Census Bureau geocoder), and an array of matches each with latitude, longitude, the normalized matched address string, and a matched_by field indicating whether it was matched by street address or city.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string",
   "description": "A US street address ('1600 Pennsylvania Ave NW, Washington DC') or a city or town ('Chicago, IL', 'Springdale, Arkansas')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "1600 Pennsylvania Ave NW, Washington, DC",
  "source": "US Census Bureau geocoder (public domain)",
  "matches": [
   {
    "lat": 38.898702605245,
    "lon": -77.035189204737,
    "matched_address": "1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500"
   }
  ],
  "matched_by": "street_address"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-geocode-us-address-to-coordinates-b6ea0162/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.datakoot.com](https://www.zero.xyz/host/x402.datakoot.com/llms.txt)
