Documentation menu
timezone
GET/timezone
API key required, sent as Authorization: Bearer snk_… or ?api_key=snk_….
Call it
bash
curl -fsS -X GET "https://api.mapmap.ai/timezone?lat=…&lon=…" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Required | Description |
|---|---|---|---|
| lat | query | yes | Latitude in decimal degrees |
| lon | query | yes | Longitude in decimal degrees |
| timestamp | query | no | RFC 3339 or Unix seconds; defaults to now |
Responses
200
{tzid, utc_offset_s, dst_offset_s, abbreviation, timestamp}. tzid and every derived field are null together when no loaded zone covers the point: an honest "no data", never a guess400Invalid request
401Missing or invalid API key
429Quota or rate limit exceeded
501Timezone lookup not enabled (SN_TIMEZONE_SQLITE unset or failed to load)
Error bodies follow the shared problem model documented on API conventions.
Generated from https://api.mapmap.ai/openapi.json on 2026-09-17 · operationId get_timezone