You can call this operation to query the wallet address associated with an Ethereum name service (ENS) domain name.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes QueryEnsAssociation

The operation that you want to perform. Set the value to QueryEnsAssociation.

DomainName String Yes

The domain name with which the Ethereum wallet address is associated.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value:en

UserClientIp String No

The IP address of the client used by the user to initiate the query.

Response parameters

Parameter Type Example Description
Address String 0x123456789012345678901234567890123456****

The wallet address in the ENS system.

RequestId String 3ECD5439-39A2-477D-9A19-64FCA1F77EEB

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=QueryEnsAssociation
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.