Zum Inhalt springen
GET /v1/meta

Registry date, totals & type breakdown

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/bcp47-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "/v1/parse validates & decomposes a full language tag (e.g. zh-Hant-TW). Types: language, extlang, script, region, variant, grandfathered, redundant.",
        "total": 9295,
        "types": [
            {
                "type": "language",
                "count": 8275
            },
            {
                "type": "region",
                "count": 305
            },
            {
                "type": "extlang",
                "count": 258
            },
            {
                "type": "script",
                "count": 225
            },
            {
                "type": "variant",
                "count": 139
            },
            {
                "type": "redundant",
                "count": 67
            },
            {
                "type": "grandfathered",
                "count": 26
            }
        ],
        "fields": [
            "type",
            "subtag",
            "descriptions",
            "added",
            "deprecated",
            "preferred_value",
            "suppress_script",
            "prefix",
            "scope",
            "macrolanguage"
        ],
        "source": "IANA Language Subtag Registry (BCP 47)",
        "file_date": "2026-05-05"
    },
    "meta": {
        "timestamp": "2026-05-31T04:30:15.904Z",
        "request_id": "a7e2ff2d-4746-4feb-b9b6-257be06f3bca"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}