Return the US Census Bureau geographies containing a latitude/longitude — state, county, c
Return the US Census Bureau geographies containing a latitude/longitude — state, county, census tract, block group, census block, incorporated place, congressional district and ZIP Code Tabulation Area — each with its FIPS or GEOID. The standard way to attach official US statistical geography to a point. Use when: Which county and census tract is this coordinate in?
3000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-27
updated
Provider
api.eckari.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9d6b6fdB04040a55d58B24ff4C90C08cf6083C8f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"lat": 38.8977,
"lon": -77.0365
},
"type": "http"
},
"output": {
"example": {
"data": {
"benchmark": "Public_AR_Current",
"block": {
"geoid": "110019800001034"
},
"block_group": {
"geoid": "110019800001"
},
"congressional_district": {
"geoid": "1198",
"name": "Delegate District (at Large)"
},
"county": {
"fips": "11001",
"name": "District of Columbia"
},
"place": {
"geoid": "1150000",
"name": "Washington city"
},
"query": {
"lat": 38.8977,
"lon": -77.0365
},
"state": {
"fips": "11",
"name": "District of Columbia",
"usps": "DC"
},
"tract": {
"geoid": "11001980000",
"name": "Census Tract 9800"
},
"vintage": "Current_Current",
"zcta": {
"geoid": "20006"
}
},
"meta": {
"capability": "location.us.geographies",
"freshness": "live",
"source": "census_geocoder",
"version": "2.0.0"
}
},
"type": "json"
}
},
"routeTemplate": "/v1/locations/us/geographies",
"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": {
"lat": {
"description": "Latitude in decimal degrees (WGS 84), e.g. 38.8977.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in decimal degrees (WGS 84), negative in the western hemisphere, e.g. -77.0365.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"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"
}
}
}Use it
curl
curl "https://api.eckari.com/v1/locations/us/geographies" # -> 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.eckari.com/v1/locations/us/geographies");
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.eckari.com/v1/locations/us/geographies")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4318.json, and this resource appears in /discovery/resources and /discovery/search.