Using the TSM Web API to get Auction House pricing data!
What is an API?
An application programming interface or API is a set of clearly defined methods of communication between various software components. For TradeSkillMaster, these methods of communication allow an API user to query TSM for item pricing and other relevant information to use in their application(s) outside of the game.
What does the TSM Public Web API offer?
The four main API endpoints you can query in the TSM Public Web API are as follows:
- Stats for a specific item
- Stats for every item for a specific region
- Stats for every item for a specific realm
- Item stats for a specific realm
How do I query the TSM Public Web API?
In order to send a query to the TSM Public Web API, you will need to use your TSM API Key, this string of letters and numbers identifies you as a TSM member and allows the TSM API to respond with the data you're querying.
You can find your TSM Public Web API Key in your TSM Profile. Please note that this API Key is unique to you and should not be shared with anyone else.
Once you've decided what information you would like to get from the TSM API, you can use the TSM Public Web API Documentation to build your query.
Is there a limit to how often I can query the TSM Public Web API?
Each endpoint has its own daily limits described in the TSM Public Web API Documentation and there is a global maximum of 50 queries per hour.