Marketplace Commands

From TNS API
Jump to: navigation, search

Definition

Just as such domain name providers as GoDaddy provide a marketplace where it is possible for owners of domain names to sell their domain names for profit, interested parties with the means are able to leverage a collection of commands from the TNS Digital Names API to build their own marketplace for open trade. The group of API commands associated with such an endeavor are listed within the marketplace commands of the Api.

A prime example of a website that is taking full advantage of the marketplace API commands can be viewed at the DigitalNamesAffiliates.io website built by a third party reseller of Digital Names.

List of Marketplace Commands

Command Name Command Line Return Notes
Sell Digital Names / Listed https://usa.tnsapi.cloud/call.cfm?apikey=**&command=sellname&digitalname=$**&cc=**cat=**&price=**&paymentaddress=** Return = 0 or 1 Digital Name, cc, cat, price, paymentaddresses are all required.
Sell Digital Names / Cancel https://usa.tnsapi.cloud/call.cfm?apikey=**&command=sellname&digitalname=$**&cc=**&price= Return = 0 or 1 Digital Name and cc are required. Price=null to remove listed status.
Sell Digital Names / List Categories https://usa.tnsapi.cloud/call.cfm?apikey=**&command=sellcats Will return a list of all selling categories. Optional Display = JSON or HTML
Transfer Digital Name - Start https://usa.tnsapi.cloud/call.cfm?apikey=**&command=transfer&action=start&digitalname=$**&transferdigitalname=$** Return = 1 or (success) / 0 "digitalname" and "transferdigitalname" required.
Transfer Digital Name - Cancel https://usa.tnsapi.cloud/call.cfm?apikey=**&command=transfer&action=start&action=cancel&digitalname=$** Return = 1 or (success) / 0 "digitalname" and "transferdigitalname" required.
Transfer Digital Name - Accept https://usa.tnsapi.cloud/call.cfm?apikey=**&command=transfer&action=accept&digitalname=$** Return = 1 or (success) / 0 "digitalname" and "transferdigitalname" required.
Transfer Digital Name - Deny https://usa.tnsapi.cloud/call.cfm?apikey=**&command=transfer&action=deny&digitalname=$** Return = 1 or (success) / 0 "digitalname" and "transferdigitalname" required.
Digital Name - History https://usa.tnsapi.cloud/call.cfm?apikey=**&command=transfer&action=history&digitalnae=$**&rows=10 Optional rows = Return = JSON or HTML Will display transfer history