TavernData API
Every item, recipe, price, crop and shop of Travellers Rest as JSON, in the game's 27 languages, with prices computed to the copper like the game does. Free, with a key.
curl
curl "https://api.taverndata.com/v1/items/milk-stout" \
-H "Authorization: Bearer $TAVERN_KEY"Start in three steps
Guides
- Getting startedAccount, key and your first request in five minutes.
- AuthenticationSending the key, keeping it secret and revoking it.
- Rate limits300 per minute, 20 000 per day, and how to handle 429.
- Game versionsFollowing the latest patch or pinning one, and what changed.
- LanguagesThe 27 game languages and the English fallback.
- How prices workThe game's sell price formula, step by step.
- ErrorsProblem Details (RFC 9457) and every error type.
- Best practicesCaching, ETags, a clear User-Agent and no polling.
- Terms and attributionWhat you may build and how to credit the game.
More
Reference: every endpoint and parameter, with a "try it" button.
Changelog: API changes and new game versions, also as RSS.
The machine-readable description is the OpenAPI document; generate a client from it or see the TypeScript, Python and Discord bot examples in the project's examples/ folder.