# ThredUp Scraper (`crawlerbros/thredup-scraper`) Actor

Scrape ThredUp - the largest online resale marketplace for women's and kids' secondhand fashion. Search by keyword or filter by brand, department, category, condition, color and price; look up items directly by item number. Real-time listings with pricing, sizing, brand and condition data.

- **URL**: https://apify.com/crawlerbros/thredup-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## ThredUp Scraper

Scrape [ThredUp](https://www.thredup.com) — one of the largest online resale marketplaces for women's, kids', and maternity secondhand fashion. Search live listings by keyword, or narrow down with department, category, brand, condition, color and price filters. Look items up directly by item number. No login, no API key, no paid proxy required.

### What this actor does

- **Two modes:** `search` (keyword + rich filters) and `byItemNumber` (direct lookup)
- **Full filter surface:** department, category, brand, condition, color, price range, clearance-only, sort order
- **Real-time inventory** — every run reflects ThredUp's current live catalog
- **Empty fields are omitted** — every record only contains fields ThredUp actually returned

### Output per item

- `itemId`, `itemNumber`, `sku`
- `title`, `brand`
- `price`, `originalPrice`, `discountPercent`
- `category`, `categoryTags[]`
- `condition`, `conditionLabel` (human-readable)
- `sizeLabel`, `sizeValue`
- `departmentTags[]`, `colorNames[]`, `styleTags[]`
- `state`, `thredupGender`, `clearance`
- `listedAt` — ISO 8601 timestamp
- `photoCount` — number of photos on the listing
- `itemUrl` — ThredUp collection page for this item's brand/department/category
- `searchUrl` — ThredUp search results for this item's title
- `recordType: "item"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byItemNumber` |
| `searchQuery` | string | – | Free-text keyword search |
| `itemNumbers` | array | – | Item numbers (mode=byItemNumber) |
| `department` | array | – | `women`, `plus`, `petite`, `tall`, `maternity`, `juniors`, `boys`, `girls`, `designer`, `premium`, `accessories`, `handbags`, `jewelry` |
| `category` | array | – | Product category (dresses, tops, shoes, handbags, jewelry, etc. — 29 options) |
| `brands` | array | – | Brand names, e.g. `Zara`, `Nike` |
| `condition` | array | – | Listing condition tier |
| `colors` | array | – | Color |
| `priceMin` / `priceMax` | int | – | Price range (USD) |
| `clearanceOnly` | bool | `false` | Only clearance-priced items |
| `sortBy` | string | `recommended` | `recommended` / `relevance` / `best_sellers` |
| `maxItems` | int | `50` | Hard cap (1–1000) |
| `proxyConfiguration` | object | AUTO | Optional Apify datacenter proxy fallback |

> **Note:** `search` mode needs at least one of `searchQuery` or a filter (department, category, brand, condition, color, price range, clearance-only) set — ThredUp's own search API doesn't return a completely unfiltered "browse everything" catalog. Set `searchQuery` (e.g. `dresses`) or add another filter to browse broadly.

#### Example: women's designer dresses under $50

```json
{
  "mode": "search",
  "searchQuery": "dress",
  "department": ["designer", "women"],
  "priceMax": 50,
  "condition": ["Q1_NWT", "Q1_only"]
}
```

#### Example: direct item lookup

```json
{
  "mode": "byItemNumber",
  "itemNumbers": ["231320532"]
}
```

### Data source

ThredUp's public shop GraphQL API (`thredup.com/api/v1/shop/graphql`), the same endpoint that powers thredup.com's own search page. The actor establishes an anonymous browsing session (a cookie ThredUp issues automatically on any page load — no account, login, or signup involved) before querying, exactly as a browser does.

### FAQ

**Do I need a ThredUp account or API key?**
No. The actor uses ThredUp's public search API with an anonymous session, the same one any visitor gets browsing the site.

**How current is the data?**
Live — every run queries ThredUp's catalog in real time.

**Why is `itemUrl` a collection page instead of a single product page?**
ThredUp only exposes individual listings inside search-result panels (no public per-item permalink), so `itemUrl` links to the closest stable, always-navigable page: that item's brand + department + category collection on thredup.com — built from the same URL structure ThredUp's own sitemap uses.

**Why is `price` sometimes higher than `originalPrice`?**
Both values are passed through unmodified from ThredUp's own `itemsV2` API — this isn't a scraping artifact. On a majority of sampled listings, ThredUp's `originalPrice` field is lower than the live `price`, so it does not reliably represent a pre-discount "was" price; treat `price` as the authoritative current listing price and `originalPrice` as a supplementary reference value from ThredUp rather than a guaranteed higher "compare-at" price. `discountPercent` is only emitted for the subset of listings where `originalPrice` actually exceeds `price`.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

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

Free-text keyword search (mode=search). Leave blank to browse purely by filters.

## `itemNumbers` (type: `array`):

ThredUp item numbers to fetch directly, e.g. `231320532`.

## `department` (type: `array`):

Restrict results to one or more departments.

## `category` (type: `array`):

Restrict results to one or more product categories.

## `brands` (type: `array`):

Restrict results to one or more brand names, e.g. `Zara`, `Nike`, `Universal Thread`.

## `condition` (type: `array`):

Restrict results to one or more listing conditions.

## `colors` (type: `array`):

Restrict results to one or more colors.

## `priceMin` (type: `integer`):

Drop items priced below this amount.

## `priceMax` (type: `integer`):

Drop items priced above this amount.

## `clearanceOnly` (type: `boolean`):

Only emit items currently marked as clearance.

## `sortBy` (type: `string`):

Result ordering.

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

Hard cap on emitted records.

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

Optional. ThredUp rarely blocks datacenter IPs; the actor connects directly and this free Apify datacenter (AUTO) proxy is only useful as a fallback if your IP gets rate-limited.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "dresses",
  "itemNumbers": [],
  "department": [],
  "category": [],
  "brands": [],
  "condition": [],
  "colors": [],
  "clearanceOnly": false,
  "sortBy": "recommended",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing all scraped ThredUp listings.

# 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 = {
    "mode": "search",
    "searchQuery": "dresses",
    "itemNumbers": [],
    "department": [],
    "category": [],
    "brands": [],
    "condition": [],
    "colors": [],
    "clearanceOnly": false,
    "sortBy": "recommended",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/thredup-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 = {
    "mode": "search",
    "searchQuery": "dresses",
    "itemNumbers": [],
    "department": [],
    "category": [],
    "brands": [],
    "condition": [],
    "colors": [],
    "clearanceOnly": False,
    "sortBy": "recommended",
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/thredup-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 '{
  "mode": "search",
  "searchQuery": "dresses",
  "itemNumbers": [],
  "department": [],
  "category": [],
  "brands": [],
  "condition": [],
  "colors": [],
  "clearanceOnly": false,
  "sortBy": "recommended",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call crawlerbros/thredup-scraper --silent --output-dataset

```

## MCP server setup

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