Allrecipes API: Get recipe
Gets a full Allrecipes recipe by its name or page link, including ingredients, directions, times, ratings and nutrition. Names select the most-rated close match.
Unofficial. Not affiliated with or endorsed by Allrecipes.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Recipe, required
recipe Dish name or Allrecipes recipe page link, for example World's Best Lasagna or https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/.
https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/
Input as JSON
{ "recipe": "https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/" }Output
{ "steps": [ "1. Gather all your ingredients.", "2. Cook sausage, ground beef, onion, and garlic in a Dutch oven over medium heat until well browned.", "3. Stir in crushed tomatoes, tomato sauce, tomato paste, and water. Season with sugar, 2 tablespoons parsley, basil, 1 teaspoon salt, Italian seasoning, fennel seeds, and pepper. Simmer, covered, for about 1 ½ hours, stirring occasionally." ], "title": "World's Best Lasagna", "author": "John Chandler", "servings": 12, "cook_time": "2 hrs 30 mins", "prep_time": "30 mins", "photo_link": "https://www.allrecipes.com/thmb/htylprTl3RuTsFquG9YtbU1pzy0=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/23600-worlds-best-lasagna-DDMFS-4x3-1196-24c5401652934ffb96d3d94bc9fbe2d7.jpg" , "total_time": "3 hrs 15 mins", "ingredients": [ "1 pound sweet Italian sausage", "¾ pound lean ground beef", "½ cup minced onion" ], "recipe_link": "https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/" , "star_rating": 4.8, "cook_time_minutes": 150, "number_of_ratings": 21015, "prep_time_minutes": 30, "short_description": "This lasagna recipe from John Chandler is our most popular recipe! With sausage, ground beef, basil, and 3 types of cheese, it lives up to its name!", "total_time_minutes": 195, "nutrition_per_serving": { "fat_g": 21, "calories": 448, "protein_g": 30, "sodium_mg": 1400, "carbohydrates_g": 37 }}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"allrecipes.com/get_recipe","input":{"recipe":"https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/"}}' # 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/get_recipe" , "input": { "recipe": "https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/" }})# 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/get_recipe" , "input": { "recipe": "https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/" } }), 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/get_recipe# with {"recipe":"https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/"}"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", "minLength": 1, "description": "Dish name or Allrecipes recipe page link, for example World's Best Lasagna or https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/." } }}Output schema
{ "type": "object", "required": [ "title", "ingredients", "steps", "recipe_link" ], "properties": { "steps": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "author": { "type": [ "string", "null" ] }, "servings": { "type": [ "integer", "null" ] }, "cook_time": { "type": [ "string", "null" ] }, "prep_time": { "type": [ "string", "null" ] }, "photo_link": { "type": [ "string", "null" ] }, "total_time": { "type": [ "string", "null" ] }, "ingredients": { "type": "array", "items": { "type": "string" } }, "recipe_link": { "type": "string" }, "star_rating": { "type": [ "number", "null" ] }, "cook_time_minutes": { "type": [ "integer", "null" ] }, "number_of_ratings": { "type": [ "integer", "null" ] }, "prep_time_minutes": { "type": [ "integer", "null" ] }, "short_description": { "type": [ "string", "null" ] }, "total_time_minutes": { "type": [ "integer", "null" ] }, "nutrition_per_serving": { "type": "object", "properties": { "fat_g": { "type": [ "number", "null" ] }, "calories": { "type": [ "number", "null" ] }, "protein_g": { "type": [ "number", "null" ] }, "sodium_mg": { "type": [ "number", "null" ] }, "carbohydrates_g": { "type": [ "number", "null" ] } } } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
allrecipes.com/get_recipe- Returns
- title, author, rating, times, servings, ingredients, steps, nutrition, photo, 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/get_recipe with the inputs above.
Ask your agent
- I need the full recipe for World's Best Lasagna, including ingredients, steps, and nutrition facts.
- Can you pull up the ingredients and directions for a classic chocolate chip cookie recipe with high ratings?
- Get me the prep time, cook time, and servings for https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/
- What's the nutrition breakdown and star rating for a good beef stroganoff recipe?
- Find a well-reviewed banana bread recipe and show me its photo, author, and step-by-step directions.
See more
All Allrecipes methodsFinds 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_recipesGets 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 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 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_recipesLooks up a Starbucks menu item by name. Returns its description, standard recipe, size-specific nutrition, ingredients, allergens and photo.
starbucks.com/get_menu_item