Name icon

Name

Interact with Name API

Domain → Get Auth Code For Domain

AI-generated

Summary

Retrieves the transfer authorization code (EPP code) for a specified domain name.

Inputs

  • domainName (required) — Filters domains by exact domain name or wildcard.
  • requestOptions — Configuration for batching, SSL handling, proxy, and timeout.

Output shape

a single record containing the EPP code and domain details

The operation returns the domain's transfer authorization code, which is required for transferring the domain to another registrar.

Examples

Example 1: Retrieve the EPP code for a specific domain to initiate a transfer.

Set 'domainName' to the target domain (e.g., 'example.com').

Links

Discussion