ZNS Connect Name Service
AppWeb SiteTwitter DiscordLink3
  • 🔰Welcome
  • â„šī¸Introduction
  • 💹Tokenomics and Revenue
  • đŸ›Ŗī¸Roadmap
  • đŸ’ŧPartners
  • USER GUIDE
    • 👨‍đŸĢGuide to ZNS Application
    • 🎁ZNS Gift Cards
    • 🎨NFT Marketplaces
    • đŸĻŠZNS on MetaMask Snap
      • đŸĢKnowledge Base
      • ⏊General FAQ
  • PROGRAMS
    • đŸ”ŖZNS Referral Program
    • Human Identity Pass
    • 🎓ZNS Grant Program
  • Developer Guide
    • âš’ī¸What we build?
    • âžĄī¸ZNS SDK
    • âžĄī¸ZNS API
    • âžĄī¸ZNS Subgraph
    • âžĄī¸ZNS Registration Integration
    • â›“ī¸ZNS Contract Address
  • MEDIA TOOLS
    • 📃Pitch Deck
    • 👾One Pager | ZNS
    • 📜Whitepaper
    • 📖Brand Book of ZNS
    • 🔗All links
  • LEGAL
    • â†˜ī¸Terms of Use
    • â†˜ī¸Refund Policy
    • â†˜ī¸Privacy Policy
    • đŸ•´ī¸Audit by Solidproof
  • LINKS
    • Website
    • Application
    • Twitter
    • Discord
    • Telegram
    • All Links
Powered by GitBook
On this page
  • Base URL: https://zns.bio/api
  • 1. Resolve Domain
  • 2. Resolve Address
  • KiloEx Platform from Binance Labs
  • The Trailblazers platform from Taiko Team

Was this helpful?

  1. Developer Guide

âžĄī¸ZNS API

All the endpoints return a JSON encoded object.

Base URL: https://zns.bio/api

1. Resolve Domain

Endpoint:

GET
/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:

GET
zns.bio/api/resolveDomain?chain=137&domain=haodev007

Response:

{
  "code": 200,
  "address": "0x181EB6D5D3fD8FbACcb422237197826c6ac70232"
}

2. Resolve Address

Endpoint:

GET
/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:

GET
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

PreviousZNS SDKNextZNS Subgraph

Last updated 7 months ago

Was this helpful?

LogoNext generation of user-friendly perpetual DEX on BNB Chain and opBNB. Binance labs Investment. Airdrop going on!Next generation of user-friendly perpetual DEX on BNB Chain and opBNB. Binance labs Investment. Airdrop going on!
KiloEx integration of ZNS API
https://trailblazers.taiko.xyz/trailblazers.taiko.xyz
API integration of ZNS Taiko to Trailblazers portal
KiloEx integration of ZNS Rest API
Link your wallet to the Trailblazers website to update your profile with your new domain names
Page cover image