TNS Digital Names API
The Total Network Services, Incorporated Digital Names API is a system by which third parties can connect with a suite of capabilities that are associated with the creation, usage, and management of Digital Names.
The API commands that can be leveraged all fall within seven categories...read commands, write commands, account commands, marketplace commands, Digital Name commands, admin commands, and speculator commands.
API Command Categories
- Read Commands: These are the commands that are used for such tasks as searching to see if a Digital Name is available, finding out what blockchain public keys are attached to a Digital Name, listing all the digital names from a particular user, and more.
- Write Commands: Creation of new Digital Names is handled by the commands in the write category.
- Account Commands: In order to combine multiple accounts with Digital Names, "Link Application" within the Account Commands must be used.
- Marketplace Commands: One exciting prospect surrounding the TNS Digital Names API is the ability to create an open marketplace for trade. This set of commands realize that ability.
- Digital Name Commands: This category of commands handles all the functionality that pertains to managing a Digital Name and modifying its state.
- Admin Commands: As the name suggests, commands within this category deal with administrative tasks and concerns.
- Speculator Commands: The commands in this category make it possible to enter the speculative market as a reseller of Digital Names.
Specialty Feature Commands
We are always adding more features and flexibility for our resellers to integrate not only digital names, but the other features they will need to make a better service for their customers.
TNS Wallet Commands
In addition to our Digital Name functionality, reward program, and other features, our robust API includes commands that enable developers to create a crypto currency wallet within their applications.<p>
|General API Error Codes||Security API Error Codes||API Command Error Codes||Command (namelookup)||Command (keylookup||Command (expdate)||Command (listcurrency)|
|0 = undefinded error||15 = digital name offline||20 = no command||0 = digital name is available||30 = access to command denied||40 = access to command denied||80 = access to command denied|
|1` = success||16` = write access denied||21 = command not valid||1 = digital name is taken||31 = no digital name||41 = no digital name|
|10 = no API Key||5 = digital name is Listed For Sale||32 = digital name not valid||42 = digital name not valid|
|11 = API Key not valid||33 = digital name key not found|
|12` = API Key suspended|
|13 = API Key not active|
Security<p>The TNS Digital Names API utilizes several layers of security, with each focusing on different aspects of the user to server interaction. Though TNS cannot disclose all of the security measures in place for obvious reasons, one example of a security measure in place is, no matter what category of command that a third party wishes to use, a TNS account must be created by that third party. Through the creation of a TNS account, the third party is then able to obtain a unique API key that is integrated within the command for each API call.
Consult the User's Guide for information on using the wiki software.