KNS Indexer API
API documentation for Kaspa Name Service
KNS API Usage Guidelines
KNS provides three main APIs for different use cases:
1. KNS Asset API
This Asset API retrieves inscribed assets. If you need to display KNS assets, use KNS Asset API.
2. 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.
3. 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.
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 us in our docs for proper handling.
KNS Domain API - TN10
Get asset owner by domain (Case-Insensitive)
KNS Assets API - TN10
Get assets by owner
KNS Domain API
Get asset owner by domain (Case-Insensitive)
KNS Asset API
Get assets by owner
KNS Check Domain API
Check Domain (Make sure to fulfill the guidelines above for APIs, reach out to team if your have any questions.)
Last updated