# Grailed Fashion Product Scraper (`muhammadafzal/grailed-fashion-scraper`) Actor

Search public Grailed fashion listings and export product prices, condition, designers, sellers, categories, images, shipping, and sold status.

- **URL**: https://apify.com/muhammadafzal/grailed-fashion-scraper.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 fashion product returneds

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

## Grailed Fashion Product Scraper

> **Apify Free plan limit:** Users on Apify’s Free account plan receive at most **5 dataset records per run**, even if `maxResults` is higher. Paid-plan users can request up to 1,000 records per run.

Search Grailed's public marketplace index and export current fashion-product records. Use it for product research, resale pricing checks, sourcing lists, designer monitoring, and category analysis.

Each dataset row is one public listing and includes its title, listing URL, USD price, sold status and sold price when public, designers, department, category, size, color, condition, styles, public seller reputation, primary image URL, shipping regions, and timestamps.

### Input

- **Search query** — a product, designer, or keyword such as `Rick Owens`.
- **Department** — optionally limit to `menswear` or `womenswear`.
- **Condition** — optionally limit to new, gently used, used, or unspecified listings.
- **Minimum / maximum price** — inclusive USD price range.
- **Sort results by** — relevance, newest, lowest price, highest price, or most popular.
- **Sold listings only** (`includeSold`) — search only the public sold-listing index rather than active listings.
- **Maximum results** — request 1–1,000 unique product records; default is 50. Runs by users on Apify’s Free account plan are automatically capped at 5 records.

Example input:

```json
{
  "query": "Rick Owens",
  "department": "menswear",
  "minPrice": 200,
  "maxPrice": 1000,
  "sortBy": "newest",
  "maxResults": 50
}
```

### Output

The default dataset contains normalized public listing records. `SUMMARY` in the default key-value store records the run outcome (`DATA`, `PARTIAL`, `EMPTY`, `REJECTED`, or `BLOCKED_OR_FAILED`), applied index and filters, requested and effective result limits, whether the Free-plan limit was applied or reached, delivered and charged counts, page count, invalid-hit count, and access warnings.

### Pricing

This Actor uses **pay-per-event** pricing. The current per-event prices are:

| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM | DIAMOND | When it is charged |
|---|---:|---:|---:|---:|---:|---:|---|
| `apify-actor-start` | $0.006251 | $0.006094 | $0.005938 | $0.005 | $0.005 | $0.005 | At Actor start; one event per GB of memory, minimum one event per run. |
| `fashion-product` | $0.005001 | $0.004875 | $0.00475 | $0.004 | $0.004 | $0.004 | Once per unique public Grailed listing successfully saved to the dataset. |

Apify platform usage for this Actor run is included alongside the event prices above; no separate per-run platform-usage fee is passed to users.

Users on Apify’s Free account plan can receive at most **5 records per run**. The Actor caps larger `maxResults` requests at 5 and reports when that limit is reached. Paid-plan users can request up to 1,000 records.

On the FREE event-pricing tier, one product result costs $0.011252 in event charges including the start event; five results cost $0.031256. The account-plan result limit above is enforced separately from per-event prices.

This covers Apify platform usage for this Actor run. Other Apify products or usage outside this Actor run may still follow your account plan.

### Limits and responsible use

This Actor reads the public search data route used by Grailed's own shop frontend. It does not log in, bypass CAPTCHAs, access checkout or private messages, or attempt to defeat access controls. Listing detail pages can be separately challenge-protected, so this Actor intentionally promises only fields available from the public marketplace index; it does not promise private descriptions, measurements, or all gallery photos.

The scraper uses bounded retries for temporary rate limits and server failures. If Grailed rotates its public search credentials, it attempts one refresh from the public shop configuration. Partial data is preserved and disclosed in `SUMMARY` if the source fails after some records have already been delivered.

Use the data in accordance with Grailed's terms, applicable law, and your own permitted use case. Marketplace inventory and prices change frequently.

# Actor input Schema

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

Use to find listings by a public keyword, designer, or product name; for example, Rick Owens. Default: Rick Owens. Does not search private seller data.

## `department` (type: `string`):

Optional public Grailed department filter. Choose menswear or womenswear; omit it to search all departments.

## `condition` (type: `string`):

Optional public listing-condition filter. Choose one normalized Grailed condition value.

## `minPrice` (type: `integer`):

Optional inclusive minimum listing price in USD; for example, 100. Must be no greater than maxPrice.

## `maxPrice` (type: `integer`):

Optional inclusive maximum listing price in USD; for example, 500. Must be no less than minPrice.

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

Choose the public Grailed sort order. Default: relevance / recently updated.

## `includeSold` (type: `boolean`):

Turn on to search only Grailed's public sold-listing index instead of active listings. Default: false.

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

Maximum unique listing records to save. Default: 50; paid-plan range: 1–1000. Apify Free plan runs are automatically capped at 5 results.

## Actor input object example

```json
{
  "query": "Rick Owens",
  "sortBy": "relevance",
  "includeSold": false,
  "maxResults": 10
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `datasetCsv` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `consoleRun` (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 = {
    "query": "Rick Owens",
    "sortBy": "relevance",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/grailed-fashion-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": "Rick Owens",
    "sortBy": "relevance",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/grailed-fashion-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": "Rick Owens",
  "sortBy": "relevance",
  "maxResults": 10
}' |
apify call muhammadafzal/grailed-fashion-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/grailed-fashion-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/3Np4md273WBw45Dxx/builds/JoJPPSjeEbCMOKmcI/openapi.json
