GET
/
secure-primary-name
/
{network_name}
/
{address}

Path Parameters

address
string
required
network_name
enum<string>
required
Available options:
mainnet,
sepolia

Response

200 - application/json

Reverse lookup result.

primary_name_status
enum<string>
required

The status of a secure primary ENS name lookup performed by NameGuard.

  • normalized: The ENS primary name was found and it is normalized.
  • no_primary_name: The ENS primary name was not found.
  • unnormalized: The ENS primary name was found, but it is not normalized.
Available options:
normalized,
no_primary_name,
unnormalized
impersonation_status
enum<string> | null
required

Impersonation status of the primary_name.

  • null if primary_name is null
Available options:
unlikely,
potential
primary_name
string | null
required

Primary ENS name for the Ethereum address.

  • null if primary_name_status is any value except normalized
display_name
string
required

ENS beautified version of primary_name.

  • if primary_name is null then provides a fallback display_name of "Unnamed [first four hex digits of Ethereum address]", e.g. "Unnamed c2a6"
nameguard_result
object | null
required

NameGuard report for the primary_name.

  • null if primary_name_status is no_primary_name (primary name is not found)