Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIAllrecipes

    allrecipes.recipe

    One recipe's page on Allrecipes: ingredients, steps, times, servings, nutrition per serving, rating and categories.

    Id
    allrecipes.recipe
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/allrecipes.recipe/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of allrecipes.recipe
    FieldTypeDescription
    urlrequiredstringThe recipe's address on allrecipes.com, e.g. https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/.Limit: at least 1 characters, at most 2048 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of allrecipes.recipe
    FieldTypeNotes
    urlstringThe recipe's address.
    recipe_idstring or nullAllrecipes's number of the recipe, when its address carries one.
    namestringThe recipe's title.
    descriptionstring or nullThe summary under the title.
    authorsarray of stringThe byline: who the page credits the recipe to, as printed.
    published_atstring (date-time) or nullWhen the recipe was first published, in UTC.
    modified_atstring (date-time) or nullWhen the page was last updated, in UTC.
    ratingnumber or nullAverage rating, 1 to 5; null when the recipe has no ratings.
    rating_countinteger or nullNumber of ratings.
    prep_minutesinteger or nullPreparation time in minutes.
    cook_minutesinteger or nullCooking time in minutes.
    total_minutesinteger or nullTotal time in minutes, as the page states it (it can include resting or chilling time).
    servingsinteger or nullHow many servings the recipe makes, when the page gives a number.
    recipe_yieldstring or nullWhat the recipe makes in the page's words, e.g. "4 dozen cookies"; null when it states only a number of servings.
    ingredientsarray of stringThe ingredients, one per item, with their quantities, as printed.
    stepsarray of stringThe directions, one step per item, in order.
    categoriesarray of stringThe kinds of dish the page names, e.g. Dessert, Dinner.
    cuisinesarray of stringThe cuisines the page names, e.g. American, Italian.
    nutritionarray of objectThe nutrition facts per serving, in the page's order.
    name (in nutrition[])stringWhat is measured, e.g. calories, protein, sodium, saturated fat.
    amount (in nutrition[])stringThe amount per serving with its unit, as the page states it, e.g. "146 kcal", "19 g".
    breadcrumbsarray of objectThe categories the recipe is filed under, from the widest down.
    name (in breadcrumbs[])stringThe category's name.
    url (in breadcrumbs[])string or nullThe category's page.
    imagestring or nullThe recipe's main picture.
    videostring or nullThe address of the recipe's video file, when it has a video.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/allrecipes.recipe/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"url":"https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("allrecipes.recipe", {
        "url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("allrecipes.recipe", {
      url: "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "allrecipes.recipe", map[string]any{"url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("allrecipes.recipe", Map.of("url", "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run allrecipes.recipe --input url=https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "allrecipes.recipe",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "url": "https://www.allrecipes.com/recipe/10813/best-chocolate-chip-cookies/",
          "recipe_id": "10813",
          "name": "Best Chocolate Chip Cookies",
          "description": "This classic chocolate chip cookie recipe makes deliciously buttery cookies with crisp edges, chewy middles, and gooey chocolate chips in every bite.",
          "authors": [
            "Dora"
          ],
          "published_at": "1998-04-18T20:10:32Z",
          "modified_at": "2026-10-05T09:42:35Z",
          "rating": 4.6,
          "rating_count": 19340,
          "prep_minutes": 20,
          "cook_minutes": 10,
          "total_minutes": 30,
          "servings": 48,
          "recipe_yield": "4 dozen cookies",
          "ingredients": [
            "1 cup butter, softened",
            "1 cup white sugar",
            "1 cup packed brown sugar"
          ],
          "steps": [
            "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."
          ],
          "categories": [
            "Dessert"
          ],
          "cuisines": [
            "American"
          ],
          "nutrition": [
            {
              "name": "calories",
              "amount": "146 kcal"
            },
            {
              "name": "fat",
              "amount": "8 g"
            },
            {
              "name": "saturated fat",
              "amount": "4 g"
            }
          ],
          "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/"
            }
          ],
          "image": "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",
          "video": "https://content.jwplatform.com/videos/qHQSNVCK-K3AjnAEN.mp4",
          "fetched_at": "2026-11-19T18:07:38.199049Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: ingredients: 11 items, the first 3 shown.
    • Shortened: steps: 9 items, the first 3 shown.
    • Shortened: nutrition: 9 items, the first 3 shown.
    • Shortened: breadcrumbs: 4 items, the first 3 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Allrecipes scrapers are in their own section there.