Get a recipe in full
get_recipeGet one recipe in full: ingredients, step-by-step instructions, times, yield, nutrition, rating (source ratings and ask.recipes stars averaged, with the user's own as my_rating) and its source link. For when the user picks a recipe from a search or asks how to make it. Pass servings to scale the ingredient quantities, e.g. for meal prep or a crowd; nutrition_for says whether the nutrition numbers are per serving or for the whole yield. Amounts come back in the units saved on the profile: metric turns cups and ounces into grams and millilitres (dry goods by weight, liquids by volume, spoons stay spoons) and oven temperatures and pan sizes in the steps into Celsius and centimetres; us does the reverse; units in the result says which applied, empty means as the source wrote it. Pass units to override for one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | recipe id from a previous search | |
| units | No | metric or us; converts the ingredient amounts and the temperatures and pan sizes in the steps; defaults to the units saved on the profile, leave empty unless the user asks for the other system this once | |
| servings | No | scale ingredient quantities to this many servings; when the recipe's yield does not state servings the recipe comes back unscaled with scale_note saying so, nutrition stays per serving |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| diets | No | ||
| fat_g | No | ||
| units | No | ||
| yield | No | ||
| rating | No | ||
| carbs_g | No | ||
| fiber_g | No | ||
| sugar_g | No | ||
| calories | No | ||
| saved_in | No | ||
| servings | No | ||
| image_url | No | ||
| my_rating | No | ||
| nutrition | No | ||
| protein_g | No | ||
| scale_note | No | ||
| source_url | Yes | ||
| attribution | Yes | ||
| description | No | ||
| ingredients | Yes | ||
| scale_class | No | ||
| source_site | Yes | ||
| cook_minutes | No | ||
| instructions | Yes | ||
| main_protein | No | ||
| prep_minutes | No | ||
| rating_count | Yes | ||
| nutrition_for | No | ||
| total_minutes | No | ||
| askrecipes_ratings | No | ||
| scaled_from_servings | No |