Skip to content
Fourohtwo

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 sched

BaseAnswering
GEThttps://api.geoprimitives.dev/v1/timezone

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.geoprimitives.dev/v1/timezone?at=2026-07-04T16%3A00%3A00Z&lat=40.7128&lon=-74.006");
console.log(await res.json());

Example input

{
  "at": "2026-07-04T16:00:00Z",
  "lat": 40.7128,
  "lon": -74.006
}

More from geoprimitives