# Smitten Kitchen Comments Scraper (`thescrapelab/recipe-reader-comments`) Actor

Export original reader comments and author replies from one Smitten Kitchen recipe category, with dates, permalinks, source flags and reply relationships.

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

## Pricing

from $0.29 / 1,000 comment 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

## Smitten Kitchen Comments Scraper

<img src="https://api.apify.com/v2/key-value-stores/bFx2GZYv2T9VpbhIU/records/logo.png" alt="Recipe reader comments logo" width="96" height="96" />

Scrape Smitten Kitchen recipe comments, reader reviews and author replies from one recipe category. Export one comment per row with recipe title and URL, source date, body, permalink, parent comment ID and source-marked “I made this” and question flags. Editorial recipe text is excluded.

Use this scraper for recipe testing, substitution research and tracking questions about cooking instructions. Use exported content within your source-use rights.

### Quick start

Enter a category URL linked from the publisher's [recipe directory](https://smittenkitchen.com/recipes/), choose the maximum number of comments and start the Actor. Open Reader comments to browse the dataset, Reader comments CSV for a direct CSV export, or Reader comments Excel for an Excel workbook. Readable exports place recipe, date and comment text first, followed by source flags and original links. JSON remains available from the dataset.

```json
{
  "categoryUrl": "https://smittenkitchen.com/recipes/course/bread/?format=photo",
  "maxResults": 100
}
```

The maximum applies across the whole category and includes author replies and brief comments. No keyword or sentiment filter alters the raw output. The default collects ten comments. Bread has been tested at volume, and Cookie has passed a small live category test. Other directory-linked categories use the same parser but have not been individually verified.

### Output

`recipeTitle` and `recipeUrl` identify the recipe. `commentId` is the publisher's stable numeric comment ID. `date` preserves the source date and offset when available. `body` contains only the reader comment or author reply. `commentUrl` links to its original fragment. `parentId` is null for a top-level comment and otherwise identifies the parent, which may be outside a limited export. `isAuthorReply`, `madeThis` and `question` reflect explicit source classes, not inferred meaning. `collectedAt` records collection time in UTC. JSON preserves boolean flag values; CSV and Excel display the same flags as true/false text.

Redacted source row:

```json
{
  "recipeTitle": "focaccia with zucchini and potatoes",
  "recipeUrl": "https://smittenkitchen.com/2025/07/focaccia-with-zucchini-and-potatoes/",
  "commentId": "2700067",
  "date": "2025-07-11T16:01:53-05:00",
  "body": "This looks amazing!! Can’t wait to try it! [remainder redacted]",
  "commentUrl": "https://smittenkitchen.com/2025/07/focaccia-with-zucchini-and-potatoes/#comment-2700067",
  "parentId": null,
  "isAuthorReply": false,
  "madeThis": false,
  "question": false,
  "collectedAt": "2026-11-15T16:27:53.480Z"
}
```

### Collection and limits

The Actor discovers the category's publisher-provided list view and then visits recipe pages with ordinary serial HTTP requests. It respects robots.txt, does not fetch reply-action URLs and does not use account cookies, search-engine caches, proxies or external data services. Filter tabs are not separate records. Deleted, gated or unpublished comments are unavailable.

Collection stops at the global result limit or exhaustion. Source access denials, rate limits and incomplete extraction are reported in Collection status; existing output is retained.

### Pricing

$0.002 per start at the default 512 MiB, plus $0.29 per 1,000 delivered comments ($0.00029 each). Standard run usage is included, with no extra reply fee. Only unique delivered comments trigger comment charges.

| Comments | Total at default memory |
|---:|---:|
|1|$0.00229|
|10|$0.00490|
|100|$0.03100|
|1,000|$0.29200|

The tiny start fee covers fixed collection overhead, including a run that returns no comments. Apify automatically charges one start event per allocated GB, minimum one; default 512 MiB uses one. The start fee is not multiplied per source page. Totals above assume one start. Resurrecting a run starts another container and incurs another native start fee ($0.002 at default memory); previously delivered comments are not charged again.

To continue an interrupted collection, resurrect the same run with its existing storage and original input. The Actor scans delivered IDs before writing more rows. Starting a separate run performs a fresh export and incurs its own usage. This version does not provide cross-run change monitoring. Retries and recovery reconcile delivery and billing receipts before continuing.

### API

Use the Actor ID `thescrapelab/recipe-reader-comments`:

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("thescrapelab/recipe-reader-comments").call(
    run_input={
        "categoryUrl": "https://smittenkitchen.com/recipes/course/bread/?format=photo",
        "maxResults": 100,
    }
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["commentUrl"], row["body"])
```

### Limitations and FAQs

Only Smitten Kitchen is supported. Public categories linked from its recipe directory are accepted; Bread is the extensively tested category; Cookie has also passed a small live test. Source flags are literal: a comment can ask a question without the publisher marking it as a question. A limited export can reference a parent outside the export. Source rate limits can produce a partial result; Collection status explains the stop and saved cooldown. Starting a separate run creates a new export and separate charges.

Collection timestamps use UTC; source dates retain their published offsets. Brief replies count as comments. No sentiment scoring, inferred cooking outcomes or editorial recipe content is added.

### Understanding collection status

`limit_reached` means the requested number of comments was collected; `exhausted` means available category results were exhausted. `budget_limited` preserves delivered comments when the spending allowance runs out. `partial` or `failed` includes an error explaining the stop. Request counts include retries and failed attempts.

For a source rate limit, check `resumeAfter` in Collection status and wait until that time before resurrecting the same run. A completed run can be resurrected without adding or charging for the same rows again. Starting a new run creates a separate export. Source restrictions are respected; the Actor does not retry 429 responses automatically.

Standard run usage is included in the comment price. Dataset access after the run finishes can incur Apify storage charges.

### Frequently asked questions

#### Can I collect comments across a whole recipe category?

Yes. Paste one category URL from the Smitten Kitchen recipe directory. The Actor discovers its recipes and collects comments until the global limit is reached or available records are exhausted. A limited run is not a complete category export.

#### Are author replies and “I made this” comments included?

Yes. Author replies are individual rows with parent IDs. The made-this and question flags reflect the publisher’s explicit labels; they are not inferred from the words in the comment.

#### How do I export recipe feedback to Excel or CSV?

Open Reader comments Excel or Reader comments CSV in the run output. Both put recipe, date and comment text first. Keep JSON when an integration needs typed booleans and the complete original fields.

# Actor input Schema

## `categoryUrl` (type: `string`):

Paste one Smitten Kitchen category URL linked from the published recipe directory. The Actor discovers the publisher's list view automatically.

## `maxResults` (type: `integer`):

Maximum original comment and author-reply rows across the category. Brief replies are included; no keyword or sentiment filter is applied.

## Actor input object example

```json
{
  "categoryUrl": "https://smittenkitchen.com/recipes/course/bread/?format=photo",
  "maxResults": 10
}
```

# Actor output Schema

## `comments` (type: `string`):

No description

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

No description

## `commentsCsv` (type: `string`):

No description

## `commentsExcel` (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 = {
    "categoryUrl": "https://smittenkitchen.com/recipes/course/bread/?format=photo"
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/recipe-reader-comments").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 = { "categoryUrl": "https://smittenkitchen.com/recipes/course/bread/?format=photo" }

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/recipe-reader-comments").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 '{
  "categoryUrl": "https://smittenkitchen.com/recipes/course/bread/?format=photo"
}' |
apify call thescrapelab/recipe-reader-comments --silent --output-dataset

```

## MCP server setup

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

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/ODL7tkroPYwfOFvy8/builds/9N5cssXIuikaCF5aV/openapi.json
