Animica x402 Directory

Directory / api.geoprimitives.dev

api.geoprimitives.dev/v1/timezone

Give it a longitude and latitude and it answers with the IANA timezone identifier (America/New_York), the UTC offset in force there right now, whether daylight saving is currently in effect and by how much, the local wall-clock time, and the zone's standard offset. Pass an optional ISO 8601 `at` instant to ask about any moment between 1900 and 2100 instead of now, which is what you want when scheduling something months out across a DST boundary. Parameters go in the query string: this is a GET, there is no body. Two halves, with different vintages, and the difference matters. The offset and the DST rules come from the runtime's own timezone database and are current: a rule change reaches this endpoint when Cloudflare updates ICU, with no redeploy here. The *boundaries* come from tz_world (efele.net), CC0 1.0 and derived from VMAP0, a public-domain US government product. That map was frozen at tzdb 2016d in May 2016, and this catalog sells public-domain and permissively-licensed data only, which is why it is used rather than the current OpenStreetMap-derived alternative. What the vintage costs, measured against IANA's own coordinates for all 312 zones in zone1970.tab rather than est

Call it

# 1. Ask the endpoint what it costs (no payment, no wallet needed):
curl -i -X GET 'https://api.geoprimitives.dev/v1/timezone'

# -> HTTP/1.1 402 Payment Required
#    the response carries the price, asset and pay-to address.

# 2. Pay and retry with any x402 client:
npx x402-fetch 'https://api.geoprimitives.dev/v1/timezone'

Endpoint: https://api.geoprimitives.dev/v1/timezone. Operated by api.geoprimitives.dev, not by Animica. Price and availability were correct at the last probe on 2026-09-02 and are set by the operator, who may change them.

Other endpoints on api.geoprimitives.dev

api.geoprimitives.dev/v1/elevation

Give it a latitude and longitude and it answers with the ground elevation there in metres above NAVD88, read from the USGS 3D Elevation Program seamless DEM. Pa…

GET · $0.005

api.geoprimitives.dev/v1/geojson/validate

Validate GeoJSON against RFC 7946 and get back a structured list of problems, not a bare boolean. Checks structure, coordinate range, ring closure, ring winding…

POST · $0.005

api.geoprimitives.dev/v1/marine/depth

Give it a latitude and longitude and it answers with what the nautical chart says about the water there: the depth range of the charted depth area containing th…

GET · $0.005

api.geoprimitives.dev/v1/marine/hazards

Give it a latitude, a longitude and a radius in metres and it answers with every charted underwater rock, obstruction and wreck inside that circle, nearest firs…

GET · $0.005

api.geoprimitives.dev/v1/us/geographies

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 G…

GET · $0.01

All 6 endpoints on api.geoprimitives.dev →