# The RealReal Luxury Consignment Scraper (`lulzasaur/therealreal-scraper`) Actor

Scrape The RealReal luxury consignment listings by category. Extracts title, brand, price, original/MSRP price, size, condition, color, material, availability, product URL, and images. Browse designer handbags, shoes, jewelry, and watches. Bypasses PerimeterX via residential proxy.

- **URL**: https://apify.com/lulzasaur/therealreal-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 16 total users, 3 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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?

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

## The RealReal Luxury Consignment Scraper

Scrape authenticated luxury consignment listings from [The RealReal](https://www.therealreal.com) — the largest online marketplace for pre-owned designer fashion, handbags, fine jewelry, and watches.

Browse by category and extract clean, structured product data: **title, brand, current price, original/MSRP price, size, condition, color, material, availability, product URL, and image gallery.**

### What you get

For every listing:

| Field | Description |
|-------|-------------|
| `title` | Product name (e.g. "Swift Kelly II Retourne 25") |
| `brand` | Designer / maker (e.g. "Hermès", "Chanel", "Rolex") |
| `price` | Current selling price in USD |
| `priceFormatted` | Price as displayed (e.g. "$20,000.00") |
| `originalPrice` | Original listing price in USD |
| `msrp` | Manufacturer's suggested retail price (when available) |
| `discount` | Discount info (when on sale) |
| `size` | Shoe/clothing/ring size (varies by category) |
| `condition` | Item condition (e.g. "Excellent", "Good", "Pristine") |
| `color` | Color(s) |
| `material` | Primary material (e.g. "Leather", "Suede") |
| `gender` | Gender/department |
| `availability` | Stock status (e.g. "AVAILABLE") |
| `quantity` | Units available |
| `obsessionCount` | Number of shoppers who "obsessed" (favorited) the item |
| `sku` | The RealReal SKU |
| `url` | Direct product page URL |
| `imageUrl` | Primary product image |
| `images` | Full array of product image URLs |
| `sourceUrl` | The category page this record came from |
| `scrapedAt` | ISO 8601 timestamp of the scrape |

### Input

```json
{
  "searchQueries": ["women/handbags", "women/shoes", "men/watches"],
  "maxResults": 100,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

| Input | Type | Description |
|-------|------|-------------|
| `searchQueries` | array | Category **paths** to scrape, e.g. `"women/handbags"`, `"women/shoes/pumps"`, `"men/watches"`, or full shop URLs. Leave empty for popular defaults. |
| `maxResults` | integer | Max records across all categories. `0` = no limit. Default `100`. |
| `scrapeDetails` | boolean | Reserved — full detail is already returned per record. |
| `proxyConfiguration` | object | Proxy settings. **RESIDENTIAL is recommended and default.** |

#### Finding category paths

The path is whatever appears in the site URL after `/shop/`. For example:

- `https://www.therealreal.com/shop/women/handbags` → `"women/handbags"`
- `https://www.therealreal.com/shop/women/handbags/shoulder-bags` → `"women/handbags/shoulder-bags"`
- `https://www.therealreal.com/shop/men/watches` → `"men/watches"`

Browse the site, copy the URL of any category you like, and drop it into `searchQueries`.

### How it works

The RealReal is a Next.js site protected by **PerimeterX (HUMAN)** bot defense. Each category page server-renders up to **120 fully-detailed product records** inside its embedded `__NEXT_DATA__` JSON. This Actor fetches those pages with a realistic browser fingerprint (and residential proxy) and extracts the structured product data directly — no fragile HTML parsing.

> Note: The RealReal's free-text keyword search and deep pagination run through a bot-gated GraphQL API and are **not** server-rendered, so this scraper browses by **category path** (which is stable and reliable) rather than by keyword.

### Use cases

- **Resale arbitrage** — compare The RealReal prices vs. retail/MSRP to spot deals.
- **Designer price monitoring** — track pre-owned Hermès, Chanel, Rolex, Louis Vuitton pricing.
- **Market research** — analyze luxury resale inventory, condition mix, and demand signals.
- **Inventory feeds** — power dashboards, alerts, or comparison tools.

### Pricing

Pay-per-result: a small charge per listing returned, plus a tiny actor-start fee. You only pay for the data you get.

# Actor input Schema

## `searchQueries` (type: `array`):

Category paths to scrape on The RealReal. Provide shop paths like "women/handbags", "women/shoes", "men/watches", "women/handbags/shoulder-bags", or full shop URLs like "https://www.therealreal.com/shop/women/shoes". Each category returns up to 120 luxury listings. Leave empty to scrape popular default categories (handbags, shoes, watches).

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

Maximum number of listing records to return across all categories. The RealReal server-renders up to 120 products per category page. Use 0 for no limit (returns up to 120 x number of categories). Default 100.

## `scrapeDetails` (type: `boolean`):

Reserved. The RealReal already server-renders full product detail (brand, price, MSRP, size, condition, material, color, images) on the category page, so every record is complete without extra requests.

## `proxyConfiguration` (type: `object`):

Proxy settings. The RealReal uses PerimeterX (HUMAN) bot defense, so RESIDENTIAL proxy is strongly recommended and used by default.

## Actor input object example

```json
{
  "searchQueries": [
    "women/handbags",
    "women/shoes",
    "men/watches"
  ],
  "maxResults": 100,
  "scrapeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "women/handbags",
        "women/shoes",
        "men/watches"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/therealreal-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 = {
    "searchQueries": [
        "women/handbags",
        "women/shoes",
        "men/watches",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/therealreal-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 '{
  "searchQueries": [
    "women/handbags",
    "women/shoes",
    "men/watches"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call lulzasaur/therealreal-scraper --silent --output-dataset

```

## MCP server setup

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