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.2

Get Address by Unstoppable Domain

GEThttps://deep-index.moralis.io/api/v2.2/resolve/:domain

Resolve a specific Unstoppable domain to its address.

PATH PARAMS
domainstringrequired
The domain to be resolved
QUERY PARAMS
currencystring
The currency to query
Responses
API KEY
import Moralis from 'moralis';

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

const response = await Moralis.EvmApi.resolve.resolveDomain({
"currency": "eth",
"domain": "brad.crypto"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"address": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"
}