# Recipe Extractor: Ingredients, Steps & Nutrition from Any URL (`plotpointtech/recipe-extractor`) Actor

Turn recipe page URLs from almost any cooking site into structured data: title, ingredients, step-by-step instructions, prep/cook times, servings, nutrition, rating and image, from schema.org Recipe markup. $2.50 per 1,000 recipes.

- **URL**: https://apify.com/plotpointtech/recipe-extractor.md
- **Developed by:** [Plot Point Technologies](https://apify.com/plotpointtech) (community)
- **Categories:** E-commerce, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.55 / 1,000 recipe extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Recipe Extractor: Ingredients, Steps & Nutrition from Any URL

**Turn recipe page links into clean, structured recipe data for $2.50 per 1,000 recipes.** Give it URLs of recipe pages from almost any cooking website and get back the title, ingredients list, step-by-step instructions, prep, cook and total times, servings, nutrition, cuisine, category, rating and image. It reads the schema.org **Recipe** data that recipe sites publish for search engines (JSON-LD, with a microdata fallback), so it works on thousands of sites without custom code and without the ads and life stories around the recipe.

### What can this recipe extractor do?

- **Works on most recipe sites:** any page that publishes schema.org Recipe data, which includes WP Recipe Maker, Tasty Recipes and other WordPress recipe plugins and most large food publishers.
- **Ingredients as a clean list**, one per line, exactly as written on the page.
- **Instructions as numbered steps**, including recipes split into sections ("For the sauce: ...") and tips.
- **Times in minutes:** prep, cook and total, converted from formats like `PT1H15M`.
- **Servings** as a number plus the original yield text ("Makes 12", "serves 4").
- **Nutrition** per serving (calories, fat, carbohydrates, protein, sugar, sodium and more) when the site provides it.
- **Rating, rating count, category, cuisine, keywords, diet labels, author, publish date, image and video**.
- **Polite and safe:** obeys every site's robots.txt, paces requests per website and never logs in or bypasses paywalls.

### What data do you get?

| Field | Description |
|---|---|
| `url`, `name`, `description`, `image` | The recipe and its main photo |
| `ingredients`, `ingredientCount` | Ingredient lines |
| `instructions`, `stepCount` | Method, one step per item |
| `prepTimeMinutes`, `cookTimeMinutes`, `totalTimeMinutes` | Times in minutes |
| `recipeYield`, `servings` | Yield text and number of servings |
| `nutrition` | Calories, fat, carbohydrates, protein, sugar, sodium and more |
| `category`, `cuisine`, `keywords`, `suitableForDiet` | How the site classifies the recipe |
| `ratingValue`, `ratingCount` | Average rating and number of ratings |
| `author`, `publisher`, `datePublished`, `video` | Credits and media |
| `extractedFrom`, `scrapedAt` | `json-ld` or `microdata`, and when it was read |

### Who uses it?

- **Recipe, meal-planning and grocery apps** importing recipes users paste in ("save from any website").
- **Food bloggers and publishers** auditing their own recipe markup or migrating to a new site.
- **Nutrition and health apps** reading ingredients and nutrition facts to calculate meal plans.
- **AI and data teams** building recipe datasets from sites they are allowed to use.

### How to use it

1. Click **Try for free** (or **Start**).
2. Paste **Recipe page URLs**, one per line.
3. Run it and open the **Output** tab, or download the recipes as JSON, CSV or Excel.

### Input example

```json
{
  "startUrls": [
    { "url": "https://www.nhs.uk/healthier-families/recipes/baked-potatoes-with-mince/" },
    { "url": "https://www.example-food-blog.com/one-pot-pasta/" }
  ],
  "includeFailures": true
}
```

### Output example

From a real run with the default input (shortened):

```json
{
  "url": "https://www.nhs.uk/healthier-families/recipes/baked-potatoes-with-mince/",
  "name": "Baked potatoes with mince recipe",
  "publisher": "NHS Better Health - Healthier Families",
  "prepTimeMinutes": 15,
  "cookTimeMinutes": 60,
  "totalTimeMinutes": 75,
  "recipeYield": "serves 4",
  "servings": 4,
  "ingredients": ["4 baking potato, scrubbed clean", "250g extra-lean minced beef", "1 small onion, finely chopped", "..."],
  "ingredientCount": 10,
  "instructions": ["Preheat the oven to 200°C, fan 180°C, gas mark 6. Prick potatoes all over with a fork before baking for 1 hour, or until tender. ...", "..."],
  "stepCount": 7,
  "category": ["Dinner"],
  "suitableForDiet": ["GlutenFreeDiet"],
  "nutrition": { "calories": "306kcals", "carbohydrateContent": "44.4g", "fatContent": "3.5g", "proteinContent": "20.6g" },
  "extractedFrom": "json-ld"
}
```

### How much does it cost?

**$2.50 per 1,000 recipes** ($0.0025 each), plus a $0.00005 start fee per run. You only pay for pages that returned a recipe; pages without recipe data, blocked by robots.txt or unreachable are skipped and not charged.

| You extract | You pay |
|---|---|
| 1 recipe (default run) | $0.0025 |
| 1,000 recipes | $2.50 |
| 20,000 recipes | $50.00 |

**Volume discounts on higher Apify plans.** The prices above are for the Apify Free plan. On paid plans the price drops automatically: about 15% lower on Bronze, 25% lower on Silver and 38% lower on Gold and above.

### Use it via API, Make, Zapier, n8n or an AI agent

**Apify API.** Send a recipe URL and get the recipe back in one HTTP request (replace `YOUR_API_TOKEN` with the token from Apify Console > Settings > Integrations):

```bash
curl -X POST "https://api.apify.com/v2/acts/plotpointtech~recipe-extractor/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": [{"url": "https://www.example-food-blog.com/one-pot-pasta/"}]}'
```

Official `apify-client` libraries exist for Python and JavaScript; the **API** tab on this page has ready-made code.

**No-code automation.** Connect the tool to **Make, Zapier, n8n, Google Sheets, Notion, Airtable** or any webhook with Apify integrations.

**AI agents (MCP).** Give Claude, ChatGPT, Cursor or any MCP-compatible agent direct access through the hosted Apify MCP server:

```
https://mcp.apify.com?tools=plotpointtech/recipe-extractor
```

### FAQ

**Why did a page come back with no recipe?**
The page does not publish schema.org Recipe data, the site's robots.txt does not allow automated access, or the site blocks automated visitors. Turn on **List pages that failed** to get the reason for each page (free).

**Does it crawl a whole website?**
No. It reads the recipe pages you list. Use it on pages you are allowed to use; recipes and photos remain the property of their authors and publishers, so check a site's terms before republishing its content.

**Are the nutrition values calculated?**
No. Nutrition, times and ratings are exactly what the site publishes. If a site does not publish nutrition, the field is empty.

**Can it read recipes behind a login or paywall?**
No, and it never tries to.

### Related tools from Plot Point Technologies

- [News Article Extractor: Clean Text, Author, Date & Images](https://apify.com/plotpointtech/news-article-extractor): title, author, date and clean text from article URLs.
- [E-commerce Product Scraper - Any Store (Structured Data)](https://apify.com/plotpointtech/ecommerce-product-scraper-any-store): structured product data from shop pages.
- [Schema Markup Validator: Structured Data & Rich Results (Bulk)](https://apify.com/plotpointtech/schema-markup-validator): check a site's structured data, including Recipe markup.

Plot Point Technologies is not affiliated with any recipe website or with the NHS (source of the sample recipe). Questions: support@plotpoint.tech.

***

If this tool saved you time, we would be grateful for a short review on this page; it helps other people find it. If something did not work as expected, please open an issue on the **Issues** tab and we will look into it quickly.

# Actor input Schema

## `startUrls` (type: `array`):

Links to recipe pages on any website. Pages that publish schema.org Recipe data (almost every recipe site and WordPress recipe plugin) work.

## `maxConcurrency` (type: `integer`):

Pages fetched at once (each website is still paced politely).

## `includeFailures` (type: `boolean`):

Add a free record with the reason for each page that could not be read.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.nhs.uk/healthier-families/recipes/baked-potatoes-with-mince/"
    }
  ],
  "maxConcurrency": 5,
  "includeFailures": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.nhs.uk/healthier-families/recipes/baked-potatoes-with-mince/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plotpointtech/recipe-extractor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.nhs.uk/healthier-families/recipes/baked-potatoes-with-mince/" }] }

# Run the Actor and wait for it to finish
run = client.actor("plotpointtech/recipe-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.nhs.uk/healthier-families/recipes/baked-potatoes-with-mince/"
    }
  ]
}' |
apify call plotpointtech/recipe-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plotpointtech/recipe-extractor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5p4lSBixOuoAIQxrP/builds/3DUtauqs99bM2VHNW/openapi.json
