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
Was this page helpful?