/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/punycode-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/punycode-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/punycode-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/punycode-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"auth": "none upstream; this gateway requires x-api-key",
"name": "Punycode / IDN API",
"note": "Convert internationalized domain names between Unicode and Punycode (ASCII, xn--). /v1/encode?domain=münchen.de → xn--mnchen-3ya.de ; /v1/decode?domain=xn--mnchen-3ya.de → münchen.de ; /v1/url?url= converts a full URL's host. Handles accents, non-Latin scripts and emoji labels. Useful for IDN domains, email/URL validation and homograph awareness. Instant, nothing stored.",
"source": "Local IDNA conversion (punycode) — no key, no upstream",
"endpoints": 4
},
"meta": {
"timestamp": "2026-06-02T16:51:55.008Z",
"request_id": "42f38dc5-3c0d-47ba-b04d-872bb46b19ad"
},
"status": "ok",
"message": "Meta",
"success": true
}