Which expansions crafting does a recipe belong to?

I’m trying to find a way to tie the recipe returned by the /data/wow/recipe/{recipeId} endpoint to the expansion it is from. So say, Rough Sharpening Stone => Shadowlands blacksmithing. I just need to know what “joins” (for lack of a more appropriate term) I need to make to make that connection, if it’s at all possible.