# Whatnot Scraper (`mrdoe/whatnot-scraper`) Actor

Scrape Whatnot livestream shopping: live/upcoming shows by category and seller shop profiles (rating, followers, sold count, shop listings).

- **URL**: https://apify.com/mrdoe/whatnot-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **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?

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

### What it does

Whatnot Scraper reads Whatnot's public livestream shopping site two ways, no account needed:

- **By category** - the live (and currently surfaced) shows for a category tag, with title, seller, viewer count, and a link to watch.
- **By seller** - a seller's public profile stats (rating, review count, followers, items sold, average ship time) plus their current shop listings (title, price, quantity, link).

### Why use it

- **No login required** - reads only Whatnot's public category and profile pages.
- **Two data types, one Actor** - track what's live in a category, or watch a specific seller's shop and stats.
- **Numbers parsed, not just displayed** - compact counts like `600.6K` or `135,520` come back as real numbers you can sort and filter.
- **Good fit for monitoring** - run it on a schedule against the same sellers to catch restocks, price changes, or follower growth over time.

### How to use

1. Open the Actor and go to the **Input** tab.
2. Add one or more **Category tags** (e.g. `sneakers_streetwear` - copy the slug from the end of a `whatnot.com/tag/<slug>` URL), and/or one or more **Seller usernames** (copy from the end of a `whatnot.com/user/<username>` URL). At least one of the two is required.
3. Click **Start**.
4. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `categories` | array | One of `categories`/`sellerUsernames` | - | Whatnot category tag slugs, e.g. `"sneakers_streetwear"`. |
| `sellerUsernames` | array | One of `categories`/`sellerUsernames` | - | Whatnot seller usernames, e.g. `"dfwsneakerfan"`. |
| `maxShowsPerCategory` | integer | No | `50` | Maximum number of shows to return per category tag. |
| `maxShopListingsPerSeller` | integer | No | `50` | Maximum number of shop listings to return per seller. |
| `proxyConfiguration` | object | No | Apify Proxy | Proxy to use for the scrape. |

### Output Data

One dataset row per show, per seller profile, and per shop listing - distinguished by the `type` field.

A show row from a live run:

```json
{
    "type": "show",
    "category": "sneakers_streetwear",
    "showId": "38a4c8b7-2a90-4855-94bd-2abb737ec03e",
    "title": "NIKE & MORE PREMIUM CLOTHING FREE",
    "url": "https://www.whatnot.com/live/38a4c8b7-2a90-4855-94bd-2abb737ec03e",
    "sellerUsername": "dfwsneakerfan",
    "status": "LIVE",
    "viewerCount": 696,
    "scheduleLabel": null,
    "thumbnailUrl": "https://images.whatnot.com/..."
}
```

A seller profile row:

```json
{
    "type": "seller",
    "username": "dfwsneakerfan",
    "displayName": "DFW",
    "rating": 4.9,
    "reviewCount": 135520,
    "followersCount": 600600,
    "soldCount": 350300,
    "avgShipTime": "<1d"
}
```

A shop listing row:

```json
{
    "type": "listing",
    "sellerUsername": "dfwsneakerfan",
    "listingId": "2363821251",
    "title": "#8 LUXURY ITEM!",
    "price": 1,
    "quantity": 408,
    "url": "https://www.whatnot.com/listing/TGlzdGluZ05vZGU6MjM2MzgyMTI1MQ=="
}
```

#### Field reference

| Field | Type | Applies to | Description |
|---|---|---|---|
| `type` | string | all | `show`, `seller`, or `listing`. |
| `category` | string | show | The category tag the show was found under. |
| `showId` | string | show | Whatnot's internal show identifier. |
| `status` | string | show | `LIVE` with a `viewerCount`, or `UPCOMING` with a `scheduleLabel` describing when it starts. |
| `viewerCount` | number | show | Current live viewer count. `null` for non-live shows. |
| `username` / `displayName` | string | seller | The seller's handle and public display name. |
| `rating` / `reviewCount` | number | seller | Seller's star rating (out of 5) and total review count. |
| `followersCount` / `soldCount` | number | seller | Follower count and total items sold, parsed from Whatnot's compact counters. |
| `avgShipTime` | string | seller | Seller's average shipping time, exactly as Whatnot displays it (e.g. `"<1d"`). |
| `listingId` / `price` / `quantity` | - | listing | The shop listing's id, price, and remaining quantity. |

### Exporting to CSV / Excel

Open the dataset in the Console's Storage tab and use **Export** to download as CSV, Excel, JSON, XML, or RSS - or fetch a specific format directly via the Dataset API (`?format=csv`, `?format=xlsx`, etc.).

### Limitations

- **Default category sort only.** Category results reflect whatever Whatnot's own "Recommended" sort surfaces first (typically the most active live shows) - this Actor doesn't drive Whatnot's filter UI.
- **Public data only.** No bidding, purchasing, or account-specific data - everything returned is visible to a logged-out visitor.

### FAQ

**Do I need a Whatnot account?** No - this reads Whatnot's own public pages.

**Can I scrape categories and sellers in the same run?** Yes - fill in both `categories` and `sellerUsernames` and both are scraped.

**Why is `viewerCount` null on some shows?** That show isn't currently live - check `status` and `scheduleLabel` instead.

**Does this place bids or purchase anything?** No. This Actor only collects publicly visible show and listing information.

### Running the tests

```bash
npm install
npm test
```

# Actor input Schema

## `categories` (type: `array`):

Whatnot category tag slugs to scrape live and upcoming shows for, e.g. "sneakers_streetwear" or "pokemon-cards". Copy the slug from the end of a whatnot.com/tag/<slug> URL.

## `sellerUsernames` (type: `array`):

Whatnot seller usernames to scrape profile stats and shop listings for, e.g. "dfwsneakerfan". Copy the username from the end of a whatnot.com/user/<username> URL.

## `maxShowsPerCategory` (type: `integer`):

Maximum number of live/upcoming shows to return for each category tag.

## `maxShopListingsPerSeller` (type: `integer`):

Maximum number of shop listings to return for each seller.

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

Proxy settings. Apify Proxy is enabled by default.

## Actor input object example

```json
{
  "categories": [
    "sneakers_streetwear"
  ],
  "sellerUsernames": [],
  "maxShowsPerCategory": 50,
  "maxShopListingsPerSeller": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "categories": [
        "sneakers_streetwear"
    ],
    "sellerUsernames": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/whatnot-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 = {
    "categories": ["sneakers_streetwear"],
    "sellerUsernames": [],
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/whatnot-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 '{
  "categories": [
    "sneakers_streetwear"
  ],
  "sellerUsernames": []
}' |
apify call mrdoe/whatnot-scraper --silent --output-dataset

```

## MCP server setup

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