{"id":"https://www.namesilo.com/questions/developers-and-investors/should-software-normalize-internationalized-domains-before-api-requests","url":"https://www.namesilo.com/questions/developers-and-investors/should-software-normalize-internationalized-domains-before-api-requests","title":"Should software normalize internationalized domains before API requests?","description":"Follow the registrar's documented input format and use a standards-aware domain library when converting between displayed internationalized labels and…","language":"en","category":"developers-and-investors","datePublished":"2026-11-17","dateModified":"2026-11-19","answer":"It depends on your circumstances and the service’s rules. Follow the registrar's documented input format and use a standards-aware domain library when converting between displayed internationalized labels and their ASCII-compatible form. Validate the exact extension and label after normalization. Do not apply arbitrary character removal or transliteration, which can silently turn a requested domain into a different purchasable name.","body":"Should software normalize internationalized domains before API requests?\n\nIt depends on your circumstances and the service’s rules. Follow the registrar's documented input format and use a standards-aware domain library when converting between displayed internationalized labels and their ASCII-compatible form. Validate the exact extension and label after normalization. Do not apply arbitrary character removal or transliteration, which can silently turn a requested domain into a different purchasable name.\n\nDisplay and purchase identifiers must stay aligned\n\nShow both representations when review requires it. Preserve the user's intended name while rejecting invalid or unsupported input rather than guessing a replacement.\n\nYour next steps\n\nCheck documented input encoding\n\nNormalize with appropriate standards\n\nConfirm the exact name before purchase\n\nScale with clear controls\n\nNameSilo publishes an API reference and a public MCP interface. Before automating purchases or DNS changes, verify the supported method, permissions, price, and result. A portfolio also needs independent inventory and a deliberate renewal policy.\n\nAccess: Credentials kept in a secure backend.\n\nSafety: Approval rules, budgets, and controlled testing.\n\nReliability: Status checks before retrying purchases.\n\nVisibility: Per-domain results, audit logs, and expiration tracking.","steps":["Check documented input encoding","Normalize with appropriate standards","Confirm the exact name before purchase"],"faqs":[],"sources":[{"name":"NameSilo API reference","url":"https://www.namesilo.com/api-reference"},{"name":"IETF RFC 5890: Internationalized Domain Names","url":"https://www.rfc-editor.org/rfc/rfc5890"}],"json":"https://www.namesilo.com/questions/data/should-software-normalize-internationalized-domains-before-api-requests.json","markdown":"https://www.namesilo.com/questions/data/should-software-normalize-internationalized-domains-before-api-requests.md"}