Allrecipes API: Search recipes
Finds Allrecipes recipes for a dish or ingredients, in search order, with ratings, photos and total times; optionally only recipes ready within a time limit.
Unofficial. Not affiliated with or endorsed by Allrecipes.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Query, required
query Dish or ingredients to search for, for example chicken broccoli casserole.
chicken broccoli casserole
- Max Results optional
max_results Maximum number of recipes to return, for example 20. Up to 50.
3
Whole number from 1 to 50. Default
20.- Max Total (minutes) optional
max_total_minutes Only include recipes ready within this many minutes, for example 60. Leave blank for no limit.
Not set
Whole number 1 or more.
Input as JSON
{ "query": "chicken broccoli casserole", "max_results": 3}Output
{ "recipes": [ { "title": "Broccoli Chicken Casserole", "photo_link": "https://www.allrecipes.com/thmb/jmmvaAT8UFY8u7acw92K-OgMNAA=/282x188/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/8965-broccoli-chicken-casserole-i-DDMFS-4x3-7c100071a13c4226bae46ea4afcf756b.jpg" , "total_time": "50 mins", "recipe_link": "https://www.allrecipes.com/recipe/8965/broccoli-chicken-casserole-i/" , "star_rating": 4.2, "number_of_ratings": 1063, "total_time_minutes": 50 }, { "title": "Chicken, Broccoli, and Cheddar Casserole", "photo_link": "https://www.allrecipes.com/thmb/XKXdLz5hsm4wyzsLg7jdhSW5IIs=/282x188/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/9373618-ef00b5a5052346a3b9a671b067d04351.jpg" , "total_time": "50 mins", "recipe_link": "https://www.allrecipes.com/recipe/279848/chicken-broccoli-and-cheddar-casserole/" , "star_rating": 4.7, "number_of_ratings": 133, "total_time_minutes": 50 }, { "title": "Curried Chicken and Broccoli Casserole", "photo_link": "https://www.allrecipes.com/thmb/QOTW1j1RtIIgqDw_Npta-FeyXRQ=/282x188/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/2161924-curried-chicken-and-broccoli-casserole-Rock_lobster-4x3-1-739cbff24aa8454bbd9d0054fa4a1e49.jpg" , "total_time": "1 hr", "recipe_link": "https://www.allrecipes.com/recipe/229036/curried-chicken-and-broccoli-casserole/" , "star_rating": 4.2, "number_of_ratings": 131, "total_time_minutes": 60 } ]}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"allrecipes.com/search_recipes","input":{"query":"chicken broccoli casserole","max_results":3}}' # 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": "allrecipes.com/search_recipes" , "input": { "query": "chicken broccoli casserole", "max_results": 3 }})# 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": "allrecipes.com/search_recipes" , "input": { "query": "chicken broccoli casserole", "max_results": 3 } }), 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 allrecipes.com/search_recipes# with {"query":"chicken broccoli casserole","max_results":3}"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": [ "query" ], "properties": { "query": { "type": "string", "minLength": 1, "description": "Dish or ingredients to search for, for example chicken broccoli casserole." }, "max_results": { "type": "integer", "default": 20, "maximum": 50, "minimum": 1, "description": "Maximum number of recipes to return, for example 20. Up to 50." }, "max_total_minutes": { "type": "integer", "minimum": 1, "description": "Only include recipes ready within this many minutes, for example 60. Leave blank for no limit." } }}Output schema
{ "type": "object", "required": [ "recipes" ], "properties": { "recipes": { "type": "array", "items": { "type": "object", "required": [ "title", "recipe_link" ], "properties": { "title": { "type": "string" }, "photo_link": { "type": [ "string", "null" ] }, "total_time": { "type": [ "string", "null" ] }, "recipe_link": { "type": "string" }, "star_rating": { "type": [ "number", "null" ] }, "number_of_ratings": { "type": "integer" }, "total_time_minutes": { "type": [ "integer", "null" ] } } }, "description": "Matching recipes in Allrecipes search order." } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
allrecipes.com/search_recipes- Returns
- title, star rating, number of ratings, total time, photo link, recipe link
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 allrecipes.com/search_recipes with the inputs above.
Ask your agent
- Find quick weeknight chicken dinner ideas that are ready in under 45 minutes, with ratings and photos
- I need a list of top-rated banana bread recipes, showing how many ratings each has and total prep time
- Search allrecipes for vegetarian lentil soup options I can make in an hour or less
- What are some highly rated beef stew recipes with photos I can browse, up to 15 results?
- Show me recipes using zucchini and parmesan that take 30 minutes total or less
See more
All Allrecipes methodsGets 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_recipeFinds 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_recipesFinds Food Network recipes for a dish or ingredient, optionally filtered by chef, in site search order.
foodnetwork.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_recipesGets 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 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.
bbcgoodfood.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 DoorDash restaurants delivering to a street address or ZIP code, optionally for a cuisine or dish, in DoorDash's search order. Fees and times reflect guest offers; the numeric fee is null when DoorDash shows no amount.
doordash.com/search_restaurants