# RecipeTin Eats Scraper (`thescrapelab/recipetineats-scraper`) Actor

Search RecipeTin Eats and export recipes and reader comments. Choose combined rows or separate modes, with ingredients, nutrition, ratings and paginated comments.

- **URL**: https://apify.com/thescrapelab/recipetineats-scraper.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 $1.00 / 1,000 recipes

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## RecipeTin Eats Scraper

Scrape RecipeTin Eats recipes, ingredients, cooking instructions, published nutrition, ratings and public reader comments. Search by keyword or use recipe/category URLs. Choose Both for recipe and comment rows together, Recipes for the original recipe output, or Comments for comment-only output with a lower per-comment fee. Both support JSON and CSV exports.

The Actor keeps ingredient sections, recipe notes and reply relationships. It follows category and comment pagination, distinguishes rating votes from written comments, and reports incomplete collection clearly.

### What you get

- **Recipes:** grouped ingredients and steps, notes, yield, published cooking times, categories, cuisines and keywords.
- **Nutrition and ratings:** published nutrition with original units, average rating and vote count. Missing information stays missing.
- **Reader feedback:** public comment text, author, date, explicit star rating and parent comment ID for replies.
- **Spreadsheet exports:** readable ingredient/step columns and a separate comment table with one row per comment.
- **Simple collection:** search by keyword or use URLs; no login, cookies, paid proxy or external data-provider subscription.

### Use cases

Use it for licensed recipe applications, ingredient and nutrition research, or collecting reader feedback about recipe adaptations. This Actor collects raw source records; it does not write summaries or calculate nutrition.

### Quick start

1. Select **Output mode → Both** for one recipe row plus individual comment rows. **Recipes** and **Comments** keep their existing formats.
2. Enter a **Search term**, or leave it blank and paste recipe/category URLs.
3. Choose the maximum recipes and comments per recipe, then click **Start**.
4. Open **Output → Main results (JSON)** to browse rows. Use **Export** to choose JSON, CSV or Excel, or select a CSV output to download its saved file. The separate **Reader comments** export remains available in every mode.

Recipes is the default to preserve existing integrations. The prefilled fried-rice example collects one recipe and up to 20 included comments. To collect both kinds of rows in the main output, use:

```json
{
  "outputMode": "both",
  "searchQuery": "chicken",
  "maxRecipes": 10,
  "maxCommentsPerRecipe": 20
}
```

`maxRecipes` limits source recipes in every mode. Both mode returns one recipe row plus its comments: ten recipes with 20 comments each produce up to 210 main rows. Comments mode returns up to 200 comment rows for the same limits. Missing or exhausted discussions can produce fewer comments.

```json
{
  "startUrls": [{"url": "https://www.recipetineats.com/egg-fried-rice/"}],
  "maxRecipes": 10,
  "maxCommentsPerRecipe": 20
}
```

#### Search recipes by keyword

```json
{
  "searchQuery": "chicken",
  "maxRecipes": 100,
  "maxCommentsPerRecipe": 20
}
```

A filled `searchQuery` takes precedence over `startUrls`, including the prefilled example URL. Leave the search term blank to use URLs. Search terms can contain up to 200 characters. The Actor uses RecipeTin Eats' own search order, follows result pagination and skips non-recipe posts. Search matches reflect the website's search behavior; they are not exact ingredient or dietary filters. The recipe limit applies across the entire search, with duplicate recipes removed.

RecipeTin Eats search URLs such as `https://www.recipetineats.com/?s=chicken` also work in `startUrls`.

#### Collect recipes from a category

```json
{
  "startUrls": [{"url": "https://www.recipetineats.com/category/quick-and-easy/"}],
  "maxRecipes": 100,
  "maxCommentsPerRecipe": 20
}
```

The Actor follows category pagination and returns each recipe once, including when categories overlap. Category roundups without a recipe card are skipped and listed in the summary.

### Inputs

| Input | Default | Description |
|---|---|---|
| `outputMode` | `recipes` | `both`: recipe and comment rows together, with separate exports. `recipes`: original recipe rows. `comments`: comment-only rows, with no recipe fee added. |
| `searchQuery` | Blank | Optional keyword search. When filled, it replaces the URL list. |
| `startUrls` | Fried-rice example prefilled | Used when search is blank; provide 1–1,000 recipe, category or search URLs. String URLs also work through the API. |
| `maxRecipes` | 10 | Maximum unique recipes across all starting URLs, from 1 to 1,000. |
| `maxCommentsPerRecipe` | 20 | Maximum comments **including replies** per recipe, from 0 to 200. Set zero in Recipes or Both mode to skip comments. Comments mode requires 1–200. |

Enter a search term or at least one URL. Only `www.recipetineats.com` is supported. Supply the main recipe URL, rather than a comment-page URL. RecipeTin Japan, account content, image downloads and video downloads are outside the supported scope.

### Both output: one row per recipe and comment

With `outputMode: "both"`, the main dataset combines two row types:

- `recordType: "recipe"`: one row per recipe, with ingredients, instructions, nutrition, ratings and comment-collection counts. There is no nested `comments` array in this mode.
- `recordType: "comment"`: one row per public comment or reply, with its author, text, date, rating, parent ID and recipe context.

Use **Output → Recipes (JSON)** or **Reader comments (JSON)** for separate tables, or their CSV outputs for separate files. Both are also included in the combined Main results export. Column views change displayed columns; select the separate output to see only one row type. Join comments to recipes using `comment.recipeUrl == recipe.url`.

One recipe with 20 comments produces 21 main rows and costs **$0.0015 in data fees**, plus Apify usage: one recipe event, zero comment events. The separate projections and included comment rows have no additional data fee. Ten recipes with 200 comments produce 210 rows and cost $0.015 in data fees.

The existing modes keep their field layouts. In Recipes mode, comments remain nested and also have a flat export; Comments mode contains only comment rows. The new `recordType` field appears only in Both mode.

### Recipe output

In **Recipes mode**, the default dataset contains one row per canonical recipe URL. Existing structured fields remain available alongside the spreadsheet columns.

| Fields | Meaning |
|---|---|
| `recipeId`, `url`, `title`, `author` | Recipe identity and published attribution. `url` is the recipe's unique key. |
| `ingredients`, `instructions` | Ordered `{section, text}` objects, preserving section headings. |
| `ingredientsText`, `instructionsText` | The same content as newline-separated text for CSV and Excel. |
| `notes`, `yield` | Published recipe notes and serving/yield text, without rescaling. |
| `prepTime`, `cookTime`, `totalTime` | Source-published duration strings. |
| `prepTimeMinutes`, `cookTimeMinutes`, `totalTimeMinutes` | Numeric minutes parsed from unambiguous source durations. Missing totals are not inferred from other times. |
| `categories`, `cuisines`, `keywords` | Source-published recipe classification, without generated tags. |
| `nutrition` | Published nutrient names and values with units. No inferred nutrients or serving conversions. |
| `rating`, `ratingCount` | Aggregate rating and number of rating votes. |
| `displayedCommentCount` | Discussion total displayed by the source; it can include unrated comments and replies. |
| `embeddedReviewCount` | Number of reviews embedded in structured data on the fetched page; this is not the full discussion count. |
| `comments` | Collected public comments/replies, also available in the separate comment dataset. |
| `commentsCollected`, `commentCollectionStatus`, `commentCollectionError` | Returned comment count, coverage and any interruption. |
| `datePublished`, `dateModified`, `scrapedAt` | Source dates when available, and the UTC collection timestamp. |

Recipe `author` is the published recipe attribution; comment `author` is that reader's display name. Referenced recipe authors are resolved from the page's structured data, with recipe-card, page-byline and author-metadata fallbacks. Missing names remain null.

A shortened recipe record looks like this. The full record also includes notes, nutrition, times, taxonomy and comments.

```json
{
  "title": "Fried Rice",
  "url": "https://www.recipetineats.com/egg-fried-rice/",
  "ingredients": [{"section": null, "text": "2 tbsp oil"}],
  "ingredientsText": "2 tbsp oil\n...",
  "prepTimeMinutes": 5,
  "cookTimeMinutes": 10,
  "totalTimeMinutes": 15,
  "rating": 4.99,
  "ratingCount": 301,
  "commentsCollected": 20,
  "commentCollectionStatus": "limit"
}
```

The example is an excerpt, not a complete recipe or a fixed production result. Counts and source content can change.

### Comment output

In **Comments mode**, the main/default dataset contains one row per delivered comment or reply. The **Reader comments** dataset provides the flat comment export in every mode, without another fee. Each row includes `recipeId`, `recipeUrl`, `recipeTitle`, `id`, `url`, `author`, `date`, `text`, `rating`, `parentId` and `scrapedAt`. Join it to recipes using `recipeUrl`; its unique key is `(recipeUrl, id)`.

Unrated comments retain `rating: null`. A reply's `parentId` identifies the source parent, which may fall outside the collected subset. Comments follow the source's page and discussion order, without a guaranteed global date sort. Dates without a source timezone or machine timestamp remain the published local text.

Comment coverage is `disabled`, `exhausted`, `limit` or `failed`. `limit` means the requested count was reached; it does not claim the full discussion was collected. `failed` preserves collected comments and explains the interruption.

Recipe download links are available in Recipes and Both modes. In Comments mode, the Recipes table has no rows; use Main results or Reader comments. Comments already include the recipe title and URL.

The **Collection summary** reports `complete`, `partial`, `budget_limited` or `failed`, skipped/failed URLs, counts and dataset/export links. A partial run can still contain usable recipes. A run with no usable recipes fails instead of returning example data. A confirmed empty search explains that no recipes matched; it writes no recipe rows or recipe fees. The summary also includes `searchQuery`, the number of `searchPages`, and any `emptySearches`.

### Use through the Python API

Install `apify-client` and supply your Apify token through the environment. The token must have access to this Actor while it remains private.

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("thescrapelab/recipetineats-scraper").call(run_input={
    "outputMode": "comments",
    "searchQuery": "chicken",
    "maxRecipes": 10,
    "maxCommentsPerRecipe": 20,
})
for comment in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(comment["recipeTitle"], comment["text"], comment["rating"])

summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")["value"]
print(summary["recordsCollected"], summary["billing"])

```

For direct HTTP integrations, the run's `output` object links to the dataset tables and saved CSV files. Dataset JSON is the default format. The native JSON/CSV download URLs remain available in the summary. `OUTPUT` and `EXPORTS` in the default key-value store also contain dataset IDs and download URLs.

### Costs and limits

| Output mode | Data fee basis | What is billed |
|---|---:|---|
| **Both** | **$1.50 per 1,000 recipes** | One delivered recipe ($0.0015 each). Its separate comment rows and exports are included. |
| **Comments** | **$0.01** | One delivered comment/reply ($0.00001 each). No recipe fee is added. |
| **Recipes** | **$1.50** | One delivered recipe ($0.0015 each), including its requested bounded comments. |

**Apify platform usage is charged separately in every mode.** There is no startup fee, subscription or separate export fee. In Comments mode, 20 delivered comments cost $0.0002 in data fees; 200 cost $0.002. In Recipes and Both modes those comments are included in the recipe fee. The mirrored Reader comments export does not trigger another charge.

For illustration, 1,980 delivered comments have a $0.0198 comment fee. Collecting them within 100 recipe rows in Recipes mode has a $0.15 recipe fee. At 150 comments per recipe, the two data fees are equal. Above 150, Recipes and Both modes have the lower data fee and include the flat comment export. These are data fees only; platform usage varies by workload and output mode, so this is not an all-in job quote.

Only the billable row type triggers the selected mode's fee: recipes in Recipes/Both mode, comments in Comments mode. Both mode's included comment rows do not trigger another fee. Search listings and invalid, skipped or failed pages add no data fee, while their platform usage can still cost money. A recipe with no comments contributes no paid rows in Comments mode.

Set a positive maximum run charge in Apify Console or the API to bound data fees. The Actor stops when another row does not fit and reports `budget_limited`. It preserves row identities and pending delivery state so resuming the same run can finish without duplicate data or charges. Keep the same mode and build when resuming. This fee limit is not an all-in cap on separate platform usage. The live Pricing tab shows effective terms; the Actor remains private until publication is requested.

More comments require more source requests. Use zero comments for recipe-only collection, and start with 20 for feedback sampling. The default run allocation is 1 GiB with a five-minute timeout. Larger workloads or high comment limits can require a longer run timeout. The 1,000-recipe input ceiling is a safety limit; 1,000-result capacity has not been benchmarked.

#### Why can nutrition be incomplete?

RecipeTin Eats does not publish the same nutrients for every recipe. Some pages publish only serving size and calories. The Actor returns what the source publishes and does not fill gaps using an estimate.

#### Why did I receive fewer recipes or comments?

Try a broader search term if the search has no matches. The source may have fewer matches, a category/search link may be a roundup rather than a recipe, or collection may have encountered a website change or temporary failure. Check the summary and comment coverage fields. Retries are bounded; this Actor does not bypass access controls or silently switch sources.

#### Can I get every comment?

The Actor supports up to 200 comments/replies per recipe. It follows available older-comment links until that limit or source exhaustion. It does not promise every comment on recipes with larger discussions.

#### Can I republish the recipes?

Collection does not grant redistribution rights. Use the data within your source permission and RecipeTin Eats' content policy, keep attribution and source links, and obtain appropriate rights before redistributing recipe content. This tool is independent of RecipeTin Eats and is not endorsed by it.

For support, contact the developer through Apify with the run ID, affected URL and expected result. No response-time guarantee is advertised.

# Actor input Schema

## `outputMode` (type: `string`):

Both combines recipe and comment rows in the main dataset and provides separate exports. Comment rows are included in the recipe fee. Recipes and Comments preserve the existing formats.

## `searchQuery` (type: `string`):

Find recipes by keyword, such as chicken or fried rice. When filled, search is used instead of the URL list below. Leave blank to use URLs.

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

Used when Search term is blank. Paste recipe, category or RecipeTin Eats search URLs. Overlapping recipes are collected once.

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

Maximum unique recipes across all starting URLs.

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

Comments and replies per recipe, up to 200. Zero skips comments in Recipes or Both mode; Comments mode needs at least one.

## Actor input object example

```json
{
  "outputMode": "recipes",
  "startUrls": [
    {
      "url": "https://www.recipetineats.com/egg-fried-rice/"
    }
  ],
  "maxRecipes": 10,
  "maxCommentsPerRecipe": 20
}
```

# Actor output Schema

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

No description

## `resultsCsv` (type: `string`):

Download the native CSV export stored at the end of this run.

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

No description

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

No description

## `recipesCsv` (type: `string`):

Recipe spreadsheet CSV for Recipes and Both modes; empty in Comments mode.

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

No description

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

Download the native CSV export stored at the end of this run.

# 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.recipetineats.com/egg-fried-rice/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/recipetineats-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://www.recipetineats.com/egg-fried-rice/" }] }

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/recipetineats-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://www.recipetineats.com/egg-fried-rice/"
    }
  ]
}' |
apify call thescrapelab/recipetineats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/recipetineats-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/g0BRMo4J0yLdUI3nl/builds/Z4yXTfBVLXx1zVq76/openapi.json
