# Minimalist Baker Scraper (`thescrapelab/minimalist-baker-scraper`) Actor

Scrape Minimalist Baker recipes, individual reviews and threaded comments. Get ingredients, instructions, nutrition and dietary labels. $0.50 per 1,000 recipes; no extra comment fee.

- **URL**: https://apify.com/thescrapelab/minimalist-baker-scraper.md
- **Developed by:** [Inus Grobler](https://apify.com/thescrapelab) (community)
- **Categories:** Other, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 1,000 recipe delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Minimalist Baker Scraper

Scrape Minimalist Baker recipes, individual reviews and threaded comments for recipe apps, food research and recipe catalogues. Get grouped ingredients, cooking instructions, published nutrition, dietary labels and reader feedback, with links back to the original recipes and comments.

**$0.50 per 1,000 delivered recipes. No startup fee or additional review/comment fee.** No source login, cookies or separate data API subscription is required.

[Preview a real recipe as JSON](https://api.apify.com/v2/key-value-stores/bRwhmOj8zbhLZwN5K/records/sample-recipe.json) · [Download the CSV preview](https://api.apify.com/v2/key-value-stores/bRwhmOj8zbhLZwN5K/records/sample-recipe.csv)

These previews contain live-collected data, including comments and replies. Ratings and source content can change after collection.

### Who this is for

- **Recipe app developers:** preserve ingredient quantities, units, alternatives, notes and ordered cooking steps.
- **Food researchers and catalogue operators:** collect source-published nutrition and dietary labels with traceable recipe URLs.
- **Teams studying reader feedback:** retrieve rated reviews, questions and staff replies with IDs that preserve discussion threads.

### Quick start: collect 10 recipes

1. Open **Input** and keep the default recipe-index URL.
2. Keep **Maximum recipes** at 10. Choose a published dietary label if needed.
3. Click **Start**, then open **Output → Recipes**.
4. Use **Nutrition & diets**, **Reviews & comments**, or **Complete recipe records** for the output you need. Download JSON for complete nested records.

The default run collects up to 10 recipes and 50 comment entries per recipe. Its recipe charges are at most **$0.005**. Standard-run platform usage is included.

```json
{
  "startUrls": [{"url": "https://minimalistbaker.com/recipe-index/"}],
  "maxRecipes": 10,
  "diet": "all",
  "maxCommentsPerRecipe": 50
}
```

### Input reference

| Input | Default | What to provide |
| --- | --- | --- |
| `startUrls` | Recipe index | One or more public Minimalist Baker recipe URLs or recipe-index URLs. Up to 1,000 input URLs are accepted; recipe discovery follows index pagination. |
| `maxRecipes` | `10` | Maximum unique recipes delivered in this run, from `1` to `1000`. Collection can end earlier. |
| `diet` | `all` | `all`, `vegan`, `vegetarian`, `gluten-free`, `dairy-free` or `refined-sugar-free`. Filters use the source's published badges. |
| `maxCommentsPerRecipe` | `50` | Optional control under **Advanced discussion settings**. Maximum comment entries per recipe, including rated reviews and replies, from `0` to `10000`. Set `0` to skip discussion collection. |

**All recipes includes non-vegan recipes.** Dietary filters also apply to pasted recipe URLs. An absent badge is never inferred or treated as an allergen guarantee.

#### Scrape specific recipes and larger comment threads

Paste recipe URLs when you already have them. Increase the comment limit when you need more of a discussion:

```json
{
  "startUrls": [{"url": "https://minimalistbaker.com/warming-1-pot-chickpea-curry/"}],
  "maxRecipes": 1,
  "diet": "all",
  "maxCommentsPerRecipe": 1000
}
```

#### Collect vegan recipes

```json
{
  "startUrls": [{"url": "https://minimalistbaker.com/recipe-index/"}],
  "maxRecipes": 100,
  "diet": "vegan"
}
```

#### Find recipes by ingredient or keyword

Apply a filter on [Minimalist Baker's recipe index](https://minimalistbaker.com/recipe-index/), then paste its filtered URL. This example uses the source's chickpea search and keeps recipes with a published vegan badge:

```json
{
  "startUrls": [{"url": "https://minimalistbaker.com/recipe-index/?fwp_recipe_search=chickpea"}],
  "maxRecipes": 10,
  "diet": "vegan"
}
```

Existing recipe-index URL filters are retained. Combining source filters and a dietary filter can reduce the number of matches.

### Reviews, comments and replies

Each recipe includes `comments` for public reader feedback, questions and replies. `reviews` is the **rated subset of those same comments**. A rated entry appears in both arrays with the same `id`; it is not a second comment or a separate billable result.

Each entry contains:

- `id`, `parentId`, `url`: stable source comment ID, parent ID for replies, and direct comment link.
- `author`, `datePublished`, `text`: public name, published date and comment text.
- `ratingValue`: the individual published star rating, or null when unrated.
- `isStaff`, `madeThis`, `isQuestion`: flags derived from the source's explicit comment markers.

Dates retain source display text when no machine-readable timestamp is published; no timezone is guessed. Anonymous rating votes do not expose review text or an individual commenter.

`commentsCollected` and `reviewsCollected` describe this run's output. The recipe's `ratingCount` and `reviewCount` retain the source's separate aggregate counters and can differ from the collected counts.

#### Check discussion coverage

The Actor follows older/newer comment pages. Collection stops at the configured comment cap, 25 discussion pages, or a 20-second discussion deadline per recipe. The requested comment limit is an upper bound, not a promise of complete coverage.

| `discussionStatus` | Meaning |
| --- | --- |
| `COMPLETE` | All discovered discussion pages were collected. Empty arrays mean no public comment entries were exposed. |
| `TRUNCATED` | The comment cap or page limit stopped collection. Increase the comment cap if `discussionStopReason` is `COMMENT_LIMIT`. |
| `PARTIAL` | A source error, timeout, repeated page or layout problem prevented full discussion collection. |
| `DISABLED` | `maxCommentsPerRecipe` was `0`; comments and reviews were skipped. |

`discussionStopReason` explains the stop, and `discussionPagesFetched` reports the pages processed. A limited subset can include a reply whose parent lies outside that subset. Use the coverage fields before treating a thread as complete.

### Output: recipe records and examples

One dataset row represents one unique recipe. The following excerpt comes from the JSON preview; arrays and fields are abridged. The counts describe the full collected record, not just the entries shown here.

```json
{
  "sourceUrl": "https://minimalistbaker.com/warming-1-pot-chickpea-curry/",
  "title": "Warming 1-Pot Chickpea Curry (Vindaloo-Inspired)",
  "ingredients": [
    "1-2 Tbsp coconut or avocado oil (if oil-free, sub water and add more as needed)",
    "1 cup diced white or yellow onion (1/2 large onion yields ~1 cup or 160 g)"
  ],
  "instructions": [
    "If serving with rice or naan, start it before making the curry. Recipes are linked in the ingredients section above."
  ],
  "nutrition": {
    "calories": "260 kcal",
    "proteinContent": "10.4 g",
    "sodiumContent": "631 mg"
  },
  "dietaryLabelsText": "gluten-free, vegan, vegetarian, dairy-free, refined-sugar-free",
  "ratingValue": 5,
  "ratingCount": 12,
  "reviewCount": 10,
  "commentsCollected": 30,
  "reviewsCollected": 12,
  "discussionStatus": "COMPLETE",
  "comments": [
    {
      "id": "1227081",
      "parentId": null,
      "url": "https://minimalistbaker.com/warming-1-pot-chickpea-curry/#comment-1227081",
      "author": "Naomi",
      "datePublished": "January 27, 2024 at 4:46 am",
      "text": "perfect recipe",
      "ratingValue": 5,
      "isStaff": false,
      "madeThis": true,
      "isQuestion": false
    },
    {
      "id": "1227229",
      "parentId": "1227081",
      "url": "https://minimalistbaker.com/warming-1-pot-chickpea-curry/#comment-1227229",
      "author": "Support @ Minimalist Baker",
      "datePublished": "January 29, 2024 at 8:58 am",
      "text": "We’re so glad you enjoyed it, Naomi! Thanks for sharing. xo",
      "ratingValue": null,
      "isStaff": true,
      "madeThis": false,
      "isQuestion": false
    }
  ],
  "reviews": [
    {
      "id": "1227081",
      "ratingValue": 5,
      "text": "perfect recipe"
    }
  ]
}
```

#### Field guide

| Fields | Contents |
| --- | --- |
| `sourceUrl`, `title`, `author`, `imageUrl` | Recipe identity, author and one recipe image URL. Images are not downloaded. |
| `ingredients`, `ingredientGroups` | Ingredient lines plus groups with original text, amount, unit, name and notes. |
| `instructions`, `instructionGroups` | Ordered cooking steps and source section headings. |
| `nutrition`, `nutritionPublished` | Structured nutrition and fuller visible nutrition-label values, retaining original units. |
| `servingSize`, `yield`, `notes`, `nutritionNotes` | Serving basis, source yield and recipe-card notes, including nutrition caveats. |
| `dietaryLabels` | Published badge codes and names; vegan and vegetarian remain separate labels. |
| `ratingValue`, `ratingCount`, `reviewCount` | Aggregate rating, rating votes and the source's review counter. |
| `comments`, `reviews` | Public discussion entries and the overlapping rated subset described above. |
| `commentsCollected`, `reviewsCollected`, `discussionStatus`, `discussionStopReason`, `discussionPagesFetched` | Discussion counts, coverage and stopping information. |
| `prepTimeMinutes`, `cookTimeMinutes`, `totalTimeMinutes` | Published timings converted to minutes when available. |
| `datePublished`, `dateModified`, `scrapedAt` | Source dates and collection timestamp. |
| `ingredientsText`, `instructionsText`, `dietaryLabelsText` | Convenient text columns for spreadsheet exports. |

Missing optional information stays null or empty. Nutrition is reproduced as published, without calculating missing values. Check the source notes because nutrition estimates can exclude optional serving ingredients.

#### Choose an export

- **Recipes:** a recipe overview with ingredient/instruction text, calories, protein and timing.
- **Nutrition & diets:** nutrition columns with original units and serving basis, suitable for CSV.
- **Reviews & comments:** per-recipe discussion arrays and coverage fields.
- **Complete recipe records:** all original record fields.

Use **JSON for complete ingredient groups and discussion threads**. CSV keeps one row per recipe and expands nested discussion entries into indexed columns such as `comments/0/text`. Large threads can create very wide spreadsheets; use JSON to preserve the complete nested structure. The Output tab also provides direct nutrition CSV, complete JSON and discussion JSON links.

### Pricing

| Valid recipes delivered | Recipe charges |
| ---: | ---: |
| 1 | $0.0005 |
| 10 | $0.005 |
| 100 | $0.05 |
| 1,000 | $0.50 |

There is no startup fee. Standard-run platform usage is included. Reviews and comments carry no additional fee. Duplicate recipe URLs within a run, index pages, editorial guides and failed requests are not billable recipe results.

A valid delivered recipe remains billable when its discussion is capped or partial. Set a maximum run charge in Apify Console to control spending. Collection stops at the recipe limit, spending limit or source exhaustion. Zero delivered recipes means zero recipe-event charges.

### Python API example

Use Python 3.11+ and `apify-client>=3.4,<4` ([official client documentation](https://docs.apify.com/api/client/python/docs)). Install or upgrade with `python -m pip install "apify-client>=3.4,<4"`, then set your Apify token as `APIFY_TOKEN` in your environment. This example uses the typed responses provided by client 3.x; upgrade older client installations first.

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("thescrapelab/minimalist-baker-scraper").call(run_input={
    "startUrls": [{"url": "https://minimalistbaker.com/recipe-index/"}],
    "maxRecipes": 10,
    "diet": "vegan",
    "maxCommentsPerRecipe": 50,
})
if run is None:
    raise RuntimeError("Actor call did not return a run")
if run.status != "SUCCEEDED":
    raise RuntimeError(f"Actor run ended with {run.status}")

for recipe in client.dataset(run.default_dataset_id).iterate_items():
    print(recipe["title"], recipe["sourceUrl"])
    print(recipe["commentsCollected"], recipe["discussionStatus"])
```

A successful run can still contain capped discussions or source-level partial results. Inspect each recipe's `discussionStatus` and the **Run summary** output. Use the Actor's **API** tab for account-specific endpoint examples and token instructions.

### Limits, troubleshooting and support

**Does this scrape everything on the website?**\
It collects recipe pages discovered through the recipe index or supplied by URL, plus available public discussions within the stated limits. Editorial guides, roundups, private/unpublished content and other websites are outside its scope. It returns one recipe image URL, not a full image gallery, article body or video download.

**Why did I receive fewer recipes or comments?**\
Possible reasons include source exhaustion, dietary filtering, a spending limit, comment caps or source errors. Check the **Run summary** and per-recipe coverage fields. A valid filter with no matching recipes produces `EMPTY`; source problems can produce `PARTIAL`. Complete recipe-collection failure produces an error.

**How should I run a larger catalogue?**\
`maxRecipes` accepts up to 1,000, but the requested maximum does not guarantee that many matching recipes. Start with 100 recipes, inspect coverage, and increase your run timeout in Console if needed. Large comment limits can add time and output volume; set `maxCommentsPerRecipe` to `0` when you only need recipe data.

**Will a repeated run charge for the same recipes?**\
Deduplication applies within each run. A new run can return and charge for the same recipe again. Use `sourceUrl` to merge recipe records and comment `id` to merge discussion entries in your own catalogue. Failed or timed-out runs can contain valid records already delivered; inspect the dataset before rerunning.

**Are the nutritional and dietary claims independently verified?**\
They are copied from the source, not independently certified or inferred. Apply the content permissions appropriate to your project when reusing recipes or reader feedback.

**How do I get help?**\
Open the Actor's **Issues** tab with the run ID, source URL and a brief description of the problem. Do not include tokens or private data.

This is an independent Actor and is not affiliated with Minimalist Baker.

# Actor input Schema

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

Keep the default to discover recipes automatically, or paste Minimalist Baker recipe URLs. Recipe-index pagination and published URL filters are followed automatically.

## `maxRecipes` (type: `integer`):

Pay only for unique recipes delivered: 10 cost $0.005; 100 cost $0.05; 1,000 cost $0.50. Stops when this limit, source exhaustion or your spending limit is reached.

## `diet` (type: `string`):

Choose vegan, vegetarian or another source-published label. All recipes includes non-vegan recipes. The filter also applies to pasted recipe URLs; missing labels are not guessed.

## `maxCommentsPerRecipe` (type: `integer`):

Includes rated reviews, questions and replies. Default: 50 comment entries per recipe, following older/newer comment pages. Set 0 to skip discussion. Collected reviews are the rated subset of comments; no extra review/comment fee. Limits, unavailable pages and partial threads are reported per recipe.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://minimalistbaker.com/recipe-index/"
    }
  ],
  "maxRecipes": 10,
  "diet": "all",
  "maxCommentsPerRecipe": 50
}
```

# Actor output Schema

## `recipes` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `nutritionCsv` (type: `string`):

No description

## `completeJson` (type: `string`):

No description

## `discussionJson` (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://minimalistbaker.com/recipe-index/"
        }
    ],
    "maxRecipes": 10,
    "diet": "all",
    "maxCommentsPerRecipe": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/minimalist-baker-scraper").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://minimalistbaker.com/recipe-index/" }],
    "maxRecipes": 10,
    "diet": "all",
    "maxCommentsPerRecipe": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/minimalist-baker-scraper").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://minimalistbaker.com/recipe-index/"
    }
  ],
  "maxRecipes": 10,
  "diet": "all",
  "maxCommentsPerRecipe": 50
}' |
apify call thescrapelab/minimalist-baker-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/minimalist-baker-scraper"
        }
    }
}
```

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/bA3f3qngKs05WpUAJ/builds/0xNp1ktDC8WlDCFP4/openapi.json
