Aller au contenu
GET /v1/meta

Spec & dataset stats

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/timezones-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}