Last updated
Changelogallrecipes.com API
HealthyRead-onlyStructured data from allrecipes.com. Generated from www.allrecipes.com.
/article5 credits per callArticle
Article or gallery (recipe roundup) detail: metadata, body text and listed items with recipe links.
Authorization: Bearer <key> on every request.Parameters
article/gallery URL or path, e.g. /gallery/best-chicken-breast-recipes/
Response fields
urltitledescriptionauthorsdate_publisheddate_modifiedimagebreadcrumbs
nameurlbody
typetextitems
titletextimageurlfetched_atagecurl "https://api.maviapi.com/v1/sites/allrecipes/article?url=https%3A%2F%2Fwww.allrecipes.com%2Fgallery%2Fbest-chicken-breast-recipes%2F" \-H "Authorization: Bearer $MAVI_KEY"
{
"url": "string",
"title": "string",
"description": "string",
"authors": [
"string"
],
"date_published": "string",
"date_modified": "string",
"image": "string",
"breadcrumbs": [
{
"name": "string",
"url": "string"
}
],
"body": [
{
"type": "string",
"text": "string"
}
],
"items": [
{
"title": "string",
"text": "string",
"image": "string",
"url": "string"
}
],
"fetched_at": "string",
"age": 0
}Get all the data, no code
Collect every page of GET /article into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.
Use allrecipes.com API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of allrecipes.com API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=allrecipes -- npx -y '@maviapi/mcp'Import allrecipes.com API into Postman and other tools
How to importPaste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.
- OpenAPI 3.1
https://api.maviapi.com/v1/apis/allrecipes/openapi.json - Postman
https://api.maviapi.com/v1/apis/allrecipes/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
Build with the allrecipes.com API
Choose a starting endpoint
- Article
GET /articleArticle or gallery (recipe roundup) detail: metadata, body text and listed items with recipe links.
Parameters and response fields for GET /article
Request parameters Name Type / location Required Description url string / query No article/gallery URL or path, e.g. /gallery/best-chicken-breast-recipes/ Response fields Field Type Description url string title string description string authors string[] date_published string date_modified string image string breadcrumbs object[] breadcrumbs[].name string breadcrumbs[].url string body object[] body[].type string body[].text string items object[] items[].title string items[].text string items[].image string items[].url string fetched_at string age integer - Search
GET /searchSearch recipes and articles on Allrecipes (24 results per page).
Parameters and response fields for GET /search
Request parameters Name Type / location Required Description query string / query No search keywords, e.g. "lasagna" page integer / query No 1-based results page number Response fields Field Type Description query string page integer has_next_page boolean results object[] results[].title string results[].url string results[].type string results[].doc_id string results[].tag string results[].image string results[].stars number results[].rating_count integer pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer - Recipe
GET /recipeFull recipe detail: ingredients, steps, times, nutrition, rating, sample reviews.
Parameters and response fields for GET /recipe
Request parameters Name Type / location Required Description url string / query No recipe URL (or path such as /recipe/8858/cream-of-chicken-breasts/) as returned by search or category Response fields Field Type Description url string name string description string authors string[] date_published string date_modified string image string rating number rating_count integer prep_time string cook_time string total_time string details object details.Prep Time string details.Cook Time string details.Total Time string details.Servings string yield string category string[] cuisine string[] ingredients string[] ingredient_groups object[] ingredient_groups[].heading null ingredient_groups[].items object[] ingredient_groups[].items[].text string ingredient_groups[].items[].quantity string ingredient_groups[].items[].unit string ingredient_groups[].items[].name string instructions string[] nutrition object nutrition.calories string nutrition.carbohydrate string nutrition.cholesterol string nutrition.protein string nutrition.saturatedFat string nutrition.sodium string nutrition.sugar string nutrition.fat string nutrition.unsaturatedFat string breadcrumbs object[] breadcrumbs[].name string breadcrumbs[].url string reviews object[] reviews[].author string reviews[].rating integer reviews[].date null reviews[].text string fetched_at string age integer - Category
GET /categoryBrowse a recipe category: its subcategories and the recipes/articles listed on it. The default (/recipes/) is the root index of all top-level categories.
Parameters and response fields for GET /category
Request parameters Name Type / location Required Description url string / query No category URL or path, e.g. /recipes/201/meat-and-poultry/chicken/ Response fields Field Type Description url string title string description string breadcrumbs string[] subcategories object[] subcategories[].name string subcategories[].url string items object[] items[].title string items[].url string items[].type string items[].doc_id string items[].tag string items[].image string items[].stars null items[].rating_count null fetched_at string age integer
Export allrecipes.com data to CSV
Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.
| List | CSV columns |
|---|---|
SearchGET /search | title, url, type, doc_id, tag, image, stars, rating_count |
A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work
allrecipes.com API questions
What you get, what it costs and how to call it.
Is there an official allrecipes.com API?
This allrecipes.com API is not official. It is an independent, hosted API from maviapi for the public data on allrecipes.com, and it is not made, endorsed or supported by allrecipes.com. Whether allrecipes.com offers a developer API of its own is a question for allrecipes.com. This one is ready to call with a maviapi key, and every endpoint and field it returns is documented on this page.
What data can I get from the allrecipes.com API?
The allrecipes.com API has 4 endpoints. Each returns JSON with the parameters and fields documented above:
- GET
/article: Article or gallery (recipe roundup) detail: metadata, body text and listed items with recipe links. - GET
/search: Search recipes and articles on Allrecipes (24 results per page). - GET
/recipe: Full recipe detail: ingredients, steps, times, nutrition, rating, sample reviews. - GET
/category: Browse a recipe category: its subcategories and the recipes/articles listed on it.
How much does the allrecipes.com API cost?
Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Basic plan ($19 a month for 25,000 credits), 1,000 calls cost about $3.80. Failed calls are free. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the allrecipes.com API?
Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /article:
curl 'https://api.maviapi.com/v1/sites/allrecipes/article' \
-H "Authorization: Bearer $MAVI_KEY"Create a key on your API keys page, or try any endpoint first in the console above with the free test key.
What are the ways to get allrecipes.com data as JSON?
Each way to get allrecipes.com data as JSON fits a different need:
- Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on allrecipes.com are yours. Better for a one-off pull from a page that rarely changes.
- Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
- RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
- maviapi: The allrecipes.com API on this page: 4 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.
What happens when allrecipes.com changes its layout?
Your code does not change. maviapi keeps the allrecipes.com API working when allrecipes.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.
Will an update break my allrecipes.com API integration?
No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.
Related APIs
- Tripadvisor API
Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…
- Eventbrite API
Events listed on Eventbrite for a city and date range: dates, venue with address and coordinates, image and summary…
- Songkick Concerts API
Upcoming concerts and music festivals in any city from Songkick, for a date window, with venues, performers, prices…