cURL
curl --request GET \ --url 'https://beaconcha.in/api/v1/ens/lookup/{domain}?apikey='
{ "status": "OK", "data": { "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "domain": "vitalik.eth" } }
Get the address for an ens name and vice versa. Returns and object with the ens name and address - if found.
domain can either be an ens name or an Etherum address
"vitalik.eth"
OK
Standard success envelope used by all API endpoints.
HTTP-independent status of the API operation. For successful responses this is always "OK".
Response payload specific to the endpoint.
Show child attributes
Ethereum address in hex format with 0x prefix
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
ENS domain name; may be empty if reverse record is not set
Was this page helpful?