API Docs
The Punycode.tools API is structured for easy integration. Endpoints below describe the planned REST surface.
Punycode conversion
POST /api/analyze
Content-Type: application/json
{ "input": "xn--pple-43d.com" }{
"input": "xn--pple-43d.com",
"unicode": "аpple.com",
"ascii": "xn--pple-43d.com",
"risk": "dangerous",
"riskScore": 65,
"scripts": ["Cyrillic", "Latin"],
"confusables": [{ "char": "а", "codePoint": "U+0430" }]
}Encode / Decode
POST /api/encode { "input": "münchen.de" }
POST /api/decode { "input": "xn--mnchen-3ya.de" }Bulk
POST /api/bulk
{ "domains": ["münchen.de", "аррӏе.com", "google.com"] }The current build runs all Punycode conversion locally in your browser. Wire these endpoints to a Node.js or serverless backend whenever you need server-side processing.