API
API
The API lets you grant names, set text records, and retrieve information about domains. To use our API, you'll need an API key for authentication. Fill out the form to receive an API key via email, or request one by emailing api@namestone.xyz.
Authentication
To authenticate with the NameStone API, you need to provide your API key in the header of your request or as a query parameter api_key.
Endpoints
Here are the endpoints that our API offers:
[1] set-name: Set a name + text_records for a given address and domain.
[2] claim-name: Claim a name + text_records for a given address and domain. If the name already exists the route will throw an error.
[3] get-names: Fetch names and text records for a given address and domain.
[4] revoke-name: Remove a given name for an address and a name.
[5] set-domain: Set a domain + text_records for a given address.
For detailed information about each endpoint, click on the endpoint name above or in the sidebar.