LibTradeSkillRecipes

Professions 1 more category

Library providing mappings between trade skills, recipes, spells, items, and enchantments.

WoW 10.1.7 Needs Update

Trend Explorer

Recent download momentum

Estimated downloads/hour over observed intervals in the last 48 hours.

Latest interval 0 /h 1h observed interval · ending Sep 11, 2 PM
Peak estimate +1 /h 1h observed interval · ending Sep 11, 9 AM
Average estimate +0.0421 /h Time-weighted · 47.5h covered of 48h

Lines connect interval estimates, not hourly measurements. Unobserved time is not counted as zero or extrapolated to now.

About this addon

What it does

LibTradeSkillRecipes

A simple aggregation of trade skill recipes. Links trade category <-> recipe(s) <-> skill spell <-> item <-> item spell <-> effects.

Not all item's have a spell, nor all item spells have an effect. For instance, enchantments create an effect and not item at all! If a trade skill is taught strictly by an NPC then there is no recipe. In some versions, some trade skills have multiple recipes, hence we use a table of recipes, although in general the result is an empty table or singleton.

Usage

For library usages in your TOC file:

  • Classic: Libs\LibTradeSkillRecipes\lib-classic.xml
  • TBC: Libs\LibTradeSkillRecipes\lib-tbc.xml
  • Wotlk: Libs\LibTradeSkillRecipes\lib-wotlk.xml
  • Retail: Libs\LibTradeSkillRecipes\lib-retail.xml

Then reference via LibStub with
local LibTradeSkillRecipes = LibStub("LibTradeSkillRecipes-1")

API

---Gets the name of the effect.
---@param effectId number id of the effect
---@return string name of the effect
lib:GetEffect(effectId)

---Gets all effects, id to name.
---@return table all the effects
lib:GetEffects()

---Gets all the associated spells to the given category.
---@param categoryId number id of the category
---@return table spell ids associated to the category
lib:GetCategorySpells(categoryId)

---Gets all trade categories, id to a table of all the info.
---@return table all the categories
lib:GetCategories()

---@class TradeSkillInfo
---@field categoryId number trade skill category id for the item or effect
---@field expansionId number original expansion for the item or effect (0 based)
---@field recipeIds (number)[] list of the all recipe ids to learn the trade skill
---@field spellId number spell used to create the item or effect
---@field itemId? number item that is created from the spell
---@field spellEffectId? number effect provided by the spell or using the item, e.g. an enchantment
---@field salvageId? number items received from salving, currently has no lookup
---@field craftingDataId? number crafting elements created from the spell
**lib:TradeSkillInfo

---Given an recipe id, returns associated information for crafting.
---@param recipeId number
---@return table TradeSkillInfo
lib:GetInfoByRecipeId(recipeId)

---Given an item id, returns associated information for crafting.
---@param itemId number
---@return table TradeSkillInfos items can have multiple spells if there are different levels created
lib:GetInfoByItemId(itemId)

---Given a spellId id, returns associated information for crafting.
---@param spellId number
---@return table TradeSkillInfo
lib:GetInfoBySpellId(spellId)

Note: Expansion is a value 0 to 9, e.g. Wotlk is 2, Retail is 9. While versions are represented 1-10 for tables, Blizzard uses a 0 index for table values. Also, Wago Db does not have data for expansions 3-6, so those values are 7.

Update

Run scripts in WowDbScripts, then copy over any change here.

Run Tests

Ensure you have lua installed, e.g. brew install lua.

Run lua tests.lua and look for Tests Passed!.

Discord

https://discord.gg/yY6Q6EgNRu

At-a-glance numbers

Performance highlights

  • Peaked at Hot #4008 on Aug 19, 2026.
  • Peaked at Rising #5350 on Aug 12, 2026.
  • Featured on the Hot list across 5 distinct weeks.
  • Shipped 1 release in the last 30 days.
  • Averaging 1 new downloads per day over the past week.

Discover more

Keep exploring

Similar addons you might also want to check out.

Similar in Professions

Comparable addons in the same lane.

CraftSim #6
10.1M downloads

Shows live statweights for your profession stats based on profit per stat point and shows most profitable profession item gear combination

Warband Nexus #13
157.7K downloads

All your alts in one window: account-wide item search, Great Vault & raid lockouts, currencies, reputations, professions, gold, mount try counter, collections, and weekly to-do plans. The alt manager built for Midnight warbands.

ALL THE THINGS #61
59.9M downloads

Addon for Tracking Collections & Account Completion

WeeklyRewards - Multi-character Weekly Progress Tracking #72
371.2K downloads

Track your Prey, Delves, Pinnacle Caches and more Midnight weekly rewards progress across your characters

RestedXP Guide #76
25.5M downloads

In-game Leveling Guides

Сoncentraction & Moxie tracker #85 #1160
31.6K downloads

Tracks profession concentration and Midnight Artisan's Moxie across all characters. Shows restore timers, optional cap and 600 Moxie alerts, live currency sync, sort and filter. Twelve languages. /conc, /conclanguage.

Routine - Knowledge Points & Rares #86
2.9M downloads

Midnight Quests, Knowledge Points Tracker, Prey Tracker, Curse Surge Tracking, Weekly and Catch-Up, Professions, Rares, Great Vault, Delves, Crests, Story Campaign, To-do list, Checklist, Alt Tracker, and more!

HandyNotes: MapNotes #87
4.9M downloads

MapNotes is a quality of life addon with a collection of icons & informations on various maps like Instance Entrance / Dungeon Location, Delves, Transport, Portal, Ship, Profession, Bank, Auctioneer, Innkeeper, Transmog and more

Home Bound [12.1 Player Housing completionism] #90
6.0M downloads

Your ultimate companion for collecting housing rewards

Better Fishing #119
5.6M downloads

Soft Targeting keybind to cast & hook and Double-click fishing

Scrap (Junk Seller) #121
31.5M downloads

Sells all your junk when you visit a merchant. Intuitive & Easy to use.

Angleur - Fishing Extraordinaire #130
1.4M downloads

The Ultimate Fishing Add-On - One Button/Double Click Fishing, Auto-Equip & More!