Chain
ENS name <-> address resolution API
Resolve an ENS name to its address, or reverse-resolve an address to its ENS name. Answers queries like 'what address is vitalik.eth', 'resolve this ENS name', 'what is the ENS name for this wallet'.
Price$0.01per request
MethodPOST
Route/v1/chain/ens-resolve
StatusLive
MIME typeapplication/json
Rate limit90/minute
Cache300s public
chainensresolvenameaddressreverse-resolutionethereum
API URL
Integration docshttps://x402.hexl.dev/v1/chain/ens-resolveExample request
{
"name": "vitalik.eth"
}Example response
{
"query": "vitalik.eth",
"name": "vitalik.eth",
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"resolved": true
}Input schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"examples": [
"vitalik.eth"
]
},
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
}
}Output schema
{
"type": "object",
"required": [
"query",
"resolved"
],
"properties": {
"query": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"address": {
"type": [
"string",
"null"
]
},
"resolved": {
"type": "boolean"
}
}
}