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).
What does the TSM API offer?
The four main API endpoints you can query in the TSM 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 API?
In order to send a query to the TSM 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 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 you information you would like to get from the TSM API, you can use the TSM API Documentation to build your query.