# Rewe Urls Scraper (`getdataforme/rewe-urls-scraper`) Actor

Extract comprehensive recipe data from REWE's website, including ingredients, instructions, nutrition, and high-quality images. Perfect for food enthusiasts, researchers, and businesses analyzing trends....

- **URL**: https://apify.com/getdataforme/rewe-urls-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Automation, Lead generation, E-commerce
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

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?

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

## Rewe Urls Scraper

### Introduction

The Rewe Urls Scraper is a powerful Apify Actor designed to extract detailed recipe information from REWE's website. It efficiently scrapes recipe URLs, gathering comprehensive data including ingredients, instructions, nutritional facts, and images. This tool is ideal for food enthusiasts, researchers, and businesses looking to aggregate and analyze recipe data from one of Germany's leading grocery retailers.

### Features

- **Comprehensive Data Extraction**: Scrapes full recipe details such as name, description, ingredients, step-by-step instructions, and nutritional information.
- **High-Quality Images**: Captures multiple high-resolution images associated with each recipe.
- **Structured Output**: Delivers data in a clean, JSON format that's easy to integrate into databases or applications.
- **Reliable Performance**: Built on PlaywrightCrawler for robust web scraping, handling dynamic content and anti-bot measures.
- **Customizable Inputs**: Accepts a list of starting URLs to target specific recipes or categories.
- **Fast and Scalable**: Processes multiple URLs concurrently, ensuring quick results even for large batches.
- **Error-Resistant**: Includes built-in retries and error handling for uninterrupted scraping.

### Input Parameters

| Parameter | Type   | Required | Description | Example |
|-----------|--------|----------|-------------|---------|
| startUrls | array  | Yes      | An array of URLs pointing to REWE recipe pages to start scraping from. Each URL should be a valid recipe link. | \[{"url": "https://www.rewe.de/rezepte/hack-reis-pfanne/"}] |

### Example Usage

#### Input JSON

```json
{
  "startUrls": [
    {
      "url": "https://www.rewe.de/rezepte/hack-reis-pfanne/"
    }
  ]
}
```

#### Output JSON

```json
[
  {
    "name": "Hack-Reis-Pfanne",
    "description": "So einfach, so lecker: in wenigen Schritten zum großen Genuss mit unserer Hack-Reis-Pfanne. REWE wünscht einen guten Appetit! Das Rezept findest du hier »",
    "url": "https://www.rewe.de/rezepte/hack-reis-pfanne/",
    "images": [
      "https://c.rewe-static.de/34818953/2/34818953.png?impolicy=recipe-detail-page-header",
      "https://c.rewe-static.de/34818953/2/34818953.png?impolicy=rds&im=Resize,height=764;Crop,width=764,height=764,gravity=Center"
    ],
    "ingredients": [
      "125.0 g ja! Langkorn-Spitzenreis",
      "ja! Jodsalz",
      "2.0 rote Paprikaschoten",
      "1.0 Salatgurke",
      "2.0 Lauchzwiebeln",
      "3.0 EL ja! Sonnenblumenöl",
      "1.0 EL Weißweinessig",
      "Pfeffer",
      "1.0 TL Zucker",
      "500.0 g ja! gemischtes Hackfleisch"
    ],
    "instructions": [
      {
        "step": "Schritt 1",
        "description": "Reis in kochendem Salzwasser nach Packungsanweisung zubereiten. Paprika putzen, waschen, entkernen und in Streifen schneiden. Gurke putzen, waschen und fein würfeln. Lauchzwiebeln putzen, waschen und in feine Ringe schneiden. Gurke, Lauchzwiebeln, 1 EL Öl und Essig mischen. Mit Salz, Pfeffer und Zucker würzen.",
        "url": "https://www.rewe.de/rezepte/hack-reis-pfanne/#step_1"
      },
      {
        "step": "Schritt 2",
        "description": "2 EL Öl in einer Pfanne erhitzen. Hack darin krümelig braten. Mit Salz und Pfeffer würzen. Paprikastreifen zugeben, andünsten. Reis abgießen und zur Hackpfanne geben. Mit Salz und Pfeffer würzen. Hack-Reis-Pfanne anrichten. 2 EL Gurken- Lauchzwiebel-Mischung darüber streuen. Übrige Gurken-Lauchzwiebel-Mischung in einem Schälchen dazu reichen.",
        "url": "https://www.rewe.de/rezepte/hack-reis-pfanne/#step_2"
      }
    ],
    "servings": "4",
    "servingType": "persons",
    "totalTime": "PT30M",
    "category": "Abendessen, Hauptspeise, Mittagessen",
    "keywords": [
      "Laktosefrei",
      "Glutenfrei",
      "Feierabend",
      "gesund"
    ],
    "nutrition": {
      "calories": "508 kcal",
      "servingSize": "4 Personen"
    }
  }
]
```

### Use Cases

- **Market Research and Analysis**: Analyze trends in German recipes, ingredients, and nutritional data for food industry insights.
- **Competitive Intelligence**: Monitor REWE's recipe offerings to compare with competitors and identify popular dishes.
- **Price Monitoring**: Track ingredient lists and costs for budgeting or pricing strategies in retail.
- **Content Aggregation**: Build a database of recipes for food blogs, apps, or meal planning services.
- **Academic Research**: Study dietary patterns, cultural food preferences, or nutritional science using structured recipe data.
- **Business Automation**: Automate data collection for e-commerce platforms or recipe recommendation systems.

### Installation and Usage

1. Search for "Rewe Urls Scraper" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The Actor outputs an array of JSON objects, each representing a scraped recipe. Key fields include:

- `name`: Recipe title.
- `description`: Brief overview.
- `url`: Source URL.
- `images`: Array of image URLs.
- `ingredients`: List of required items with quantities.
- `instructions`: Array of steps with descriptions and URLs.
- `servings`, `servingType`, `totalTime`: Preparation details.
- `category`, `keywords`: Classification tags.
- `nutrition`: Calorie and serving info.

Data is structured for easy parsing and integration.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

# Actor input Schema

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

URLs to start with.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.rewe.de/rezepte/hack-reis-pfanne/"
    }
  ]
}
```

# 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.rewe.de/rezepte/hack-reis-pfanne/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/rewe-urls-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.rewe.de/rezepte/hack-reis-pfanne/" }] }

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/rewe-urls-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.rewe.de/rezepte/hack-reis-pfanne/"
    }
  ]
}' |
apify call getdataforme/rewe-urls-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/rewe-urls-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/J6InCdJnBkuoXdK4i/builds/CDfi55RZ3VgtZvqUR/openapi.json
