Skip to main content
GET
Resolve an ENS Name to an Address
Ethereum
This endpoint is throttled to 1 call/second on the Free API tier.
Results are cached for up to 5 minutes. Onchain name changes reflect automatically after this period.
Names that require offchain resolution (EIP-3668: CCIP Read and ENSIP-10: Wildcard Resolution), such as jesse.base.eth, are not supported.

Authorizations

apikey
string
query
required

Enter your Etherscan API key, or set one up if you don't have one.

Query Parameters

chainid
string
required

Chain ID to query, eg 1 for Ethereum from our supported chains. This endpoint is only available on Ethereum mainnet.

module
string
default:ens
required

Set to ens for this endpoint.

action
string
default:forwardresolve
required

Set to forwardresolve for this endpoint.

name
string
required

The ENS name to resolve, such as etherscan.eth or gm.etherscan.eth.

Response

200 - application/json

Successful response

status
string

1 if the request returned data, 0 otherwise. A status of 0 can indicate an error or a valid request that returned no records.

message
string

OK on success, otherwise an error description such as NOTOK. See common error messages.

result
string

The resolved address on success.