Skip to main content

Get all by Address

GET 

/ens/v1/subdomain/address

Retrieves all subnames associated with an address

Request

Query Parameters

    address stringrequired

    The address of the subdomain

    Example: 0xb965a5f3a0fC18D84E68883ccAd508445a7917A8
    chainId numberrequired

    Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)

    Example: 11155111
    coinType number

    The coin type of the address

    Example: 60
    isClaimed boolean

    if true, will return claimed subdomain, if false, will return unclaimed subdomain, if not provided, will return all subdomains

    Example: true
    ensDomains string[]

    Array of ensDomains to filter the subnames by

    Example: [jan.eth]

Responses

The Subname was fetched successfully.

Schema
    statusCode numberrequired

    The status code of the response.

    result objectrequired
    data objectrequired
    id stringrequired
    username stringrequired
    data objectrequired
    id stringrequired
    contentHash stringrequired
    addresses string[]required
    textRecords string[]required
    subdomainId stringrequired
    ensId stringrequired
    subname stringrequired
    isClaimed booleanrequired
    claimedAt date-timerequired
    error stringrequired

    Null if no error occurred, otherwise the error message.

Loading...