Skip to main content

GET /api/ens/resolve/{name}

Resolve ENS to Address

Simple ENS name to Ethereum address resolution.

Use Case​

Quick address lookup when you don't need full profile data.

Response​

Just the resolved address - fast and lightweight.

Pricing​

  • $0.005 per request

Endpoint​

GET https://api.web3identity.com/api/ens/resolve/{name}

Parameters​

NameInTypeRequiredDescription
namepathstringâś…ENS name

Example Request​

curl -s "https://api.web3identity.com/api/ens/resolve/:name" | jq

Responses​

200 ENS name resolved to address​

{
"name": "vitalik.eth",
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"cached": false,
"cachedAt": null
}

400 Bad Request - Invalid parameters or malformed request​

{
"error": "Invalid parameter format",
"code": "INVALID_PARAMETER"
}

402 Payment Required - Free tier exhausted​

{
"example": "response"
}

404 ENS name not found​

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec