# Tasty Recipes Scraper (`powerai/tasty-recipes-scraper`) Actor

Browse and export cooking recipes: search by keyword, optional tag and sort, rich descriptions and media—collected up to your cap.

- **URL**: https://apify.com/powerai/tasty-recipes-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Integrations, Other, Social media
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Tasty Recipes Scraper

Discover **cooking and baking recipes** from a large public recipe catalog: search by **keywords**, optionally narrow with **tags**, and control **sort order**. Each dataset row is one full recipe record, including text, media, ingredients, steps, nutrition, tags, and related video collections when the source returns them.

### Who it’s for

- **Food creators and editors** building menus or content calendars from structured recipe data.
- **Researchers** sampling recipe metadata and media URLs for analysis or enrichment.
- **Automation** that needs repeatable, paginated exports without manual browsing.

### What you can do with it

- **Search** by dish name or ingredients, or leave the search empty to follow the catalog’s default ordering.
- **Filter** with an optional tag when you know the slug your workflow uses.
- **Sort** when you need newest-first, oldest-first, or default popularity-style ordering.
- **Cap the total** number of rows so runs stay within your limits.

### How it works (in plain terms)

You set optional filters and a **maximum row count**. The run requests recipes in batches, advances through the list automatically, and stops when your cap is reached or no more items are returned. You do not manage offsets yourself.

### Input

| Field | Required | What it means |
|-------|----------|----------------|
| **Search keywords** (`searchQuery`) | No | Food or ingredient terms; omit for default list behavior. |
| **Tag filter** (`tags`) | No | Optional tag slug to restrict results. |
| **Sort order** (`sort`) | No | **Popular (default)**; or **approved\_at:desc** / **approved\_at:asc** for publish-date ordering. |
| **Maximum results** (`maxResults`) | No | Upper limit on recipe rows to save (default **40**). |

### Output

- **One row per recipe** (until your cap). Duplicates in the same run are skipped when the same **`canonical_id`** (or **`id`** / **`slug`**) appears again.
- **Core identity & copy**: **`canonical_id`**, **`id`**, **`name`**, **`description`**, **`keywords`**, **`language`**, **`country`**, **`slug`** (when present).
- **Times**: **`approved_at`**, **`created_at`**, **`updated_at`**, **`prep_time_minutes`**, **`cook_time_minutes`**, **`total_time_minutes`**, **`total_time_tier`** (human-readable tier such as “Under 15 minutes”).
- **Servings**: **`num_servings`**, **`yields`**.
- **Media**: **`thumbnail_url`**, **`thumbnail_alt_text`**, **`aspect_ratio`**, **`video_id`**, **`video_url`**, **`original_video_url`**, **`renditions`** (multiple encoded variants with **`url`**, resolution, **`poster_url`**, duration, etc.).
- **Steps**: **`instructions`** — ordered steps with **`display_text`**, **`position`**, optional **`start_time`** / **`end_time`** (milliseconds), **`id`**.
- **Ingredients**: **`sections`** — each section has **`components`**; each component includes **`raw_text`**, **`ingredient`** (name, ids, display singular/plural), **`measurements`** (quantity + **`unit`** with metric/imperial), **`position`**, **`extra_comment`**.
- **Nutrition & extras**: **`nutrition`** (calories, macros, etc.), **`nutrition_visibility`**, **`price`** (portion/total style fields when present).
- **Related collections**: **`compilations`** — playlists-style groups with their own **`name`**, **`slug`**, **`description`**, **`thumbnail_url`**, **`video_url`**, **`show`**, **`language`**, flags like **`is_shoppable`**, etc.
- **Taxonomy & people**: **`tags`** (hierarchical display/type fields), **`topics`** (name + slug), **`credits`** (author-style entries).
- **Engagement & flags**: **`user_ratings`** (counts and **`score`**), **`tips_and_ratings_enabled`**, **`promotion`**, **`is_shoppable`**, **`is_app_only`**, **`is_subscriber_content`**, **`video_ad_content`**, **`draft_status`**, **`facebook_posts`**, **`inspired_by_url`**, **`brand`** / **`brand_id`**, **`beauty_url`**, **`buzz_id`**.
- **Export metadata**: **`scrapedAt`** — ISO timestamp when the actor saved that row.

Field availability and nesting depth vary by recipe. New or optional fields may appear over time.

#### Sample output (structure illustrative; arrays truncated)

```json
{
  "canonical_id": "recipe:4704",
  "id": 4704,
  "name": "Low-Carb Avocado Chicken Salad",
  "description": "This chicken salad is a lunchtime delight! Packed with creamy avocado…",
  "keywords": "avocado, chia pudding, chicken salad, chickpea chips, deviled eggs…",
  "language": "eng",
  "country": "US",
  "approved_at": 1553195044,
  "created_at": 1546890315,
  "updated_at": 1683237600,
  "prep_time_minutes": 15,
  "cook_time_minutes": 0,
  "total_time_minutes": 15,
  "total_time_tier": {
    "display_tier": "Under 15 minutes",
    "tier": "under_15_minutes"
  },
  "num_servings": 4,
  "yields": "Servings: 4",
  "thumbnail_url": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/45b4efeb5d2c4d29970344ae165615ab/FixedFBFinal.jpg",
  "thumbnail_alt_text": "",
  "aspect_ratio": "1:1",
  "video_id": 73153,
  "video_url": "https://vid.tasty.co/output/121934/hls24_1546897597.m3u8",
  "original_video_url": "https://s3.amazonaws.com/video-api-prod/assets/%E2%80%A6/FixedFBFinal.mp4",
  "compilations": [
    {
      "id": 848,
      "canonical_id": "compilation:848",
      "name": "Protein-Packed Snacks",
      "slug": "protein-packed-snacks",
      "description": "Whether you’re trying to be healthy…",
      "thumbnail_url": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/199563.jpg",
      "video_url": "https://vid.tasty.co/output/121934/hls24_1546897597.m3u8",
      "show": [{ "id": 34, "name": "Goodful" }],
      "language": "eng",
      "country": "US",
      "is_shoppable": true,
      "promotion": "partial"
    }
  ],
  "instructions": [
    {
      "id": 43381,
      "position": 1,
      "display_text": "In a blender or food processor, combine the yogurt, lime juice…",
      "start_time": 7000,
      "end_time": 26500,
      "appliance": null,
      "temperature": null
    },
    {
      "id": 43382,
      "position": 2,
      "display_text": "In a medium bowl, combine the chicken, yogurt sauce…",
      "start_time": 29000,
      "end_time": 43500,
      "appliance": null,
      "temperature": null
    }
  ],
  "sections": [
    {
      "components": [
        {
          "id": 50242,
          "position": 1,
          "raw_text": "⅔ cup plain Greek yogurt",
          "extra_comment": "",
          "ingredient": {
            "id": 428,
            "name": "plain greek yogurt",
            "display_singular": "plain greek yogurt",
            "display_plural": "plain greek yogurts"
          },
          "measurements": [
            {
              "id": 731945,
              "quantity": "⅔",
              "unit": {
                "name": "cup",
                "abbreviation": "c",
                "system": "imperial"
              }
            }
          ]
        }
      ]
    }
  ],
  "nutrition": {
    "calories": 249,
    "carbohydrates": 13,
    "fat": 8,
    "fiber": 3,
    "protein": 29,
    "sugar": 8,
    "updated_at": "2024-05-01T08:06:38+02:00"
  },
  "nutrition_visibility": "auto",
  "price": {
    "portion": 500,
    "total": 2100,
    "consumption_portion": 200,
    "consumption_total": 750,
    "updated_at": "2026-03-26T06:16:26+01:00"
  },
  "renditions": [
    {
      "name": "mp4_720x720",
      "url": "https://vid.tasty.co/output/121934/square_720/1546897597",
      "poster_url": "https://img.buzzfeed.com/video-transcoder-prod/output/121934/square_720/1546897597_00001.png",
      "width": 720,
      "height": 720,
      "container": "mp4",
      "duration": 217498
    }
  ],
  "credits": [
    { "name": "Isabel Castillo", "type": "internal", "is_verified": false, "picture_url": "", "user_id": null }
  ],
  "topics": [
    { "name": "Healthy Eating", "slug": "healthy" },
    { "name": "Low Carb Meals", "slug": "low-carb-meals" }
  ],
  "tags": [
    {
      "id": 9299514,
      "name": "chicken",
      "display_name": "Chicken",
      "type": "dinner",
      "root_tag_type": "meal"
    }
  ],
  "user_ratings": {
    "count_positive": 886,
    "count_negative": 79,
    "score": 0.9181347150259067
  },
  "promotion": "partial",
  "is_shoppable": true,
  "is_app_only": false,
  "is_one_top": false,
  "is_subscriber_content": false,
  "tips_and_ratings_enabled": true,
  "video_ad_content": "none",
  "draft_status": "published",
  "facebook_posts": [],
  "inspired_by_url": null,
  "brand": null,
  "brand_id": null,
  "beauty_url": null,
  "buzz_id": null,
  "scrapedAt": "2026-03-26T07:07:30.065Z"
}
```

# Actor input Schema

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

Food name or ingredients to look for. Leave empty to use the default discovery order for the list.

## `tags` (type: `string`):

Optional tag slug (for example quick-prep or dietary filters) to narrow results.

## `sort` (type: `string`):

Leave empty to sort by popular as default OR one of the following : approved\_at:desc|approved\_at:asc

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

How many recipe rows to save in total across pages.

## Actor input object example

```json
{
  "searchQuery": "chicken",
  "sort": "",
  "maxResults": 40
}
```

# 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 = {
    "searchQuery": "chicken",
    "sort": "",
    "maxResults": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/tasty-recipes-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 = {
    "searchQuery": "chicken",
    "sort": "",
    "maxResults": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("powerai/tasty-recipes-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 '{
  "searchQuery": "chicken",
  "sort": "",
  "maxResults": 40
}' |
apify call powerai/tasty-recipes-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerai/tasty-recipes-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/Uikorujdp778pSjos/builds/eN12KEJA8xPLFS7bo/openapi.json
