# Rebuy Scraper (`dadhalfdev/rebuy-scraper`) Actor

Scrape used books, movies, games, and refurbished electronics from rebuy.de. Filter by category, keyword, and price, or paste a Rebuy URL.

- **URL**: https://apify.com/dadhalfdev/rebuy-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 📚 Rebuy Scraper

Want [Rebuy.de](https://www.rebuy.de) used books, movies, games, and refurbished electronics in a spreadsheet? This scraper makes it easy.

Use **structured filters** — better for AI agents — **or** paste an **`input_url`**. When `input_url` is set it overrides the filters.

Rebuy is one of Europe's largest recommerce marketplaces for second-hand books, media, smartphones, tablets, and consoles. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Recommerce & arbitrage:** Compare Rebuy used selling prices, recommended new prices, and trade-in purchase prices (`trade_in_price`) by ISBN/EAN.
- **Dashboards:** Track stock across condition grades and categories.
- **Market research:** Slice books, movies, games, and refurbished Apple/Android electronics.
- **Data analysts:** Export structured rows with ISBN, EAN, ASIN, and original cover photos.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Rebuy data.
- **📚 RAG Systems:** Feed book titles, authors, ISBNs, and prices into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste any Rebuy category or search URL, or pick a category from the menu. `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Books, Fiction, Thriller, Fantasy, Non-Fiction, Movies, Music, Video Games, Smartphones, Tablets, Apple, Consoles, Cameras, Audio, keyword search, and price bounds.
- 🌐 **Full recommerce pricing:** Lowest used price (`price`), recommended retail price (`list_price`), Rebuy trade-in payout (`trade_in_price`), discount %, ISBN, EAN, ASIN, stock count, rating, and uncropped cover photo.

### 📦 What's inside the data?

`id`, `url`, `title`, `author`, `authors`, `category`, `category_path`, `format`, `color`, `memory_size`, `isbn`, `ean`, `asin`, `price`, `list_price`, `trade_in_price`, `discount`, `currency` (EUR), `availability`, `stock`, `rating`, `review_count`, `image`

### 🚀 Quick start

**Option A:** paste `https://www.rebuy.de/kaufen/buecher`.
**Option B:** pick a category or keyword and set `max_results`.

**Input Example (filters):**

```json
{
  "category": "buecher",
  "query": "Stephen King",
  "max_results": 100
}
```

**Input Example (URL):**

```json
{
  "input_url": "https://www.rebuy.de/kaufen/handy",
  "max_results": 100
}
```

**Output Example:**

```json
{
  "id": "15331709",
  "url": "https://www.rebuy.de/i,15331709/buecher/der-verschwundene-buchladen",
  "title": "Der verschwundene Buchladen",
  "author": "Evie Woods",
  "authors": ["Evie Woods"],
  "category": "Bücher",
  "category_path": "Bücher > Belletristik > Romanhafte Biografien > Erzählende Literatur",
  "format": "Broschiert",
  "isbn": "3985852111",
  "ean": "9783985852116",
  "asin": "3985852111",
  "price": 6.79,
  "list_price": 14.95,
  "trade_in_price": 1.84,
  "discount": 54.6,
  "currency": "EUR",
  "availability": "in stock",
  "stock": 303,
  "rating": 5.0,
  "review_count": 3,
  "image": "https://rebuy.asset.akeneo.cloud/frontcover_media_file/media_file/frontcover_media_file__REBUY__15331709__1.jpg"
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Rebuy product id. |
| `url` | Public product page. |
| `title` | Product title. |
| `author` / `authors` | Author names when the item is a book. |
| `category` / `category_path` | Root category and full breadcrumb path. |
| `format` | Book binding or disc format (`Broschiert`, `Taschenbuch`, `Gebundene Ausgabe`). |
| `color` / `memory_size` | Device color and storage when scraping electronics. |
| `isbn` / `ean` / `asin` | Standard product identifiers. |
| `price` | Lowest available used price in EUR. |
| `list_price` | Recommended new retail price in EUR. |
| `trade_in_price` | Rebuy purchase/trade-in price in EUR. |
| `discount` | Savings percentage vs. recommended new price. |
| `currency` | Always `EUR`. |
| `availability` | `in stock` or `out of stock`. |
| `stock` | Total units in stock across condition grades. |
| `rating` / `review_count` | Average star rating and number of ratings. |
| `image` | Full-resolution cover or product photo. |

### 📋 Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Rebuy category or search URL. Overrides every filter. |
| `category` | dropdown | No | buecher | Bücher, Belletristik, Krimis, Fantasy, Sachbücher, Filme, Musik, Videospiele, Smartphones, Tablets, Apple, Konsolen, Kameras, Audio. |
| `query` | string | No | — | Search by title, author, ISBN, EAN, or device model. |
| `price_min` | number | No | — | Lowest price in EUR. |
| `price_max` | number | No | — | Highest price in EUR. |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

# Actor input Schema

## `input_url` (type: `string`):

Paste a Rebuy category or search URL (e.g. https://www.rebuy.de/kaufen/buecher). Overrides every filter when set.

## `category` (type: `string`):

Same categories as the Rebuy shop menu.

## `query` (type: `string`):

Search by title, author, ISBN, EAN, or device model.

## `price_min` (type: `number`):

Lowest selling price in EUR.

## `price_max` (type: `number`):

Highest selling price in EUR.

## `max_results` (type: `integer`):

How many products to return (1-2000).

## Actor input object example

```json
{
  "category": "buecher",
  "max_results": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped products using the dataset overview view.

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

All scraped products from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/rebuy-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/rebuy-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 '{}' |
apify call dadhalfdev/rebuy-scraper --silent --output-dataset

```

## MCP server setup

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