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

Unstoppable Lookup by Address

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

Resolve a specific address to its Unstoppable domain

PATH PARAMS
addressstringrequired
The address to be resolved
Responses
API KEY
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import fetch from 'node-fetch';

const options = {
method: 'GET',
headers: {
accept: 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
};

fetch('https://deep-index.moralis.io/api/v2/resolve/0x94ef5300cbc0aa600a821ccbc561b057e456ab23/domain', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
{
"name": "sandy.nft"
}