# Rebag Luxury Resale Scraper (`devilscrapes/rebag-luxury-resale-scraper`) Actor

Scrape normalized handbag and accessory resale listings from shop.rebag.com — clean designer, condition, price, SKU, image, and spec data per variant, straight from the public storefront feed.

- **URL**: https://apify.com/devilscrapes/rebag-luxury-resale-scraper.md
- **Developed by:** [DevilScrapes](https://apify.com/devilscrapes) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## Rebag Luxury Resale Scraper

**💰 $1.25 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Scrape normalized handbag and accessory resale listings from shop.rebag.com — clean designer, condition, price, SKU, image, and spec data per variant.

</div>

***

### 🎯 What this scrapes

Rebag is a well-known name in luxury handbag resale, and its Apify Store coverage is thin: `jungle_synthesizer/rebag-luxury-resale-listings-scraper` runs with just 4 users, and only 3 rivals name-match the target at all. This Actor talks to Rebag's public Shopify storefront JSON feed on shop.rebag.com — never the client-rendered, robots.txt-disallowed www.rebag.com/shop page — for normalized designer, condition, price, SKU/item-number, image, and spec data per variant (not per product, since price and availability live at the variant level), backed by a three-tier fallback (collection guess, free-text suggest, full-catalog browse) and per-product/variant fault isolation.

### 🔥 What we handle for you

- 🛡️ **Browser fingerprint rotation** — `curl-cffi` impersonates real Chrome / Firefox / Safari TLS handshakes, rotated across requests, so the target sees a browser, not Python.
- 🌐 **Proxy session rotation** via Apify Proxy — fresh session and exit IP on every block.
- 🔁 **Retries with exponential backoff** on `408 / 429 / 5xx` — up to 5 attempts per page, `Retry-After` honoured.
- 🧱 **Product- and variant-level fault isolation** — one malformed product or variant is skipped and logged, never crashes the run.
- 🧊 **Clean, typed dataset rows** — Pydantic-validated, ISO-8601 timestamps, one row per variant so price and availability never get flattened away.
- 💰 **Pay-Per-Event pricing** — you only pay for results that hit your dataset. No data, no charge.

### 💡 Use cases

- **Price-comps and arbitrage bots** — pull normalized per-variant pricing and condition to feed a resale price model.
- **Authenticators and appraisers** — cross-reference SKU/item-number, brand code, and spec fields against a catalog of known listings.
- **Resellers sourcing inventory** — filter by designer and condition to shortlist candidates worth reselling elsewhere.
- **Market researchers** — track designer mix, condition distribution, and pricing trends across Rebag's resale catalog.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Fill in the input form — most fields have sensible defaults.
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `query` | `string` | no | 'chanel' | Free-text designer/item query (e.g. 'chanel', 'chanel classic flap'). Slugified into a candidate collection handle… |
| `collectionHandle` | `string` | no | None | Advanced override — exact Shopify collection handle (lowercase letters, digits, hyphens only), bypasses slugification… |
| `maxItems` | `integer` | no | 200 | Cap on rows this run, across all pages/fallback. |
| `designerFilter` | `string` | no | None | Case-insensitive substring match against the designer/vendor, applied post-fetch. |
| `conditionFilter` | `string` | no | None | Case-insensitive substring match against the parsed condition (e.g. 'Very Good'), applied post-fetch. |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': True} | No proxy group forced by default — the live probe found no anti-bot posture on this target. |

#### Example input

```json
{
  "query": "chanel",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `listing_id` | `string` | variant.id — unique key, not the product id. |
| `product_id` | `string` | Product id. |
| `sku` | `['string', 'null']` | variant.sku (Rebag's item number). |
| `title` | `string` | Product title. |
| `designer` | `string` | vendor (designer/brand). |
| `category` | `['string', 'null']` | product\_type. |
| `condition` | `['string', 'null']` | Parsed from variant.option1/title, falling back to the bc-filter-<Condition> tag. |
| `color` | `['string', 'null']` | variant.option2. |
| `price` | `['number', 'null']` | variant.price, decimal string parsed to float. |
| `compare_at_price` | `['number', 'null']` | variant.compare\_at\_price; null when not discounted. |
| `available` | `boolean` | variant.available. |
| `primary_image_url` | `['string', 'null']` | images\[0].src. |
| `image_urls` | `array` | All images\[].src (empty OK). |
| `specs` | `object` | Best-effort <b>Label:</b> value pairs parsed from body\_html (empty OK). |
| `description_html` | `['string', 'null']` | Raw body\_html. |
| `tags` | `array` | Product tags (empty OK). |
| `product_url` | `string` | https://shop.rebag.com/products/{handle} |
| `published_at` | `['string', 'null']` | Product published\_at, ISO 8601 as returned. |
| `scraped_at` | `string` | ISO 8601 UTC row-creation timestamp. |

#### Example output

```json
{
  "listing_id": "45063759954097",
  "product_id": "8212143341745",
  "sku": "319168/1",
  "title": "Women's Pointed Toe Pumps Satin and Lucite",
  "designer": "Chanel",
  "category": "Shoes",
  "condition": "Very Good",
  "color": "blue",
  "price": 270.0,
  "compare_at_price": null,
  "available": true,
  "primary_image_url": "https://cdn.shopify.com/...",
  "image_urls": [
    "https://cdn.shopify.com/..."
  ],
  "specs": {
    "Model": "...",
    "Exterior Material": "Satin",
    "Exterior Color": "Blue",
    "Interior Material": "Leather",
    "Interior Color": "Blue",
    "Brand Code": "G26724",
    "Item Number": "319168/1"
  },
  "description_html": "<p>...<b>Condition:</b> Very good. ...</p>",
  "tags": [
    "100-to-500",
    "bc-filter-Great",
    "bc-filter-Excellent",
    "chanel",
    "in-stock"
  ],
  "product_url": "https://shop.rebag.com/products/shoes-chanel-womens-pointed-toe-pumps-satin-and-lucite-3191681",
  "published_at": "2025-01-14T00:42:08-05:00",
  "scraped_at": "2026-08-24T12:00:00+00:00"
}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.05 | One-off warm-up charge per run |
| `result-row` | $0.0012 | Per unique dataset item |

Example: 1 000 results at the rates above ≈ **$1.25**. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

### 🚧 Limitations

v1 covers shop.rebag.com's public storefront JSON feed only — no authenticated/account-only data (order history, saved items), no historical price tracking, and no canonical closed list of condition values (Condition ships as free text since the platform's full vocabulary wasn't exhaustively confirmed). The specs field is a best-effort regex extraction from each product's description HTML — description\_html always ships alongside it as the raw fallback.

### ❓ FAQ

**Do I need a Rebag account or API key?**

No. This Actor scrapes Rebag's own public Shopify storefront JSON feed — no login, no API key.

**What happens if my query doesn't match a real collection?**

We fall back to Rebag's free-text search endpoint (capped at 10 results by the platform itself) so you still get something instead of a guaranteed-empty run.

**Why is one product several rows in my dataset?**

Price, SKU, and availability live at the variant level (color, sometimes size), so we emit one row per variant, not one per product page.

**Can I browse the whole catalog without a query?**

Yes — leave Query and Collection handle both empty and we page through the full public catalog up to Max items.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Actor input Schema

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

Free-text designer/item query (e.g. 'chanel', 'chanel classic flap'). Slugified into a candidate collection handle unless Collection handle is set. Leave empty to browse the full catalog.

## `collectionHandle` (type: `string`):

Advanced override — exact Shopify collection handle (lowercase letters, digits, hyphens only), bypasses slugification and wins over Query when both are set.

## `maxItems` (type: `integer`):

Cap on rows this run, across all pages/fallback.

## `designerFilter` (type: `string`):

Case-insensitive substring match against the designer/vendor, applied post-fetch.

## `conditionFilter` (type: `string`):

Case-insensitive substring match against the parsed condition (e.g. 'Very Good'), applied post-fetch.

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

No proxy group forced by default — the live probe found no anti-bot posture on this target.

## Actor input object example

```json
{
  "query": "chanel",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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 = {
    "query": "chanel",
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/rebag-luxury-resale-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 = {
    "query": "chanel",
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/rebag-luxury-resale-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 '{
  "query": "chanel",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devilscrapes/rebag-luxury-resale-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devilscrapes/rebag-luxury-resale-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/Btgt9VjDkmnQ7JiUE/builds/EEZ4XdPX97dAcPTt3/openapi.json
