← All endpoints
api.geoprimitives.dev us geographies
https://api.geoprimitives.dev/v1/us/geographies
answers 402
Give it a longitude and latitude inside the United States and it answers with the Census FIPS codes for that point: the 2-digit state code, the 5-digit county GEOID, and the GEOID of the congressional district. Parameters go in the query string: this is a GET, there is no body. The codes are the product and the names are a courtesy. A county GEOID is the join key to essentially every geography-key
We sent a real
GET request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.01
- Network
- base
- Pay to
- 0x76A51b5Dd3729950B3b60c17f19252d221968FCe
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- GET
- Response latency
- 511 ms
- Payment options
- 1 usable of 1
- Last checked
- 2026-09-06T01:12:41.718Z (2h ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.geoprimitives.dev%2Fv1%2Fus%2Fgeographies"