# Grailed Listings & Price Scraper (`devilscrapes/grailed-listings-scraper`) Actor

Search Grailed's menswear and streetwear resale marketplace by keyword. One row per active listing with price, brand, size, condition, seller, and photo - built for resale-arbitrage comps. No login required; we handle the retries.

- **URL**: https://apify.com/devilscrapes/grailed-listings-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" />

## Grailed Listings & Price Scraper

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

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

Search Grailed's menswear and streetwear resale marketplace by keyword. One row per active listing with price, brand, size, condition, seller, and photo - built for resale-arbitrage comps. No login required; we handle the retries.

</div>

***

### 🎯 What this scrapes

Grailed is the go-to resale marketplace for menswear and streetwear - archive fashion, hyped drops, and everyday brands alike. This Actor runs your keyword searches against the same JSON search index Grailed's own `/shop` page calls to render its results grid, so we're never scraping brittle HTML/CSS selectors - just structured listing data, mapped into one clean row per active listing: price, brand, size, condition, seller, and photo.

### 🔥 What we handle for you

- 🔁 **Retries with exponential backoff** on `408 / 429 / 5xx` and network errors - up to 5 attempts per page, `Retry-After` honoured.
- 🔄 **Browser fingerprint rotation** - `curl-cffi` impersonates Chrome and Firefox TLS handshakes on every retry, defense-in-depth even though live recon found no fingerprint sensitivity on Grailed's search page.
- 🌐 **Apify Proxy wired in from the start** - shared datacenter pool by default, one click to switch to residential if you ever need it.
- 🧱 **Fault-isolated pages** - one malformed listing never takes down the rest of the page; a query that matches nothing still succeeds with zero rows.
- 🧊 **Clean, typed dataset rows** - Pydantic-validated, ISO-8601 timestamps, stable IDs, JSON / CSV / Excel export straight from the Apify Console.
- 💰 **Pay-Per-Event pricing** - you only pay for results that hit your dataset. No data, no charge.

### 💡 Use cases

- Resale-arbitrage comps - price streetwear/menswear stock against live Grailed asks.
- Streetwear reselling - track new listings for a designer or drop across searches.
- Market research - monitor pricing trends for archive fashion and hyped brands.
- Inventory sourcing - surface underpriced listings matching a keyword watchlist.

### ⚙️ 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 |
|---|---|:--:|---|---|
| `queries` | `array` | **yes** | \['jacket', 'carhartt'] | One or more free-text Grailed shop searches, e.g. "jacket", "carhartt", "raf simons". Each query runs its own paginated… |
| `maxPagesPerQuery` | `integer` | no | 2 | How many /shop pages to fetch per query before moving to the next query. A page that yields zero listings stops that… |
| `category` | `string` | no | '—' | Optional free-text category filter, folded into the search query (e.g. "outerwear"). Leave blank to search every… |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': True} | Apify Proxy configuration. Defaults to Apify's shared datacenter pool - live recon found no anti-bot fingerprinting on… |

#### Example input

```json
{
  "queries": [
    "jacket",
    "carhartt"
  ],
  "maxPagesPerQuery": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `listing_id` | `string` | Grailed's own listing ID. |
| `title` | `string` | Listing title. |
| `brand` | `string` | Designer/brand tag, when set by the seller. |
| `price` | `string` | Asking price, normalised to dollars as a decimal string, e.g. "480.00". |
| `currency` | `string` | ISO 4217 currency code ("USD" unless the listing exposes another explicitly). |
| `size` | `string` | Size tag, when set by the seller. |
| `condition` | `string` | Condition label, e.g. "Gently Used". |
| `seller_username` | `string` | Seller's Grailed username, when present. |
| `listing_url` | `string` | Canonical Grailed listing URL. |
| `image_url` | `string` | Primary listing photo URL, when present. |
| `query_used` | `string` | The search query that produced this row. |
| `page` | `integer` | The /shop page number that produced this row. |
| `scraped_at` | `string` | ISO-8601 UTC timestamp when this row was recorded. |

#### Example output

```json
{
  "listing_id": "58421093",
  "title": "Raf Simons AW03 Consumed Bomber",
  "brand": "Raf Simons",
  "price": "480.00",
  "currency": "USD",
  "size": "M",
  "condition": "Gently Used",
  "seller_username": "archive_dealer",
  "listing_url": "https://www.grailed.com/listings/58421093-raf-simons-aw03-consumed-bomber",
  "image_url": "https://media.grailed.com/photos/58421093/full.jpg",
  "query_used": "raf simons",
  "page": 1,
  "scraped_at": "2026-09-14T12:00:00.000Z"
}
```

### 💰 Pricing

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

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

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

### 🚧 Limitations

- Active listings only - this Actor scrapes the public `/shop` search, not sold/completed-sale history.
- No per-listing detail-page enrichment beyond what the search results page already carries.
- No structured facet filters (size/designer as distinct params) - `category` folds into the free-text query string.
- USD/`.com` storefront only - no other Grailed region variants in v1.
- No authenticated views - saved searches, offers, and the sold tab require a login this Actor doesn't use.

### ❓ FAQ

**Is this legal?**

We only fetch what Grailed's public shop-search page already serves to any visitor. Respect Grailed's Terms of Service before using the output commercially.

**How do I search multiple brands or terms at once?**

Add each term as its own entry in the queries list - the Actor runs one paginated search per entry and merges the results into a single dataset.

**Why did a query return zero rows?**

Either nothing on Grailed matched that search, or the search genuinely has no results. The run still succeeds - an empty match isn't treated as a failure.

**Can I get sold/completed listings instead of active ones?**

Not in v1 - this Actor covers Grailed's public active-listing search only. Open an Issue if you need sold-comp data and we'll scope it.

### 💬 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

## `queries` (type: `array`):

One or more free-text Grailed shop searches, e.g. "jacket", "carhartt", "raf simons". Each query runs its own paginated search.

## `maxPagesPerQuery` (type: `integer`):

How many /shop pages to fetch per query before moving to the next query. A page that yields zero listings stops that query early.

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

Optional free-text category filter, folded into the search query (e.g. "outerwear"). Leave blank to search every category.

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

Apify Proxy configuration. Defaults to Apify's shared datacenter pool - live recon found no anti-bot fingerprinting on Grailed's search page. Switch to RESIDENTIAL here if you see blocks at scale.

## Actor input object example

```json
{
  "queries": [
    "jacket",
    "carhartt"
  ],
  "maxPagesPerQuery": 2,
  "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 = {
    "queries": [
        "jacket",
        "carhartt"
    ],
    "maxPagesPerQuery": 2,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/grailed-listings-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 = {
    "queries": [
        "jacket",
        "carhartt",
    ],
    "maxPagesPerQuery": 2,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/grailed-listings-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 '{
  "queries": [
    "jacket",
    "carhartt"
  ],
  "maxPagesPerQuery": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devilscrapes/grailed-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devilscrapes/grailed-listings-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/K9VjJLgCoQLMGsofM/builds/R8P9GufQkLowwo07x/openapi.json
