Naar de inhoud
GET /v1/meta

Spec & dataset stats

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/timezones-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/timezones-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/timezones-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/timezones-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "service": "timezones-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/zone": "Zone detail incl. current offset/DST/local time (name=, e.g. Asia/Tokyo).",
            "GET /v1/nearby": "Nearest IANA zones to a coordinate (lat=, lon=, limit=).",
            "GET /v1/search": "Search zones by name (q=, min 2 chars).",
            "GET /v1/country": "All zones for an ISO country code (code=, e.g. US)."
        },
        "description": "Every IANA time zone with coordinates, country, and the LIVE UTC offset, abbreviation, DST status and local time (computed from the system ICU tz database). Look up a zone, list a country's zones, search by name, or find the nearest zones to a coordinate. No key.",
        "total_zones": 418,
        "total_countries": 247
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:14.235Z",
        "request_id": "799e82ea-17fd-4a7b-a9a9-de3af613554b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}