Allrecipes APIunofficial
Allrecipes recipes, logged out: keyword search, ingredients, steps, nutrition and embedded reviews.
- allrecipes.com
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 setupThen 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-curryOperations
| Operation | Method | Login | Writes | Status |
|---|---|---|---|---|
getNutrition(recipeId, slug) -> calories, fat, saturatedFat, carbs, fiber, sugar, protein, sodium, cholesterolPer-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, fatOne 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, reviewerReviews 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, tagSearch 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.
searchRecipesreturns the first page only (about 24 results). Results that are articles, galleries or category pages have norecipeIdorslug; skip them to get recipes. A query nothing matches answersinput(the site answers 404).getRecipeneeds both parts of the recipe URL,/recipe/<recipeId>/<slug>/: a wrong slug is a 404 (input).getRecipereads the recipe's schema.org data, so quantities are decimals ("0.33333334326744 cup"is 1/3 cup), times are ISO 8601 durations ("PT1H10M"), anddescriptioncan hold HTML entities (').servingsis a string or a list (["8", "8 servings"]). Nutrition fields are per serving and can be missing.getNutritionandgetReviewstake the same recipe ID and slug asgetRecipe. 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.