The Resolution Service provides APIs for resolving domain metadata and records from multiple blockchain and naming services. The service currently supports the following naming services:
Unstoppable Domain's UNS and CNS with TLDs: .x, .polygon, .nft, .crypto, .blockchain, .bitcoin, .dao, .888, .wallet, .binanceus, .hi, .klever, .kresus, .anime, .manga, .go, .zil
Ethereum Naming Service - ENS with TLDs: .eth
Get Records for a Domain
Note: The API should be used in a backend system. If you need the data in client apps, please build a proxy backend to hide the API key.
{- "meta": {
- "resolver": "string",
- "blockchain": "string",
- "networkId": 1,
- "registry": "string",
- "type": "Uns",
- "customMeta": { },
- "domain": "string",
- "namehash": "string",
- "tokenId": "string",
- "owner": "string",
- "reverse": true
}, - "records": { }
}
Get Records for Multiple Domains
The API only supports Unstoppable Domains' naming services for backward compatibility. A new API version is coming soon for other naming services
Unstoppable Domain's UNS and CNS with TLDs: .x, .polygon, .nft, .crypto, .blockchain, .bitcoin, .dao, .888, .wallet, .binanceus, .hi, .klever, .kresus, .anime, .manga, .go, .zil
Unstoppable Domain's Zilliqa with TLDs: zil
object See this list for all the resolution keys supported | |
object Wallet addresses of the owners of domains | |
object Domain ending supported such as | |
sortBy | string Sort key to specify how the returned domain list is sorted |
sortDirection | string Sort order of the returned domain list |
startingAfter | string [ 1 .. 200 ] Query offset to skip a number of record, example: 100 |
perPage | number Number of domains returned in the list, example: 50 |
Successful response
{- "data": [
- {
- "meta": {
- "resolver": "string",
- "blockchain": "string",
- "networkId": 1,
- "registry": "string",
- "type": "Uns",
- "customMeta": { },
- "domain": "string",
- "namehash": "string",
- "tokenId": "string",
- "owner": "string",
- "reverse": true
}, - "records": { }
}
], - "meta": { }
}
Get Domain Transfer Events
Note: The API should be used in a backend system. If you need the data in client apps, please build a proxy backend to hide the API key.
Successful response
{- "data": [
- {
- "domain": "string",
- "from": "string",
- "to": "string",
- "networkId": 0,
- "blockNumber": 0,
- "blockchain": "string"
}
]
}
Get Records for Multiple Domains
It's recommended to use this API on different naming services as they support different record keys
Unstoppable Domain's UNS and CNS with TLDs:
.x, .polygon, .nft, .crypto, .blockchain, .bitcoin, .dao, .888, .wallet, .binanceus, .hi, .klever, .kresus, .anime, .manga, .go, .zil
See this list for all the resolution keys supported
Ethereum Naming Service - ENS with TLDs:
.eth
See Ens' document for all the resolution keys supported
Successful response
{- "data": [
- {
- "domain": "string",
- "records": { }
}
]
}
Get Reverse Record for an Address
Note: The API should be used in a backend system. If you need the data in client apps, please build a proxy backend to hide the API key.
{- "data": [
- {
- "meta": {
- "resolver": "string",
- "blockchain": "string",
- "networkId": 1,
- "registry": "string",
- "type": "Uns",
- "customMeta": { },
- "domain": "string",
- "namehash": "string",
- "tokenId": "string",
- "owner": "string",
- "reverse": true
}, - "records": { }
}
]
}
Get Records for Multiple Domains
The API only supports Unstoppable Domains' naming services for backward compatibility. A new API version is coming soon for other naming services
Unstoppable Domain's UNS and CNS with TLDs: .x, .polygon, .nft, .crypto, .blockchain, .bitcoin, .dao, .888, .wallet, .binanceus, .hi, .klever, .kresus, .anime, .manga, .go, .zil
Unstoppable Domain's Zilliqa with TLDs: zil
object See this list for all the resolution keys supported | |
object Wallet addresses of the owners of domains | |
object Domain ending supported such as | |
sortBy | string Sort key to specify how the returned domain list is sorted |
sortDirection | string Sort order of the returned domain list |
startingAfter | string Query offset to skip a number of record, example: 100 |
perPage | number Number of domains returned in the list, example: 50 |
BulkReverseQueryParams
{- "addresses": [
- "string"
]
}
{- "data": [
- {
- "meta": {
- "resolver": "string",
- "blockchain": "string",
- "networkId": 1,
- "registry": "string",
- "type": "Uns",
- "customMeta": { },
- "domain": "string",
- "namehash": "string",
- "tokenId": "string",
- "owner": "string",
- "reverse": true
}, - "records": { }
}
], - "meta": { }
}
Ethereum RPC provider to interact with Unstoppable Domain Smart Contract
This endpoint is meant to be use by Unstoppable Domains's SDKs to query directly onchain data
null
{- "jsonrpc": "string",
- "id": 0,
- "data": "string",
- "error": "string"
}
Polygon RPC provider to interact with Unstoppable Domain Smart Contract
This endpoint is meant to be use by Unstoppable Domains's SDKs to query directly onchain data
null
{- "jsonrpc": "string",
- "id": 0,
- "data": "string",
- "error": "string"
}
{- "blockchain": {
- "ETH": {
- "isUpToDate": true,
- "latestNetworkBlock": 0,
- "latestMirroredBlock": 0,
- "networkId": 0,
- "acceptableDelayInBlocks": 0
}, - "MATIC": {
- "isUpToDate": true,
- "latestNetworkBlock": 0,
- "latestMirroredBlock": 0,
- "networkId": 0,
- "acceptableDelayInBlocks": 0
}, - "ZIL": {
- "isUpToDate": true,
- "latestNetworkBlock": 0,
- "latestMirroredBlock": 0,
- "networkId": 0,
- "acceptableDelayInBlocks": 0
}, - "ETH-ENS": {
- "isUpToDate": true,
- "latestNetworkBlock": 0,
- "latestMirroredBlock": 0,
- "networkId": 0,
- "acceptableDelayInBlocks": 0
}
}
}
Get Domains by Address
Note: The API should be used in a backend system. If you need the data in client apps, please build a proxy backend to hide the API key.
Successful response
{- "data": [
- {
- "meta": {
- "domain": "brad.x",
- "tokenId": "43203879674324136535296999221055898360621456401904282749851613586946753348449",
- "namehash": "0x5f84878237331ae6942710e286a1fa3f34ff8ed38ce8b323cc63b99a6598c361",
- "blockchain": "MATIC",
- "networkId": 137,
- "owner": "0x8aad44321a86b170879d7a244c1e8d360c99dda8",
- "resolver": "0xa9a6a3626993d487d2dbda3173cf58ca1a9d9e9f",
- "registry": "0xa9a6a3626993d487d2dbda3173cf58ca1a9d9e9f"
}, - "records": {
- "ipfs.html.value": "QmQ7tiF4xfCUpZR4RZHoupLL34otKScPenvhNTz4hTFW3J"
}
}
], - "next": "/owners/0x8aad44321a86b170879d7a244c1e8d360c99dda8/domains?cursor=123"
}