TBM API v2
With the help of the new API you now have the possibility to create more comprehensive applications for our Black Market than ever before.
A list of all current endpoints can be found below. Please note that for some endpoints there will be a request fee, which will be automatically deducted from your elite*gold balance.
Are you missing any features that you would like to have and that would fit well to the Black Market? Then please post your suggestions here: [Only registered and activated users can see links. Click Here To Register...]
All endpoints set the following parameters for authentication in addition to the mentioned endpoint-specific parameters:
Parameter: u (unsigned int) - This is your UserID that you have here on the forum.
Parameter: secretword (string) A secretword you set yourself - This is not your forum password! Your secretword can be set here: [Only registered and activated users can see links. Click Here To Register...]
All endpoints are also accessible via GET and POST and via a JSON payload (POST only, be sure to set Content-Type to application/json). Response will always be JSON.
elite*gold
Treasures
Trades
Other
With the help of the new API you now have the possibility to create more comprehensive applications for our Black Market than ever before.
A list of all current endpoints can be found below. Please note that for some endpoints there will be a request fee, which will be automatically deducted from your elite*gold balance.
Are you missing any features that you would like to have and that would fit well to the Black Market? Then please post your suggestions here: [Only registered and activated users can see links. Click Here To Register...]
All endpoints set the following parameters for authentication in addition to the mentioned endpoint-specific parameters:
Parameter: u (unsigned int) - This is your UserID that you have here on the forum.
Parameter: secretword (string) A secretword you set yourself - This is not your forum password! Your secretword can be set here: [Only registered and activated users can see links. Click Here To Register...]
All endpoints are also accessible via GET and POST and via a JSON payload (POST only, be sure to set Content-Type to application/json). Response will always be JSON.
elite*gold
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Shows you all transactions involving your accountFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description type string No all Shows you only transaction of a certain type. Accepted: all,sent,received page unsigned int No 1 Shows you page X of the transactions. hide-reversed boolean No false Hides transactions that have been reversed.
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Send elite*gold to another userFee: 1 elite*gold
Parameters:
Response:
Name Type Required Default Description to unsigned int Yes Userid of the recipient amount unsigned int Yes Amount of elite*gold you want to send to the user note string No Custom note for the transaction
Treasures
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Get treasures created or bought by your accountFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description page unsigned int No 1 Shows a specific page of the results type string No all Shows only a specific type of treasures. Accepts: unsold,sold,bought,all
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Get information about a specific treasureFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description id unsigned int Yes Id of the treasure
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Create a new treasureFee: 1 elite*gold
Parameters:
Response:
Name Type Required Default Description title string Yes Public visible title of the treasure (should be some informations about the content, so other users knows what they are buying) content string Yes Content of the treasure that the buyer will be able to see after he bought the treasure cost unsigned int Yes How much should it cost to buy this treasure?
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Buy a treasure that is still for saleFee: 1 elite*gold
Parameters:
Response:
Name Type Required Default Description id unsigned int Yes Id of the treasure you want to buy
Trades
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Shows you all trades involving your accountFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description type string No all Show only a specific type of trade. Accepts: all,requested,received status string No all Show only trades with in a specific state. Accepts: pending,accepted,waiting_for_approval,aborted,all page unsigned int No 1 Shows a specific page of the results
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Get trade details for a specific tradeFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description id unsigned int Yes Id of the trade
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Generate the trade request URLFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description t unsigned int Yes Id of the trading thread
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Create a trade requestFee: 1 elite*gold
Parameters:
Response:
Name Type Required Default Description t unsigned int Yes Id of the trading thread middleman unsigned int No UserId of the middleman you want to use for this trade note string No Visible note for the trade (your trading partner can see this before accepting the trade!) private string No Private note that is visible for your trading partner after accepting the trade (or after middleman approved the trade)
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Accept, Reject or approve a tradeFee: 1 elite*gold
Parameters:
Response:
Name Type Required Default Description trade unsigned int Yes Id of the trade you want to update status string Yes The operation you want to do. Accepts: accept,approve,reject note string No Visible note for this trade private string No Private note for this trade (only visible to your trading partner (after accepting/approve the trade) and middleman)
Other
URL: [Only registered and activated users can see links. Click Here To Register...]
Description:Get some information about an accountFee: 0 elite*gold
Parameters:
Response:
Name Type Required Default Description qu int No 0 UserID of the user you want to get informations about (eg 3493587)
The ranks field only contains certain ranks (not all ranks we have), so far those are:
- administrator
- global_moderator
- community_manager
- moderator
- level_3
- level_2
- subscription_elite
- subscription_premium
- elite*gold_trader
- id_verified
- sponsor
- 2_factor_authenticated (for this the user needs to enable 2 Factor Authentication and needs to enable the badge also)