BBC Good Food API: Get recipe
Gets a full BBC Good Food recipe by dish name or recipe link, including ingredients, method and nutrition per serving. A name uses the closest matching recipe in site search; details absent from the page are null.
Unofficial. Not affiliated with or endorsed by BBC Good Food.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Recipe, required
recipe Dish name or BBC Good Food recipe page link, for example Easy vegetarian lasagne.
Easy vegetarian lasagne
Input as JSON
{ "recipe": "Easy vegetarian lasagne"}Output
{ "title": "Vegetarian lasagne", "author": "Good Food team", "servings": "Serves 10", "cook_time": "1 hr and 10 mins", "photo_url": "https://images.immediate.co.uk/production/volatile/sites/30/2022/02/vegetarian-lasagne-5ee6162.jpg?resize=440,400" , "prep_time": "25 mins", "difficulty": "Easy", "recipe_url": "https://www.bbcgoodfood.com/recipes/easy-vegetable-lasagne" , "total_time": "1 hr and 35 mins", "description": "Make our easy vegetable lasagne using just a few ingredients. You can use ready-made tomato sauce and white sauce, or batch cook the sauces and freeze them", "ingredients": [ "3 red peppers cut into large chunks", "2 aubergines cut into ½ cm thick slices", "8 tbsp olive oil plus extra for the dish" ], "star_rating": 4.5, "dietary_tags": [ "Freezable", "Low sugar", "Nut-free" ], "method_steps": [ { "instruction": "To make the tomato sauce, heat the olive oil in a saucepan. Add the onions, garlic and carrot. Cook for 5-7 mins over a medium heat until softened. Turn up the heat a little and stir in the tomato purée. Cook for 1 min, pour in the white wine, then cook for 5 mins until this has reduced by two-third…", "step_number": 1 }, { "instruction": "To make the white sauce, melt the butter in a saucepan, stir in the plain flour, then cook for 2 mins. Slowly whisk in the milk, then bring to the boil, stirring. Turn down the heat, then cook until the sauce starts to thicken and coats the back of a wooden spoon. Will keep, cooled, in the fridge fo…", "step_number": 2 }, { "instruction": "Heat the oven to 200C/180C fan/gas 6. Lightly oil two large baking trays and add the peppers and aubergines. Toss with the olive oil, season well, then roast for 25 mins until lightly browned." , "step_number": 3 } ], "number_of_ratings": 334, "nutrition_per_serving": { "kcal": 462, "fat_g": 24, "salt_g": 0.4, "carbs_g": 43, "fibre_g": 7, "sugars_g": 15, "protein_g": 12, "saturates_g": 10 }}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"bbcgoodfood.com/get_recipe","input":{"recipe":"Easy vegetarian lasagne"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "bbcgoodfood.com/get_recipe" , "input": { "recipe": "Easy vegetarian lasagne" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "bbcgoodfood.com/get_recipe" , "input": { "recipe": "Easy vegetarian lasagne" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run bbcgoodfood.com/get_recipe# with {"recipe":"Easy vegetarian lasagne"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "recipe" ], "properties": { "recipe": { "type": "string", "description": "Dish name or BBC Good Food recipe page link, for example Easy vegetarian lasagne." } }}Output schema
{ "type": "object", "required": [ "title", "author", "star_rating", "number_of_ratings", "description", "prep_time", "cook_time", "total_time", "servings", "difficulty", "photo_url", "recipe_url", "dietary_tags", "ingredients", "method_steps", "nutrition_per_serving" ], "properties": { "title": { "type": [ "string", "null" ] }, "author": { "type": [ "string", "null" ] }, "servings": { "type": [ "string", "null" ] }, "cook_time": { "type": [ "string", "null" ] }, "photo_url": { "type": [ "string", "null" ] }, "prep_time": { "type": [ "string", "null" ] }, "difficulty": { "type": [ "string", "null" ] }, "recipe_url": { "type": [ "string", "null" ] }, "total_time": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "ingredients": { "type": "array", "items": { "type": "string" } }, "star_rating": { "type": [ "number", "null" ] }, "dietary_tags": { "type": "array", "items": { "type": "string" } }, "method_steps": { "type": "array", "items": { "type": "object", "required": [ "step_number", "instruction" ], "properties": { "instruction": { "type": "string" }, "step_number": { "type": "integer" } }, "additionalProperties": false } }, "number_of_ratings": { "type": [ "integer", "null" ] }, "nutrition_per_serving": { "type": "object", "required": [ "kcal", "fat_g", "saturates_g", "carbs_g", "sugars_g", "fibre_g", "protein_g", "salt_g" ], "properties": { "kcal": { "type": [ "number", "null" ] }, "fat_g": { "type": [ "number", "null" ] }, "salt_g": { "type": [ "number", "null" ] }, "carbs_g": { "type": [ "number", "null" ] }, "fibre_g": { "type": [ "number", "null" ] }, "sugars_g": { "type": [ "number", "null" ] }, "protein_g": { "type": [ "number", "null" ] }, "saturates_g": { "type": [ "number", "null" ] } }, "additionalProperties": false } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
bbcgoodfood.com/get_recipe- Returns
- title, author, ratings, times, servings, difficulty, ingredients, method steps, nutrition per serving
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method bbcgoodfood.com/get_recipe with the inputs above.
Ask your agent
- Get the full recipe for Easy vegetarian lasagne including ingredients, method and nutrition per serving
- I need the ingredients and steps for a chicken tikka masala, with the prep and cook times
- Pull up the BBC Good Food recipe for banana bread at https://www.bbcgoodfood.com/recipes/banana-bread and tell me the servings and difficulty
- What's the calorie count per serving for a beef chilli con carne recipe?
- Find the closest matching recipe for sticky toffee pudding and show the author, rating and method steps
See more
All BBC Good Food methodsFinds BBC Good Food recipes for a dish or ingredients in search order, with ratings, time, difficulty, photos and links. Excludes app-only recipes.
bbcgoodfood.com/search_recipesGets a full Allrecipes recipe by its name or page link, including ingredients, directions, times, ratings and nutrition. Names select the most-rated close match.
allrecipes.com/get_recipeGets a Food Network recipe by dish name or recipe page link. It returns ingredients, directions, ratings and cooking times; page details that are missing come back as null.
foodnetwork.com/get_recipeGets a complete Serious Eats recipe by name or page link, with ingredients, directions, timing, nutrition and ratings when the page shows them.
seriouseats.com/get_recipeFinds Food Network recipes for a dish or ingredient, optionally filtered by chef, in site search order.
foodnetwork.com/search_recipesFinds Allrecipes recipes for a dish or ingredients, in search order, with ratings, photos and total times; optionally only recipes ready within a time limit.
allrecipes.com/search_recipesFinds Serious Eats recipes and cooking guides for a dish or technique, in site search order. Results can also include related articles; times appear only when the site shows them.
seriouseats.com/search_recipesReads the text and details of a BBC News article from its link or headline. Live coverage pages return the latest entries available.
bbc.com/read_article