ZNS API
All the endpoints return a JSON encoded object.
Base URL: https://zns.bio/api
https://zns.bio/api
1. Resolve Domain
Endpoint:
/resolveDomain?chain=<CHAIN_ID>&domain=<YOUR_DOMAIN>
Query Parameters:
Name
Type
Description
chain
Number
Chain id
domain
String
Domain to look for
Request URL Example:
zns.bio/api/resolveDomain?chain=137&domain=haodev007
Response:
{
"code": 200,
"address": "0x181EB6D5D3fD8FbACcb422237197826c6ac70232"
}
2. Resolve Address
Endpoint:
/resolveAddress?chain=<CHAIN_TLD>&address=<YOUR_ADDRESS>
Query Parameters:
Name
Type
Description
chain
Number
Chain id
address
String
Address to look for
Request URL Example:
zns.bio/api/resolveAddress?chain=137&address=0x181EB6D5D3fD8FbACcb422237197826c6ac70232
Response:
{
"code": 200,
"primaryDomain": "cyberstorm",
"userOwnedDomains": [
"cyberstorm",
"dontneedhelp",
"enemymaycry",
"residentevil"
]
}
Here is an example of partner integration
KiloEx Platform from Binance Labs

The Trailblazers platform from Taiko Team

Last updated
Was this helpful?