Skip to content

Domain By Name

Load a domain by interpreted name, including profile information.

Run in ENSAdmin
GraphQL
query DomainByName($name: InterpretedName!) {
domain(by: { name: $name }) {
canonical { name { beautified } }
owner { address }
resolve {
profile {
description
addresses {
ethereum
}
}
}
}
}
Variables
{
"name": "vitalik.eth"
}
Output
{
"data": {
"domain": {
"canonical": {
"name": {
"beautified": "vitalik.eth"
}
},
"owner": {
"address": "0x220866b1a2219f40e72f5c628b65d54268ca3a9d"
},
"resolve": {
"profile": {
"description": "mi pinxe lo crino tcati",
"addresses": {
"ethereum": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
}
}
}
}

Output matches a point in time snapshot GraphQL response from our alpha ENSNode instance. Live output depends on the configuration of your ENSNode instance and ENS state updates.

Back to Examples