Zum Inhalt springen
GET /v1/meta

Types & example locales

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Get the localized display name of a code in any language — countries/regions, languages, currencies, scripts and calendars. /v1/name?code=US&type=region&locale=fr returns 'États-Unis'; code=de&type=language&locale=fr returns 'allemand'; code=EUR&type=currency returns 'Euro'. /v1/list?type=region&locale=ja returns every country name localized (e.g. for a Japanese country dropdown), sorted in that locale's collation; works for region, language and currency (and calendar/script). Powered by the platform's full ICU data (Intl.DisplayNames), computed locally with no network calls. Ideal for building localized country/language/currency pickers, internationalised forms and multilingual UIs. A localized-names resolver — distinct from country reference data in English (countries), number/currency formatting (numberformat) and locale date formatting (datelocale). No key, no cache.",
        "types": [
            "region",
            "language",
            "currency",
            "script",
            "calendar",
            "dateTimeField"
        ],
        "endpoints": [
            "/v1/name",
            "/v1/list",
            "/v1/meta"
        ],
        "example_locales": [
            "en",
            "de",
            "fr",
            "es",
            "ja",
            "ar",
            "pt-BR",
            "zh"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:41.334Z",
        "request_id": "64787fd9-691a-40df-a3ff-925985511b8f"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}