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.
curl --request GET \
--url 'https://beaconcha.in/api/v1/ens/lookup/{domain}?apikey='{
"status": "OK",
"data": {
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"domain": "vitalik.eth"
}
}domain can either be an ens name or an Etherum address
"vitalik.eth"
Was this page helpful?