KNS Indexer API

API documentation for Kaspa Name Service

1. KNS Asset API

This Asset API retrieves inscribed assets owned by a specific user. If you need to display KNS assets, use KNS Asset API.

2. KNS Asset Detail API

The Asset Detail API retrieves detailed information about a specific asset by its inscription ID. The detailed information includes the below.

• Inscription Number • Asset ID • Mimetype • Asset • Owner • Creation Block Time • Status • Domain • Transaction ID • Verified

3. KNS Domain API

This Domain API resolves domains its' corresponding addresses, get asset owner by domain . If you need to resolve a domain to its corresponding address, use KNS Domain API.

4. KNS Check Domain API

KNS Check Domain API will checks domain availability before inscribing domain inscriptions.

If you're using KNS inscription tool, you must use KNS Check Domain API to verify availability.

5. KNS Profile API

KNS Profile API fetches .kas domain profile detail by inscription ID. Profile detail includes the below data. • Website • Avatar • Banner • Bio • X (Twitter) • Telegram • Discord • GitHub • Email

Important Note(Must Read):

  • If you're using both KNS Domain API and KNS Asset API, domains must be URL-encoded to correctly identify all domain names.

  • Emoji domains cannot be validated using string length, as it may result in errors. Please refer to the library we use in our docs for proper handling.


Mainnet API

API
Link
Note

KNS Asset API

Get assets by owner

KNS Asset Detail API

Get assets details

KNS Domain API

Get asset owner by domain (Case-Insensitive)

KNS Check Domain API

Check Domain (Make sure to fulfill the guidelines for APIs, reach out to team if your have any questions.)

KNS Profile API

Get profile detail by domain

TN10 (Testnet 10) API

API
Link
Note

KNS Assets API - TN10

Get assets by owner

KNS Asset Detail API - TN10

Get assets details

KNS Domain API - TN10

Get asset owner by domain (Case-Insensitive)

KNS Check Domain API

Check Domain (Make sure to fulfill the guidelines for APIs, reach out to team if your have any questions.)

KNS Profile API - TN10

Get profile detail by domain

Last updated