Skip to content

IDN/Punycode conversion

GET /api/v1/idn/{name}

Converts a domain name between Unicode and ASCII (Punycode) form, in both directions. Pure conversion, no network access and no rate limit.

NameTypeRequiredDescription
namestringyesDomain name, Unicode or Punycode.
StatusTypeDescription
200IdnResultBoth representations
400objectError
FieldTypeRequiredDescription
apistringno-
inputstringno-
asciistringnoPunycode (ASCII) form
unicodestringnoUnicode form
Terminal window
curl -X GET "https://dns-doctor.com/api/v1/idn/<name>" \
-H "Authorization: Bearer $REGFISH_API_KEY"

Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.