Allrecipes recipe API
Use the Allrecipes recipe API to retrieve ingredients and quantities, nutrition information, author information, publication dates, preparation and cooking times and recipe yield as structured JSON from Allrecipes. Supply record identifier in the query. Use these results to compare ingredients and preparation information when organizing a structured recipe collection. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent Allrecipes recipe API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
additional_timenullauthorstringbreadcrumbsobject[]namestringurlstring
cachedbooleancategorystring[]cook_timestringcredits_usedintegercuisinestring[]date_modifiedstringdate_publishedstringdescriptionstringdetailsobjectcook_timestringprep_timestringservingsstringtotal_timestringyieldstring
direction_imagesstring[]directionsstring[]doc_idintegerfetched_atstringidintegerimagesstring[]ingredient_groupsunknown[]ingredientsstring[]ingredients_structuredobject[]namestringquantitystringtextstringunitstring
introstringkeywordsstringnamestringnutritionobjectcaloriesstringcarbohydrateContentstringcholesterolContentstringfatContentstringfiberContentstringproteinContentstringsaturatedFatContentstringsodiumContentstringunsaturatedFatContentstring
nutrition_factsstring[][]photo_countintegerprep_timestringratingnumberrating_countintegerreview_countintegerreviews_endpointstringservingsstringtimes_isoobjectcookstringprepstringtotalstring
top_reviewsobject[]authorstringbodystringdatenull | stringratinginteger
total_timestringupdatedstringurlstringvideostringyieldstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
additional_time?: null;
author?: string;
breadcrumbs?: Array<{
name?: string;
url?: string;
}>;
cached?: boolean;
category?: Array<string>;
cook_time?: string;
credits_used?: number;
cuisine?: Array<string>;
date_modified?: string;
date_published?: string;
description?: string;
details?: {
cook_time?: string;
prep_time?: string;
servings?: string;
total_time?: string;
yield?: string;
};
direction_images?: Array<string>;
directions?: Array<string>;
doc_id?: number;
fetched_at?: string;
id?: number;
images?: Array<string>;
ingredient_groups?: Array<unknown>;
ingredients?: Array<string>;
ingredients_structured?: Array<{
name?: string;
quantity?: string;
text?: string;
unit?: string;
}>;
intro?: string;
keywords?: string;
name?: string;
nutrition?: {
calories?: string;
carbohydrateContent?: string;
cholesterolContent?: string;
fatContent?: string;
fiberContent?: string;
proteinContent?: string;
saturatedFatContent?: string;
sodiumContent?: string;
unsaturatedFatContent?: string;
};
nutrition_facts?: Array<Array<string>>;
photo_count?: number;
prep_time?: string;
rating?: number;
rating_count?: number;
review_count?: number;
reviews_endpoint?: string;
servings?: string;
times_iso?: {
cook?: string;
prep?: string;
total?: string;
};
top_reviews?: Array<{
author?: string;
body?: string;
date?: null | string;
rating?: number;
}>;
total_time?: string;
updated?: string;
url?: string;
video?: string;
yield?: string;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/allrecipes/v1/recipe- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/apish/allrecipes/v1/recipe?id=https%3A%2F%2Fwww.allrecipes.com%2Frecipe%2F10813%2Fbest-chocolate-chip-cookies%2F&output=json&raw=0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
id | URL query parametersquery | string | Yes | The recipe's allrecipes.com link, or its id with the name part, e.g. `10813/best-chocolate-chip-cookies` (the site needs both). |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"additional_time": null,
"author": "Dora",
"breadcrumbs": [
{
"name": "Recipes",
"url": "https://www.allrecipes.com/recipes/"
},
{
"name": "Desserts",
"url": "https://www.allrecipes.com/recipes/79/desserts/"
},
{
"name": "Cookies",
"url": "https://www.allrecipes.com/recipes/362/desserts/cookies/"
},
{
"name": "Chocolate Chip Cookie Recipes",
"url": "https://www.allrecipes.com/recipes/839/desserts/cookies/chocolate-chip-cookies/"
}
],
"cached": false,
"category": [
"Dessert"
],
"cook_time": "10 mins",
"credits_used": 1,
"cuisine": [
"American"
],
"date_modified": "2026-10-05T05:42:35-04:00",
"date_published": "1998-04-18T16:10:32-04:00",
"description": "This classic chocolate chip cookie recipe makes deliciously buttery cookies with crisp edges, chewy middles, and gooey chocolate chips in every bite.",
"details": {
"cook_time": "10 mins",
"prep_time": "20 mins",
"servings": "48",
"total_time": "30 mins",
"yield": "4 dozen cookies"
},
"direction_images": [
"https://www.allrecipes.com/thmb/R96Ob6S72KWjk_yQzHF-ZoKr7xI=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-ddmfs-3188-4x3-step-01-61fd6c03b33f40e0a8bd756cb56ecac1.jpg",
"https://www.allrecipes.com/thmb/08WyvFf-_Uro3FpO7wKBa4XbYrQ=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-2-1191-1b57f642a52849ce84a25c48363c4013.jpg",
"https://www.allrecipes.com/thmb/cSMqEbWr2i7p9txoV2r5yBG40PE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-3-121-f73dc5abc3454dfab534d8efc0e966e6.jpg",
"https://www.allrecipes.com/thmb/q-inn5OcNAF5p-nc1Cjutif6S80=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-4-123-abd5290df87f47668cbc8eef6587c292.jpg",
"https://www.allrecipes.com/thmb/fARCaPc7P3Xt9gqj-Zaiu_lgnlA=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-5-125-b755dee648e949129ad022d8b019b405.jpg",
"https://www.allrecipes.com/thmb/5mz97X8A3_Xe71iro5l_OWG54As=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-6-128-44e1d4355a6a4441a3ba993e2a2b74fa.jpg",
"https://www.allrecipes.com/thmb/ddBSH-nv0DG13JpE-Hsrag0PYuE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-7-134-e0952f5171a2434dbb2b3bb53b18648a.jpg",
"https://www.allrecipes.com/thmb/AHGMEqFyhPcKvGqeDwbP37ab_RM=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-8-138-d4f25b55db5c417b9d6ece8cf98700f3.jpg",
"https://www.allrecipes.com/thmb/YJuE52MqD2F1XYTP_a4lGGG5A44=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-146-4x3-b108aceffa6043a1ac81c3c5a9b034c8.jpg"
],
"directions": [
"Gather your ingredients, making sure your butter is softened, and your eggs are room temperature.",
"Preheat the oven to 350 degrees F (175 degrees C). Beat butter, white sugar, and brown sugar together in a large bowl with an electric mixer until light and creamy, about 4 minutes.",
"Beat in eggs, one at a time, then stir in vanilla.",
"Dissolve baking soda in hot water; add to batter along with salt and mix until combined.",
"Stir in flour just until no dry streaks remain. Fold in chocolate chips and walnuts, if using, until evenly distributed.",
"Drop rounded 1 ½-tablespoon portions of dough 2 inches apart onto ungreased baking sheets, using a medium cookie scoop if desired.",
"Bake in the preheated oven until the edges are lightly browned and the centers are just set, about 10 minutes.",
"Let the cookies cool briefly on the baking sheets, then transfer them to a wire rack to cool completely.",
"Serve or store cooled cookies in an airtight container."
],
"doc_id": 6649624,
"fetched_at": "2026-11-19T12:19:48.746Z",
"id": 10813,
"images": [
"https://www.allrecipes.com/thmb/8xwaWAHtl_QLij6D-G0Z4B1HDVA=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/10813-best-chocolate-chip-cookies-mfs-146-4x3-b108aceffa6043a1ac81c3c5a9b034c8.jpg"
],
"ingredient_groups": [],
"ingredients": [
"1 cup butter, softened",
"1 cup white sugar",
"1 cup packed brown sugar",
"2 eggs",
"2 teaspoons vanilla extract",
"1 teaspoon baking soda",
"2 teaspoons hot water",
"0.5 teaspoon salt",
"3 cups all-purpose flour",
"2 cups semisweet chocolate chips",
"1 cup chopped walnuts"
],
"ingredients_structured": [
{
"name": "butter, softened",
"quantity": "1",
"text": "1 cup butter, softened",
"unit": "cup"
},
{
"name": "white sugar",
"quantity": "1",
"text": "1 cup white sugar",
"unit": "cup"
},
{
"name": "packed brown sugar",
"quantity": "1",
"text": "1 cup packed brown sugar",
"unit": "cup"
},
{
"name": "eggs",
"quantity": "2",
"text": "2 large eggs",
"unit": "large"
},
{
"name": "vanilla extract",
"quantity": "2",
"text": "2 teaspoons vanilla extract",
"unit": "teaspoons"
},
{
"name": "baking soda",
"quantity": "1",
"text": "1 teaspoon baking soda",
"unit": "teaspoon"
},
{
"name": "hot water",
"quantity": "2",
"text": "2 teaspoons hot water",
"unit": "teaspoons"
},
{
"name": "salt",
"quantity": "½",
"text": "½ teaspoon salt",
"unit": "teaspoon"
},
{
"name": "all-purpose flour",
"quantity": "3",
"text": "3 cups all-purpose flour",
"unit": "cups"
},
{
"name": "semisweet chocolate chips",
"quantity": "2",
"text": "2 cups semisweet chocolate chips",
"unit": "cups"
},
{
"name": "chopped walnuts",
"quantity": "1",
"text": "1 cup chopped walnuts",
"unit": "cup"
}
],
"intro": "This chocolate chip cookie recipe makes dozens of delicious cookies with crisp edges, chewy centers, and plenty of chocolate chips.",
"keywords": "publisher-tested",
"name": "Best Chocolate Chip Cookies",
"nutrition": {
"calories": "146 kcal",
"carbohydrateContent": "19 g",
"cholesterolContent": "10 mg",
"fatContent": "8 g",
"fiberContent": "1 g",
"proteinContent": "2 g",
"saturatedFatContent": "4 g",
"sodiumContent": "76 mg",
"unsaturatedFatContent": "0 g"
},
"nutrition_facts": [
[
"146",
"Calories"
],
[
"8g",
"Fat"
],
[
"19g",
"Carbs"
],
[
"2g",
"Protein"
],
[
"Nutrition Facts"
],
[
"Servings Per Recipe 48"
],
[
"Calories 146"
],
[
"% Daily Value *"
],
[
"Total Carbohydrate 19g",
"7%"
],
[
"Dietary Fiber 1g",
"3%"
],
[
"Protein 2g",
"3%"
],
[
"Total Fat 8g",
"10%"
],
[
"Saturated Fat 4g",
"19%"
],
[
"Cholesterol 10mg",
"3%"
],
[
"Sodium 76mg",
"3%"
],
[
"Calcium 11mg",
"1%"
],
[
"Iron 1mg",
"4%"
],
[
"Potassium 52mg",
"1%"
]
],
"photo_count": 4927,
"prep_time": "20 mins",
"rating": 4.6,
"rating_count": 19341,
"review_count": 14920,
"reviews_endpoint": "/allrecipes/v1/reviews?id=6649624",
"servings": "48",
"times_iso": {
"cook": "PT10M",
"prep": "PT20M",
"total": "PT30M"
},
"top_reviews": [
{
"author": "Chuck Sampson",
"body": "vERRY eXXCELLENT cOOOKIE! I worked 10 years as a baker and the recipe we used at the bake shop was similar except this recipe didn't call for any cream of tartar, so I added it to my version. I added 1/2 tspn. What it does is make the cookie crack better when baking which gives it a better appeal in appearance as appose to that smooth top looking cookie which I don't like. It doesn't do anything for flavor so if you don't care about whether its smooth or cracked then don't bother with the suggestion.",
"date": null,
"rating": 5
},
{
"author": "Jen Gerbrandt",
"body": "I've tried a lot of different chocolate chip cookie recipes and this is the best one by far! The only change I've made is to the sugar amounts: 1/2 cup white sugar and 1 1/2 cups brown sugar-I think it makes them chewier. I omit the nuts and in my oven they take about 12 minutes to bake. So yummy!!",
"date": "2005-11-17T15:41:13.467Z",
"rating": 5
},
{
"author": "SPORTSNUT",
"body": "These chocolate chip cookies were very, very good. I have been trying chocolate chip cookie recipes forever to find the perfect cookie and this one is very close. They weren't too cake-like and they weren't thin and greasy, they were the perfect in-between cookie. That said, the dough is very thick once you mix all the ingredients together. A bit of advice - if you like a thinner cookie and not so cake-like, make a smaller ball of dough and when you place it on the cookie sheet be sure to flatten it quite a bit as the dough doesn't seem to spread when in the oven. If you like thick cookies, just leave them in the ball and they'll stay big. As the recipe states, they are crisp on the outside and chewy on the inside - still nice and moist the following day. I added some Skor toffee bits to the recipe and they turned out amazing - will definitely make again!! Thanks for sharing.",
"date": "2006-01-05T06:43:10.670Z",
"rating": 5
},
{
"author": "MommyFromSeattle",
"body": "Superb. I give 4 1/2 stars to the original recipe since it calls for 50/50 white & brown sugar. Since then, I've used ALL brown sugar and increased the salt to 2/3 teaspoons, and it was PERFECT. The flavor was a lot richer. I've tried 4 recipes from this site and I'm glad I finally found my Master recipe. Some of the other recipes on this site calls for pudding mix in the batter - which baffles me. This is an excellent cookie (soft and chewy) that has only good old-fashioned ingredients. Most importantly, it stays chewy, not hard. Look no further folks, this is the one. (For walnut sized dough balls, and I did roll them for a more uniform look, 11-12 min. was perfect. 10 min. was still a little doughy). TIP - if your cookies sit around for a few days (if that's possible) and gets a little dry, put a fresh slice of sandwich bread in the same container as the cookies and they will moisten right up.",
"date": "2008-02-05T15:28:09.803Z",
"rating": 4
},
{
"author": "cxgc5b24fd",
"body": "Perfect Chocolate Chip recipe. I did not use hot water or nuts and I rolled into two logs and wrapped in plastic wrap. Put both in large freezer bag and sliced and baked off when needed. I baked at 350 for 13 minutes (frozen).",
"date": "2022-01-06T22:53:07.457Z",
"rating": 5
},
{
"author": "Amy Mendivil",
"body": "This cookie was amazing! They baked perfectly in my oven at 325 for 12 minutes. I followed a couple suggestions of reducing white sugar to 1/2 C and increasing brown sugar to 1 1/2 C as well as adding 1 C of white chocolate chips. Instead of walnuts I added roasted pecan pieces to mine. My husband took one bite and said \"you're a goddess\" haha This will be my go-to cookie recipe",
"date": "2018-08-24T15:16:41.833Z",
"rating": 5
},
{
"author": "angelmuffin",
"body": "I did as another rater suggested: skipped dissolving baking soda in water and increased the vanilla to 1 tablespoon, and changed the sugar to 1/2 cup white and 1.5 cups brown. Baked for 12 minutes at 350 and OMG they taste like they came from a bakery! I have never made better cookies.\n\nI do not own a mixer and therefore make everything by hand, so this recipe seemed daunting at first... but with a little elbow grease, it was a snap.",
"date": "2012-05-31T23:06:14.880Z",
"rating": 5
},
{
"author": "litg8r",
"body": "These are awesome cookies. I followed the advice of others by making the following tweaks: (1) I used a half cup of sugar and one-and-a-half cups of brown sugar; (2) I omitted the water; (3) I added a teaspoon of cream of tartar to the batter; (4) I refrigerated the batter for at least an hour before scooping and baking. The cookies retained their shape and didn't spread when baked. I think the cream of tartar made a difference, and the cookies did not come out too cakey either! This recipe is going in my \"favorites\" cookbook.",
"date": "2025-06-21T22:03:07.018Z",
"rating": 5
},
{
"author": "Wickedella",
"body": "They came out a little more crunchy than I would've liked. I chilled the dough in the fridge for about 10 minutes. I also have a convection oven so I had to do about 14 minutes in the oven to get them to even be slightly brown, let cool on the pan for about 2 minutes before moving to the cooling rack. I used Ghirardelli chocolate chips and had a great flavor with those.",
"date": "2024-12-08T05:23:59.990Z",
"rating": 4
},
{
"author": "Lillian Hughes",
"body": "To make these as Christmas cookies, I used 1 cup plain white sugar and 1 cup of Moreno or pure cane unbleached sugar. I added a few drops peppermint essential oil. Then instead of plain chocolate chips, I used a combination of crushed peppermint candy and chopped up Andes mints. They did take longer to bake than the recipe said, about 15 minutes.",
"date": "2024-12-05T21:53:04.482Z",
"rating": 4
},
{
"author": "Amy Gates",
"body": "Best cookies I have ever made. I will say that you should weigh your flour in grams. All-Purpose flours weighs 120 grams per cup. If you sift the flour into a cup you will have the right amount but if you just dip the cup in the flour you will get too much. This will end up making the cookies had and not turn out right. Just over 2 cups resulted the in correct weight in grams I needed for the recipe. No one sifts flour anymore and when you are baking it makes a huge difference. I would suggest trying the recipe again weighing the flour if you did not get good results. Also, blend the butter and sugar thoroughly (room temperature no salt added butter is a must). I will definitely make these again. I made exactly as stated.",
"date": "2024-09-16T15:57:50.614Z",
"rating": 5
},
{
"author": "MyRecipes Member",
"body": "These cookies turned out perfectly crisp on the outside and chewy in the middle. I baked them at 375°F for 12 minutes and they were exactly right. Easy recipe and delicious — will make again!",
"date": "2026-11-19T02:09:54.043Z",
"rating": 5
},
{
"author": "Acreage Mowing",
"body": "I went by the recipe the first time mine is a half a cup of white sugar. I've done several variations but overall it's a good cookie. My latest version I still use half the white sugar with all the brown sugar and then I caramelize it I add a little bit of oatmeal and a walnuts. I have to add a little bit more flour because the water during caramelization makes a little bit too runny. I increase the cook time to 13 minutes. Even with the original recipe minus a half cup of sugar and all the other variations I've done it never does spread out like the ones in the picture. I end up with small diameter very thick chunky cookies.",
"date": "2026-11-17T00:00:44.326Z",
"rating": 4
},
{
"author": "ginao",
"body": "Great recipe. Good texture, nice crumb. Tweaks: I held back some flour after reading others’ reviews, using 1/4 cup less in the end. They took a lot longer than 10 mins to bake, more like 16-18? Also, I finished them with some kosher sea salt.",
"date": "2026-11-13T23:07:58.463Z",
"rating": 4
},
{
"author": "Chef",
"body": "A bit doughy and puffy but great taste. Will tweak to match my taste.",
"date": "2026-11-13T04:00:50.102Z",
"rating": 2
},
{
"author": "Linda Park",
"body": "The dough was very thick and sticky. I made/baked as directed. The cookies were too hard and crispy. No soft centers. I was very disappointed and will never make this recipe again.",
"date": "2026-11-12T09:19:30.784Z",
"rating": 1
},
{
"author": "Michelle Grimes",
"body": "I was told by my Family these were the best cookies I have ever made. I did a half batch. There are only 2 cookies left 15 hours later.",
"date": "2026-11-11T13:45:43.037Z",
"rating": 5
},
{
"author": "cherielh",
"body": "The amount of chewiness we like.",
"date": "2026-11-09T00:39:26.997Z",
"rating": 5
},
{
"author": "sophie",
"body": "Amazing !",
"date": "2026-11-07T02:25:41.089Z",
"rating": 5
},
{
"author": "Katerina",
"body": "easy but tooo much flour",
"date": "2026-10-31T22:24:50.434Z",
"rating": 5
}
],
"total_time": "30 mins",
"updated": "Updated on October 5, 2026",
"url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/",
"video": "https://content.jwplatform.com/videos/qHQSNVCK-K3AjnAEN.mp4",
"yield": "4 dozen cookies"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits used | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Allrecipes recipe API
Use the Allrecipes recipe API to retrieve ingredients and quantities, nutrition information, author information, publication dates, preparation and cooking times and recipe yield as structured JSON from Allrecipes. Supply record identifier in the query. Use these results to compare ingredients and preparation information when organizing a structured recipe collection. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
## Available implementations
apish · Allrecipes recipe API: https://openany.si/markets/apis/capabilities/allrecipes-recipe-api?offering=56ee8a79-ef7c-47c6-921e-1681aa6ee169 · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/allrecipes-recipe-api
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/allrecipes/v1/recipe
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/apish/allrecipes/v1/recipe?id=https%3A%2F%2Fwww.allrecipes.com%2Frecipe%2F10813%2Fbest-chocolate-chip-cookies%2F&output=json&raw=0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Allrecipes recipe API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/allrecipes/v1/recipe",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "The recipe's allrecipes.com link, or its id with the name part, e.g. `10813/best-chocolate-chip-cookies` (the site needs both).",
"location": "query",
"name": "id",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits used",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"id": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/",
"output": "json",
"raw": "0"
}
},
"response_body": {
"additional_time": null,
"author": "Dora",
"breadcrumbs": [
{
"name": "Recipes",
"url": "https://www.allrecipes.com/recipes/"
},
{
"name": "Desserts",
"url": "https://www.allrecipes.com/recipes/79/desserts/"
},
{
"name": "Cookies",
"url": "https://www.allrecipes.com/recipes/362/desserts/cookies/"
},
{
"name": "Chocolate Chip Cookie Recipes",
"url": "https://www.allrecipes.com/recipes/839/desserts/cookies/chocolate-chip-cookies/"
}
],
"cached": false,
"category": [
"Dessert"
],
"cook_time": "10 mins",
"credits_used": 1,
"cuisine": [
"American"
],
"date_modified": "2026-10-05T05:42:35-04:00",
"date_published": "1998-04-18T16:10:32-04:00",
"description": "This classic chocolate chip cookie recipe makes deliciously buttery cookies with crisp edges, chewy middles, and gooey chocolate chips in every bite.",
"details": {
"cook_time": "10 mins",
"prep_time": "20 mins",
"servings": "48",
"total_time": "30 mins",
"yield": "4 dozen cookies"
},
"direction_images": [
"https://www.allrecipes.com/thmb/R96Ob6S72KWjk_yQzHF-ZoKr7xI=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-ddmfs-3188-4x3-step-01-61fd6c03b33f40e0a8bd756cb56ecac1.jpg",
"https://www.allrecipes.com/thmb/08WyvFf-_Uro3FpO7wKBa4XbYrQ=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-2-1191-1b57f642a52849ce84a25c48363c4013.jpg",
"https://www.allrecipes.com/thmb/cSMqEbWr2i7p9txoV2r5yBG40PE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-3-121-f73dc5abc3454dfab534d8efc0e966e6.jpg",
"https://www.allrecipes.com/thmb/q-inn5OcNAF5p-nc1Cjutif6S80=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-4-123-abd5290df87f47668cbc8eef6587c292.jpg",
"https://www.allrecipes.com/thmb/fARCaPc7P3Xt9gqj-Zaiu_lgnlA=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-5-125-b755dee648e949129ad022d8b019b405.jpg",
"https://www.allrecipes.com/thmb/5mz97X8A3_Xe71iro5l_OWG54As=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-6-128-44e1d4355a6a4441a3ba993e2a2b74fa.jpg",
"https://www.allrecipes.com/thmb/ddBSH-nv0DG13JpE-Hsrag0PYuE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-7-134-e0952f5171a2434dbb2b3bb53b18648a.jpg",
"https://www.allrecipes.com/thmb/AHGMEqFyhPcKvGqeDwbP37ab_RM=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-step-8-138-d4f25b55db5c417b9d6ece8cf98700f3.jpg",
"https://www.allrecipes.com/thmb/YJuE52MqD2F1XYTP_a4lGGG5A44=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/10813-best-chocolate-chip-cookies-mfs-146-4x3-b108aceffa6043a1ac81c3c5a9b034c8.jpg"
],
"directions": [
"Gather your ingredients, making sure your butter is softened, and your eggs are room temperature.",
"Preheat the oven to 350 degrees F (175 degrees C). Beat butter, white sugar, and brown sugar together in a large bowl with an electric mixer until light and creamy, about 4 minutes.",
"Beat in eggs, one at a time, then stir in vanilla.",
"Dissolve baking soda in hot water; add to batter along with salt and mix until combined.",
"Stir in flour just until no dry streaks remain. Fold in chocolate chips and walnuts, if using, until evenly distributed.",
"Drop rounded 1 ½-tablespoon portions of dough 2 inches apart onto ungreased baking sheets, using a medium cookie scoop if desired.",
"Bake in the preheated oven until the edges are lightly browned and the centers are just set, about 10 minutes.",
"Let the cookies cool briefly on the baking sheets, then transfer them to a wire rack to cool completely.",
"Serve or store cooled cookies in an airtight container."
],
"doc_id": 6649624,
"fetched_at": "2026-11-19T12:19:48.746Z",
"id": 10813,
"images": [
"https://www.allrecipes.com/thmb/8xwaWAHtl_QLij6D-G0Z4B1HDVA=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/10813-best-chocolate-chip-cookies-mfs-146-4x3-b108aceffa6043a1ac81c3c5a9b034c8.jpg"
],
"ingredient_groups": [],
"ingredients": [
"1 cup butter, softened",
"1 cup white sugar",
"1 cup packed brown sugar",
"2 eggs",
"2 teaspoons vanilla extract",
"1 teaspoon baking soda",
"2 teaspoons hot water",
"0.5 teaspoon salt",
"3 cups all-purpose flour",
"2 cups semisweet chocolate chips",
"1 cup chopped walnuts"
],
"ingredients_structured": [
{
"name": "butter, softened",
"quantity": "1",
"text": "1 cup butter, softened",
"unit": "cup"
},
{
"name": "white sugar",
"quantity": "1",
"text": "1 cup white sugar",
"unit": "cup"
},
{
"name": "packed brown sugar",
"quantity": "1",
"text": "1 cup packed brown sugar",
"unit": "cup"
},
{
"name": "eggs",
"quantity": "2",
"text": "2 large eggs",
"unit": "large"
},
{
"name": "vanilla extract",
"quantity": "2",
"text": "2 teaspoons vanilla extract",
"unit": "teaspoons"
},
{
"name": "baking soda",
"quantity": "1",
"text": "1 teaspoon baking soda",
"unit": "teaspoon"
},
{
"name": "hot water",
"quantity": "2",
"text": "2 teaspoons hot water",
"unit": "teaspoons"
},
{
"name": "salt",
"quantity": "½",
"text": "½ teaspoon salt",
"unit": "teaspoon"
},
{
"name": "all-purpose flour",
"quantity": "3",
"text": "3 cups all-purpose flour",
"unit": "cups"
},
{
"name": "semisweet chocolate chips",
"quantity": "2",
"text": "2 cups semisweet chocolate chips",
"unit": "cups"
},
{
"name": "chopped walnuts",
"quantity": "1",
"text": "1 cup chopped walnuts",
"unit": "cup"
}
],
"intro": "This chocolate chip cookie recipe makes dozens of delicious cookies with crisp edges, chewy centers, and plenty of chocolate chips.",
"keywords": "publisher-tested",
"name": "Best Chocolate Chip Cookies",
"nutrition": {
"calories": "146 kcal",
"carbohydrateContent": "19 g",
"cholesterolContent": "10 mg",
"fatContent": "8 g",
"fiberContent": "1 g",
"proteinContent": "2 g",
"saturatedFatContent": "4 g",
"sodiumContent": "76 mg",
"unsaturatedFatContent": "0 g"
},
"nutrition_facts": [
[
"146",
"Calories"
],
[
"8g",
"Fat"
],
[
"19g",
"Carbs"
],
[
"2g",
"Protein"
],
[
"Nutrition Facts"
],
[
"Servings Per Recipe 48"
],
[
"Calories 146"
],
[
"% Daily Value *"
],
[
"Total Carbohydrate 19g",
"7%"
],
[
"Dietary Fiber 1g",
"3%"
],
[
"Protein 2g",
"3%"
],
[
"Total Fat 8g",
"10%"
],
[
"Saturated Fat 4g",
"19%"
],
[
"Cholesterol 10mg",
"3%"
],
[
"Sodium 76mg",
"3%"
],
[
"Calcium 11mg",
"1%"
],
[
"Iron 1mg",
"4%"
],
[
"Potassium 52mg",
"1%"
]
],
"photo_count": 4927,
"prep_time": "20 mins",
"rating": 4.6,
"rating_count": 19341,
"review_count": 14920,
"reviews_endpoint": "/allrecipes/v1/reviews?id=6649624",
"servings": "48",
"times_iso": {
"cook": "PT10M",
"prep": "PT20M",
"total": "PT30M"
},
"top_reviews": [
{
"author": "Chuck Sampson",
"body": "vERRY eXXCELLENT cOOOKIE! I worked 10 years as a baker and the recipe we used at the bake shop was similar except this recipe didn't call for any cream of tartar, so I added it to my version. I added 1/2 tspn. What it does is make the cookie crack better when baking which gives it a better appeal in appearance as appose to that smooth top looking cookie which I don't like. It doesn't do anything for flavor so if you don't care about whether its smooth or cracked then don't bother with the suggestion.",
"date": null,
"rating": 5
},
{
"author": "Jen Gerbrandt",
"body": "I've tried a lot of different chocolate chip cookie recipes and this is the best one by far! The only change I've made is to the sugar amounts: 1/2 cup white sugar and 1 1/2 cups brown sugar-I think it makes them chewier. I omit the nuts and in my oven they take about 12 minutes to bake. So yummy!!",
"date": "2005-11-17T15:41:13.467Z",
"rating": 5
},
{
"author": "SPORTSNUT",
"body": "These chocolate chip cookies were very, very good. I have been trying chocolate chip cookie recipes forever to find the perfect cookie and this one is very close. They weren't too cake-like and they weren't thin and greasy, they were the perfect in-between cookie. That said, the dough is very thick once you mix all the ingredients together. A bit of advice - if you like a thinner cookie and not so cake-like, make a smaller ball of dough and when you place it on the cookie sheet be sure to flatten it quite a bit as the dough doesn't seem to spread when in the oven. If you like thick cookies, just leave them in the ball and they'll stay big. As the recipe states, they are crisp on the outside and chewy on the inside - still nice and moist the following day. I added some Skor toffee bits to the recipe and they turned out amazing - will definitely make again!! Thanks for sharing.",
"date": "2006-01-05T06:43:10.670Z",
"rating": 5
},
{
"author": "MommyFromSeattle",
"body": "Superb. I give 4 1/2 stars to the original recipe since it calls for 50/50 white & brown sugar. Since then, I've used ALL brown sugar and increased the salt to 2/3 teaspoons, and it was PERFECT. The flavor was a lot richer. I've tried 4 recipes from this site and I'm glad I finally found my Master recipe. Some of the other recipes on this site calls for pudding mix in the batter - which baffles me. This is an excellent cookie (soft and chewy) that has only good old-fashioned ingredients. Most importantly, it stays chewy, not hard. Look no further folks, this is the one. (For walnut sized dough balls, and I did roll them for a more uniform look, 11-12 min. was perfect. 10 min. was still a little doughy). TIP - if your cookies sit around for a few days (if that's possible) and gets a little dry, put a fresh slice of sandwich bread in the same container as the cookies and they will moisten right up.",
"date": "2008-02-05T15:28:09.803Z",
"rating": 4
},
{
"author": "cxgc5b24fd",
"body": "Perfect Chocolate Chip recipe. I did not use hot water or nuts and I rolled into two logs and wrapped in plastic wrap. Put both in large freezer bag and sliced and baked off when needed. I baked at 350 for 13 minutes (frozen).",
"date": "2022-01-06T22:53:07.457Z",
"rating": 5
},
{
"author": "Amy Mendivil",
"body": "This cookie was amazing! They baked perfectly in my oven at 325 for 12 minutes. I followed a couple suggestions of reducing white sugar to 1/2 C and increasing brown sugar to 1 1/2 C as well as adding 1 C of white chocolate chips. Instead of walnuts I added roasted pecan pieces to mine. My husband took one bite and said \"you're a goddess\" haha This will be my go-to cookie recipe",
"date": "2018-08-24T15:16:41.833Z",
"rating": 5
},
{
"author": "angelmuffin",
"body": "I did as another rater suggested: skipped dissolving baking soda in water and increased the vanilla to 1 tablespoon, and changed the sugar to 1/2 cup white and 1.5 cups brown. Baked for 12 minutes at 350 and OMG they taste like they came from a bakery! I have never made better cookies.\n\nI do not own a mixer and therefore make everything by hand, so this recipe seemed daunting at first... but with a little elbow grease, it was a snap.",
"date": "2012-05-31T23:06:14.880Z",
"rating": 5
},
{
"author": "litg8r",
"body": "These are awesome cookies. I followed the advice of others by making the following tweaks: (1) I used a half cup of sugar and one-and-a-half cups of brown sugar; (2) I omitted the water; (3) I added a teaspoon of cream of tartar to the batter; (4) I refrigerated the batter for at least an hour before scooping and baking. The cookies retained their shape and didn't spread when baked. I think the cream of tartar made a difference, and the cookies did not come out too cakey either! This recipe is going in my \"favorites\" cookbook.",
"date": "2025-06-21T22:03:07.018Z",
"rating": 5
},
{
"author": "Wickedella",
"body": "They came out a little more crunchy than I would've liked. I chilled the dough in the fridge for about 10 minutes. I also have a convection oven so I had to do about 14 minutes in the oven to get them to even be slightly brown, let cool on the pan for about 2 minutes before moving to the cooling rack. I used Ghirardelli chocolate chips and had a great flavor with those.",
"date": "2024-12-08T05:23:59.990Z",
"rating": 4
},
{
"author": "Lillian Hughes",
"body": "To make these as Christmas cookies, I used 1 cup plain white sugar and 1 cup of Moreno or pure cane unbleached sugar. I added a few drops peppermint essential oil. Then instead of plain chocolate chips, I used a combination of crushed peppermint candy and chopped up Andes mints. They did take longer to bake than the recipe said, about 15 minutes.",
"date": "2024-12-05T21:53:04.482Z",
"rating": 4
},
{
"author": "Amy Gates",
"body": "Best cookies I have ever made. I will say that you should weigh your flour in grams. All-Purpose flours weighs 120 grams per cup. If you sift the flour into a cup you will have the right amount but if you just dip the cup in the flour you will get too much. This will end up making the cookies had and not turn out right. Just over 2 cups resulted the in correct weight in grams I needed for the recipe. No one sifts flour anymore and when you are baking it makes a huge difference. I would suggest trying the recipe again weighing the flour if you did not get good results. Also, blend the butter and sugar thoroughly (room temperature no salt added butter is a must). I will definitely make these again. I made exactly as stated.",
"date": "2024-09-16T15:57:50.614Z",
"rating": 5
},
{
"author": "MyRecipes Member",
"body": "These cookies turned out perfectly crisp on the outside and chewy in the middle. I baked them at 375°F for 12 minutes and they were exactly right. Easy recipe and delicious — will make again!",
"date": "2026-11-19T02:09:54.043Z",
"rating": 5
},
{
"author": "Acreage Mowing",
"body": "I went by the recipe the first time mine is a half a cup of white sugar. I've done several variations but overall it's a good cookie. My latest version I still use half the white sugar with all the brown sugar and then I caramelize it I add a little bit of oatmeal and a walnuts. I have to add a little bit more flour because the water during caramelization makes a little bit too runny. I increase the cook time to 13 minutes. Even with the original recipe minus a half cup of sugar and all the other variations I've done it never does spread out like the ones in the picture. I end up with small diameter very thick chunky cookies.",
"date": "2026-11-17T00:00:44.326Z",
"rating": 4
},
{
"author": "ginao",
"body": "Great recipe. Good texture, nice crumb. Tweaks: I held back some flour after reading others’ reviews, using 1/4 cup less in the end. They took a lot longer than 10 mins to bake, more like 16-18? Also, I finished them with some kosher sea salt.",
"date": "2026-11-13T23:07:58.463Z",
"rating": 4
},
{
"author": "Chef",
"body": "A bit doughy and puffy but great taste. Will tweak to match my taste.",
"date": "2026-11-13T04:00:50.102Z",
"rating": 2
},
{
"author": "Linda Park",
"body": "The dough was very thick and sticky. I made/baked as directed. The cookies were too hard and crispy. No soft centers. I was very disappointed and will never make this recipe again.",
"date": "2026-11-12T09:19:30.784Z",
"rating": 1
},
{
"author": "Michelle Grimes",
"body": "I was told by my Family these were the best cookies I have ever made. I did a half batch. There are only 2 cookies left 15 hours later.",
"date": "2026-11-11T13:45:43.037Z",
"rating": 5
},
{
"author": "cherielh",
"body": "The amount of chewiness we like.",
"date": "2026-11-09T00:39:26.997Z",
"rating": 5
},
{
"author": "sophie",
"body": "Amazing !",
"date": "2026-11-07T02:25:41.089Z",
"rating": 5
},
{
"author": "Katerina",
"body": "easy but tooo much flour",
"date": "2026-10-31T22:24:50.434Z",
"rating": 5
}
],
"total_time": "30 mins",
"updated": "Updated on October 5, 2026",
"url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/",
"video": "https://content.jwplatform.com/videos/qHQSNVCK-K3AjnAEN.mp4",
"yield": "4 dozen cookies"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
id- The recipe's allrecipes.com link, or its id with the name part, e.g. `10813/best-chocolate-chip-cookies` (the site needs both).
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/allrecipes/v1/recipe?id=https%3A%2F%2Fwww.allrecipes.com%2Frecipe%2F10813%2Fbest-chocolate-chip-cookies%2F&output=json&raw=0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response