Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.0

ENS Lookup by Address

GEThttps://deep-index.moralis.io/api/v2/resolve/:address/reverse

Reverse resolve a given ETH address to its ENS domain.

PATH PARAMS
addressstringrequired
The address to be resolved
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.resolve.resolveAddress({
"address": "0x26fcbd3afebbe28d0a8684f790c48368d21665b5"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"name": "Vitalik.eth"
}