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.

Name Type Required Description
name string yes Domain name, Unicode or Punycode.
Status Type Description
200 IdnResult Both representations
400 object Error
Field Type Required Description
api string no
input string no
ascii string no Punycode (ASCII) form
unicode string no Unicode form
Terminal-Fenster
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.