Skip to main content
GET
/
api
/
v1
/
ens
/
lookup
/
{domain}
Resolve ens name or address
curl --request GET \
  --url 'https://beaconcha.in/api/v1/ens/lookup/{domain}?apikey='
{
  "status": "OK",
  "data": {
    "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "domain": "vitalik.eth"
  }
}

Authorizations

apikey
string
query
required

Path Parameters

domain
string
required

domain can either be an ens name or an Etherum address

Example:

"vitalik.eth"

Response

OK

Standard success envelope used by all API endpoints.

status
enum<string>

HTTP-independent status of the API operation. For successful responses this is always "OK".

Available options:
OK
data
object

Response payload specific to the endpoint.