Blockchain Data · x402

Convert a one-line US street address into coordinates using the US Census Bureau Geocoder

Convert a one-line US street address into coordinates using the US Census Bureau Geocoder. Returns the standardised matched address, latitude and longitude to 6 decimal places, the TIGER/Line segment and parsed address components. Coordinates are interpolated…

by api-staging.eckari.com · discovered, not yet claimed by its owner · updated 2026-08-26

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Convert a one-line US street address into coordinates using the US Census Bureau Geocoder. Returns the standardised matched address, latitude and longitude to 6 decimal places, the TIGER/Line segment and parsed address components. Coordinates are interpolated along street address ranges, not rooftop or parcel positions. No match is a normal answer, not an error. Use when: Convert this US street address to latitude and longitude.

Tags: bazaar · payment-identifier

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/5367.json for the price and payment options.
  3. Pay. Call GET https://api-staging.eckari.com/v1/locations/us/geocode. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base Sepolia
Uptime
1 of the last 1 checks answered
Calls (30d)
2 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC30000x7c0Ba1d16322Ee426D6508a74b571Dd73A5a35DA60s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "payTo": "0x7c0Ba1d16322Ee426D6508a74b571Dd73A5a35DA",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "3000",
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "queryParams": {
          "address": "1600 Pennsylvania Ave NW, Washington, DC 20500",
          "limit": 1
        },
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "benchmark": "Public_AR_Current",
            "items": [
              {
                "address_components": {
                  "city": "WASHINGTON",
                  "from_address": "1600",
                  "pre_direction": null,
                  "pre_type": null,
                  "state": "DC",
                  "street_name": "PENNSYLVANIA",
                  "suffix_direction": "NW",
                  "suffix_type": "AVE",
                  "to_address": "1648",
                  "zip": "20500"
                },
                "lat": 38.898699,
                "lon": -77.035188,
                "matched_address": "1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500",
                "precision": "tiger_interpolated",
                "side": "L",
                "tiger_line_id": "76225813"
              }
            ],
            "page": {
              "has_more": false,
              "limit": 1,
              "next_offset": null,
              "offset": 0,
              "returned": 1,
              "total": 1
            },
            "query": {
              "address": "1600 Pennsylvania Ave NW, Washington, DC 20500"
            }
          },
          "meta": {
            "capability": "location.us.geocode",
            "freshness": "live",
            "source": "census_geocoder",
            "version": "3.0.0"
          }
        },
        "type": "json"
      }
    },
    "routeTemplate": "/v1/locations/us/geocode",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET",
                "HEAD",
                "DELETE"
              ],
              "type": "string"
            },
            "queryParams": {
              "additionalProperties": false,
              "properties": {
                "address": {
                  "description": "One-line US street address including city and state, e.g. \"1600 Pennsylvania Ave NW, Washington, DC 20500\".",
                  "maxLength": 200,
                  "minLength": 5,
                  "type": "string"
                },
                "limit": {
                  "default": 5,
                  "description": "Maximum number of candidate matches to return, in the Census Bureau's own order. page.total always reports how many the Census Bureau returned in total, so a low limit never hides an ambiguous address.",
                  "maximum": 10,
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "default": 0,
                  "description": "Zero-based index of the first candidate to return. The Census Bureau returns every match in one response, so paging is applied by Eckari over that set - pass page.next_offset to walk the remaining candidates without a second upstream lookup.",
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "payment-identifier": {
    "info": {
      "required": false
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "id": {
          "maxLength": 128,
          "minLength": 16,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "required": [
        "required"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://api-staging.eckari.com/v1/locations/us/geocode"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api-staging.eckari.com/v1/locations/us/geocode");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api-staging.eckari.com/v1/locations/us/geocode")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api-staging.eckari.com
Endpoint
https://api-staging.eckari.com/v1/locations/us/geocode
Machine-readable
/resources/5367.json