/v1/zone
Zone detail with current offset/DST/local time
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/timezones-api/v1/zone" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/timezones-api/v1/zone", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/timezones-api/v1/zone");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/timezones-api/v1/zone",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"zone": {
"lat": 35.6544,
"long": 139.7447,
"name": "Asia/Tokyo",
"is_dst": false,
"comments": "Eyre Bird Observatory",
"countries": [
"JP",
"AU"
],
"local_time": "2026-06-09T03:25:14",
"utc_offset": "+09:00",
"abbreviation": "GMT+9",
"observes_dst": false,
"offset_minutes": 540
}
},
"meta": {
"timestamp": "2026-06-08T18:25:14.024Z",
"request_id": "56aac631-1d40-439a-87f9-59997eba2add"
},
"status": "ok",
"message": "Zone retrieved successfully",
"success": true
}