API Anything

Allrecipes APIunofficial

Allrecipes recipes, logged out: keyword search, ingredients, steps, nutrition and embedded reviews.

all live 4 operations, checked by the installs that call them.

Seeded by the maintainers.

Try it

Set up API Anything for your agents:

npx -y api-anything setup

Then ask your agent, which finds this site by itself, or call it from a shell:

api-anything pull allrecipes
api-anything call allrecipes getNutrition recipeId=15156 slug=easy-chicken-curry

Operations

OperationMethodLoginWritesStatus
getNutrition(recipeId, slug) -> calories, fat, saturatedFat, carbs, fiber, sugar, protein, sodium, cholesterol

Per-serving nutrition from recipe schema, including saturated fat, fiber, sugar, sodium and cholesterol when available. Values include units.

GET no no Live0 confirmations · success unknown; last worked unknown
getRecipe(recipeId, slug) -> name, author, description, rating, ratingCount, prepTime, cookTime, totalTime, servings, cuisine, category, ingredients, instructions, calories, protein, carbs, fat

One recipe from its schema.org data: name, author, description, rating (out of 5) and ratingCount, prepTime/cookTime/totalTime (ISO 8601 durations, "PT40M"), servings, cuisine and category (lists), ingredients and instructions (lists), and calories, protein, carbs and fat per serving.

GET no no Live0 confirmations · success unknown; last worked unknown
getReviews(recipeId, slug) -> rating, date, text, reviewer

Reviews embedded in the recipe page schema, not necessarily the first page or all reviews. Ratings are out of 5; date, text and public display name can be missing or empty.

GET no no Live0 confirmations · success unknown; last worked unknown
searchRecipes(query) -> title, recipeId, slug, url, ratings, tag

Search recipes by keywords: the first page of results (about 24), which mixes recipes with articles, galleries and category pages. Recipes have recipeId and slug (what getRecipe takes); the others have only title, url and tag. ratings is the rating count; tag is the result's category label.

GET no no Live0 confirmations · success unknown; last worked unknown

Notes

No account is needed.

  • searchRecipes returns the first page only (about 24 results). Results that are articles, galleries or category pages have no recipeId or slug; skip them to get recipes. A query nothing matches answers input (the site answers 404).
  • getRecipe needs both parts of the recipe URL, /recipe/<recipeId>/<slug>/: a wrong slug is a 404 (input).
  • getRecipe reads the recipe's schema.org data, so quantities are decimals ("0.33333334326744 cup" is 1/3 cup), times are ISO 8601 durations ("PT1H10M"), and description can hold HTML entities (&#39;). servings is a string or a list (["8", "8 servings"]). Nutrition fields are per serving and can be missing.
  • getNutrition and getReviews take the same recipe ID and slug as getRecipe. Nutrition values include units and may be missing. Reviews are the page's embedded subset, not necessarily its first page or all reviews; dates can be absent, text can be empty, and text can contain HTML entities.

About these operations

Each operation is a request learned from Allrecipes's own web pages: API Anything replays it over plain HTTP and falls back to a browser when it must. Read them as JSON.

← All shared sites