# Whatnot Scraper — Listings, Sellers & Shop Inventory (`blackfalcondata/whatnot-scraper`) Actor

Scrape whatnot.com — live-shopping marketplace listings and sellers — prices · bids · conditions · card attributes (Set · Grade · Year) · seller ratings · sold counts & full shop inventory. Incremental mode tracks new and changed listings across scheduled runs.

- **URL**: https://apify.com/blackfalcondata/whatnot-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 17 total users, 2 monthly users, 90.6% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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.

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 does Whatnot Scraper do?

Whatnot Scraper extracts listings and seller profiles from [Whatnot](https://www.whatnot.com/?fpr=1h3gvi) — the leading live-commerce platform for collectibles, trading cards, comics, toys, and sports memorabilia. Unlike general e-commerce scrapers, it walks full seller shop inventories, extracts structured card attributes (Set, Grade, Year, Cert), and tracks price changes across runs so you always know what's new and what's dropped in price.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi) and use the included $5 monthly platform credit to test this actor.

### Key features

- **🏪 Full seller shop inventory** — cursor-walk a seller's complete active listings, not just a capped search page. Get every item they have listed with prices, conditions, and attributes.
- **⭐ Real seller ratings & social proof** — extract verified seller rating, review count, follower count, sold count, and Premier Shop / verified badges from each profile.
- **🃏 Structured listing attributes** — Set, Grade, Year, Certification, and Condition extracted as structured key-value pairs from `listingAttributeValues[]` — ready for filtering and analytics.
- **♻️ Incremental mode with price tracking** — each run tags listings as NEW, UPDATED, or UNCHANGED. Price and bid changes are captured in `lastObservedPrice` / `lastObservedBid` — no duplicate re-scraping.
- **🔍 Deal filters** — filter by price range, minimum discount %, minimum quantity, offerable-only, and condition substring (e.g. `"new"` matches "New", "Like New", "Brand New").
- **📦 Four scrape modes** — keyword search, category browse, seller shop walk, or paste direct listing/seller URLs. Mix modes in one run.
- **🤖 AI-ready structured output** — listings and seller profiles as clean JSON with consistent field names, null-free (with `excludeEmptyFields`), and description in text/HTML/Markdown format.
- **🔌 MCP connectors** — export listings and seller profiles straight into Notion (or another connected app) via Apify's MCP connectors — a clean run-summary, no glue code. Opt-in via the App connector field; deterministic field-mapping, no AI.

### What data can you extract from whatnot.com?

Each result includes Core Whatnot Scraper fields (`type`, `id`, `url`, `title`, `images`, `videos`, `listingType`, and `status`, and more) and detail fields when enrichment is enabled (`description`, `descriptionHtml`, and `descriptionMarkdown`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions where the source provides them.

### Input

The main inputs are a search keyword and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`searchKeywords`** — One or more search terms. Each keyword produces an independent set of results.
- **`categories`** — One or more Whatnot category slugs (e.g. "trading-cards", "sneakers"). Leave empty to search across all categories.
- **`sellerUrls`** — Whatnot seller profile URLs (e.g. https://www.whatnot.com/user/bob). The actor scrapes all active listings in each seller's shop.
- **`startUrls`** — Direct listing URLs or search result pages to scrape. Useful for targeting specific items or saved searches.
- **`listingType`** — Filter by transaction type: all types, auctions only, or fixed-price buy-now listings only. (default: `"all"`)
- **`status`** — Filter by listing status: active listings, currently-live shows, sold listings, or all. (default: `"active"`)
- **`condition`** — Filter by item condition (e.g. "new", "like_new", "good", "fair"). Leave empty for all conditions.
- **`priceMin`** — Minimum listing price in US dollars. Listings below this price are excluded.
- **`priceMax`** — Maximum listing price in US dollars. Listings above this price are excluded.
- **`sort`** — How to sort the results: best match, newest listings, ending soonest (auctions), price low-to-high, or price high-to-low. (default: `"best_match"`)
- **`onlyLive`** — When enabled, return only listings attached to a currently live show. (default: `false`)
- **`minDiscountPercent`** — Minimum discount percentage (0–100). Only listings with at least this discount are included.
- ...and 30 more parameters

### Input examples

**Paste direct URLs** — Scrape specific listing or search-result pages by pasting their URLs.

→ One record per listing found at the provided URLs.

```json
{
  "startUrls": [
    {
      "url": "https://www.whatnot.com/search/pokemon%20cards"
    }
  ],
  "maxItems": 50
}
```

**Keyword search with deal filters** — Search by keyword and keep only buy-now listings within a price range.

→ Listings matching the keyword that pass the price and type filters.

```json
{
  "searchKeywords": [
    "trading cards"
  ],
  "listingType": "buy_now",
  "priceMin": 10,
  "priceMax": 200,
  "maxItems": 50
}
```

**Seller shop walk** — Walk a seller's full active inventory and include their profile.

→ The seller profile plus every active listing in their shop.

```json
{
  "sellerUrls": [
    "https://www.whatnot.com/user/example"
  ],
  "includeSellerProfiles": true,
  "maxListingsPerSeller": 100
}
```

**Compact output for AI agents** — Return only core fields for lightweight AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "searchKeywords": [
    "trading cards"
  ],
  "compact": true,
  "maxItems": 50
}
```

### Output

Each run produces a dataset of structured Whatnot Scraper records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example Whatnot Scraper record

```json
{
  "type": "listing",
  "id": "TGlzdGluZ05vZGU6MTgzNjcyMDY4MA==",
  "url": "https://www.whatnot.com/listing/TGlzdGluZ05vZGU6MTgzNjcyMDY4MA==",
  "title": "Bulbizarre Pokémon go",
  "description": "Pogo",
  "descriptionHtml": "<p>Pogo</p>",
  "descriptionMarkdown": "Pogo",
  "images": [
    "https://images.whatnot.com/eyJidWNrZXQiOiAid2hhdG5vdC1pbWFnZXMiLCAia2V5IjogImxpc3RpbmdzLzAtMTRlZmFhZDQtN2ZmNS00NGRhLTg2M2QtOTc5N2Y0NjIzNTc1LTU1N2MzOWNkLTBiYjEtNGQyZi05ZTk1LTAxNTczYjkxNmYyYy5qcGVnIiwgI..."
  ],
  "listingType": "BUY_IT_NOW",
  "status": "ACTIVE",
  "price": 2,
  "buyNowPrice": 2,
  "currency": "EUR",
  "quantity": 2,
  "isOfferable": true,
  "category": "Pokémon Cards",
  "categoryPath": [
    "Pokémon Cards"
  ],
  "hashtags": [
    "Pokémon"
  ],
  "productId": "UHJvZHVjdE5vZGU6NDk0NDIzMjU3",
  "seller": {
    "id": "UHVibGljVXNlck5vZGU6MzE2MTA1NDQ=",
    "username": "texdjo",
    "url": "https://www.whatnot.com/user/texdjo",
    "rating": 4.9,
    "reviewCount": 1470,
    "isVerified": false,
    "isPremierShop": false,
    "onVacation": false
  },
  "showTitle": "🇫🇷 🍀❤️LIVE POKÉMON❤️🍀 2€PDD",
  "isLive": false,
  "scheduledStartTime": "2026-06-01T14:00:00.000Z",
  "createdAt": "2026-05-19T20:01:31.000Z",
  "lifecycle": "NEW"
}
```

### Incremental fields

Change tracking is always on: every run compares what it finds with the previous run over the same search (or the same `stateKey`). Each listing record also carries:

- `lifecycle` — one of `NEW`, `UPDATED`, `REAPPEARED` or `UNCHANGED`. By default a repeat run returns only `NEW`, `UPDATED` and `REAPPEARED` listings; set `emitUnchanged: true` to get every matching listing every time.
- `lastObservedPrice`, `lastObservedBid`, `lastObservedAt` — the price, top bid and time recorded for this listing on the previous run (`null` for a listing seen for the first time), so an `UPDATED` listing shows what it changed from.

### How to scrape whatnot.com

1. Go to [Whatnot Scraper](https://apify.com/blackfalcondata/whatnot-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword.
3. Set `maxItems` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Monitor a seller's shop for new listings and price drops.
- Build a collectible price database for Pokemon, sports cards, comics, or toys.
- Track auction competition — watch bid counts and top bids across categories.
- Qualify sellers before buying: check rating, sold count, and verified status.
- Feed a price-alert system for specific items (keyword + condition filter).
- Research inventory gaps in the collectible market by category and condition.

### How much does it cost to scrape whatnot.com?

Whatnot Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.005 per run
- **Per result:** $0.004 per Whatnot Scraper record

Example costs:

- 10 results: **$0.045**
- 25 results: **$0.11**
- 100 results: **$0.41**
- 200 results: **$0.81**
- 500 results: **$2**

> **Platform usage is billed on top of these prices.** The figures above are Apify event fees only. Compute units and proxy traffic are billed separately by Apify at your actual consumption, and for proxy- or browser-heavy workloads they can exceed the event fees. What you actually pay depends on your own input — how many results you request, whether detail enrichment is on, and the run memory you choose — so it cannot be stated as a fixed figure here. Every run reports its exact platform usage on the run detail page.
>
> The **Actor Start** event is charged once per GB of run memory (minimum one), so a run configured with 2 GB is charged two start events rather than one.

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of Whatnot Scrapers that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 Whatnot Scrapers per run, daily polling (30 runs/month). Costs scale linearly with the number of Whatnot Scrapers.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $1.00 | $0.06 | $0.95 (95%) | $1.65 |
| 15% — moderate broad query | $1.00 | $0.15 | $0.85 (85%) | $4.65 |
| 30% — high-volume aggregator | $1.00 | $0.30 | $0.70 (70%) | $9.15 |

Full re-scrape monthly cost at the same cadence: $30.15. First month with incremental costs $2.60 / $5.50 / $9.85 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (see the note above) also applies to these figures. Incremental runs consume less of it on result processing, though the fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from whatnot.com?

The number of results depends on the search query and available Whatnot Scrapers on whatnot.com. Use the `maxItems` parameter to control how many results are returned per run.

#### Does Whatnot Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed Whatnot Scrapers on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Whatnot Scraper with other apps?

Yes. Whatnot Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Whatnot Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Whatnot Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape whatnot.com?

This actor extracts publicly available data from whatnot.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/whatnot-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Agoda Reviews Scraper — Hotel Guest Reviews](https://apify.com/blackfalcondata/agoda-reviews-scraper?fpr=1h3gvi) — Scrape guest reviews for any Agoda hotel — star ratings · full review text in the original language.
- [Airbnb Reviews Scraper — vacation rental review data](https://apify.com/blackfalcondata/airbnb-reviews-scraper?fpr=1h3gvi) — Scrape airbnb.com reviews for any listing URL or a whole city. Get flat rows covering guest.
- [Booking Reviews Scraper \[Just 💰$1\] — by Hotel or Destination](https://apify.com/blackfalcondata/booking-reviews-scraper?fpr=1h3gvi) — 💰 $1 per 1,000 reviews. Scrape Booking.com guest reviews by hotel URL or destination. Each record.
- [Clutch.co Scraper — B2B Agencies, Ratings & Reviews](https://apify.com/blackfalcondata/clutch-scraper?fpr=1h3gvi) — Scrape clutch.co — B2B service providers with ratings · review counts · service lines · hourly.
- [Comparably Company Scraper — Ratings, Reviews & Salaries](https://apify.com/blackfalcondata/comparably-com-scraper?fpr=1h3gvi) — Scrape Comparably companies: overall rating, culture scores, CEO approval, employee reviews.
- [Fiverr Scraper \[Just 💰$0.75\] — Gigs, Sellers & Packages](https://apify.com/blackfalcondata/fiverr-scraper?fpr=1h3gvi) — Scrape fiverr.com gigs at $0.75 per 1,000 — starting price, every package tier with delivery time.
- [Jameda Scraper \[Just 💰$2\] — German doctor reviews](https://apify.com/blackfalcondata/jameda-scraper?fpr=1h3gvi) — 💰 $2 per 1,000 reviews. Scrape jameda.de — physician name & specialty · clinic address.
- [Kununu Scraper \[Just 💰$1\] — Employer Reviews & Ratings (DACH)](https://apify.com/blackfalcondata/kununu-scraper?fpr=1h3gvi) — 💰 $1 per 1,000 records. Scrape kununu.com across DACH — company ratings, employee reviews & salary.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on whatnot.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Whatnot's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Whatnot or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### Search keywords

whatnot scraper, whatnot api, apify whatnot, whatnot data extraction, whatnot.com scraper, whatnot.com data, whatnot.com api.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/whatnot-scraper/changelog.md

# Actor input Schema

## `searchKeywords` (type: `array`):

One or more search terms. Each keyword produces an independent set of results.

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

One or more Whatnot category slugs (e.g. "trading-cards", "sneakers"). Leave empty to search across all categories.

## `sellerUrls` (type: `array`):

Whatnot seller profile URLs (e.g. https://www.whatnot.com/user/bob). The actor scrapes all active listings in each seller's shop.

## `startUrls` (type: `array`):

Direct listing URLs or search result pages to scrape. Useful for targeting specific items or saved searches.

## `listingType` (type: `string`):

Filter by transaction type: all types, auctions only, or fixed-price buy-now listings only.

## `status` (type: `string`):

Filter by listing status: active listings, currently-live shows, sold listings, or all.

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

Filter by item condition (e.g. "new", "like_new", "good", "fair"). Leave empty for all conditions.

## `priceMin` (type: `number`):

Minimum listing price in US dollars. Listings below this price are excluded.

## `priceMax` (type: `number`):

Maximum listing price in US dollars. Listings above this price are excluded.

## `sort` (type: `string`):

How to sort the results: best match, newest listings, ending soonest (auctions), price low-to-high, or price high-to-low.

## `onlyLive` (type: `boolean`):

When enabled, return only listings attached to a currently live show.

## `minDiscountPercent` (type: `number`):

Minimum discount percentage (0–100). Only listings with at least this discount are included.

## `offerableOnly` (type: `boolean`):

When enabled, only include listings where the seller accepts offers.

## `quantityMin` (type: `integer`):

Minimum available quantity. Only listings with at least this many units in stock are included.

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

Maximum total listings to return (0 = unlimited). Applies across all sources combined.

## `maxListingsPerSeller` (type: `integer`):

Maximum listings to collect from each seller's shop (0 = unlimited).

## `maxSellers` (type: `integer`):

Maximum number of sellers to process from sellerUrls (0 = all provided sellers).

## `includeSellerProfiles` (type: `boolean`):

Fetch and emit the seller's full profile (bio, follower count, ratings, social links) alongside their listings.

## `includeListingDetails` (type: `boolean`):

Fetch the full listing detail page for each result — adds full description, all images, condition notes, and structured attributes.

## `includeProductAggregates` (type: `boolean`):

Add product-level price range data (min/max across all variants) when available.

## `descriptionFormat` (type: `string`):

Format for the description field: all (text + html + markdown), text only, html only, or markdown only.

## `excludeEmptyFields` (type: `boolean`):

Remove null and empty fields from the output to reduce dataset size.

## `includeRunMetadata` (type: `boolean`):

Append run metadata (actor version, run ID, scrape timestamp) to each output record.

## `stateKey` (type: `string`):

Optional. Names the change-tracking history this run reads and writes. Leave empty and the search itself decides, which means two runs over the same search share one history. Set different keys to track the same search separately, or reuse a key across runs to keep one continuous history.

## `emitUnchanged` (type: `boolean`):

By default a repeat run over the same search returns only what is new or has changed. Turn this on to get every matching listing every time, changed or not.

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1–20).

## `notifyOnlyChanges` (type: `boolean`):

Only send notifications for NEW and UPDATED listings when incremental mode is active.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business).

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567").

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Works with n8n, Make, Zapier, and custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom HTTP headers sent with the webhook (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results. Notion is supported today (a run-summary page); other MCP connectors are best-effort as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

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

Maximum number of listings to return per run. Set to 0 for unlimited.

## `compact` (type: `boolean`):

Return only core fields. Reduces payload size for LLM pipelines and agent tools.

## `includeDetails` (type: `boolean`):

Fetch the detail page for each listing to retrieve the full description text and contact information. Increases run time and cost. Leave off for a fast, low-cost run.

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

Listing search keywords. Enter a single term or a JSON array for multi-query runs.

## Actor input object example

```json
{
  "searchKeywords": [
    "trading cards"
  ],
  "listingType": "all",
  "status": "active",
  "sort": "best_match",
  "onlyLive": false,
  "offerableOnly": false,
  "maxItems": 5,
  "maxListingsPerSeller": 0,
  "maxSellers": 0,
  "includeSellerProfiles": false,
  "includeListingDetails": false,
  "includeProductAggregates": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": false,
  "includeRunMetadata": false,
  "stateKey": "watches-daily",
  "emitUnchanged": false,
  "notificationLimit": 5,
  "notifyOnlyChanges": false,
  "maxResults": 100,
  "compact": false,
  "includeDetails": false
}
```

# Actor output Schema

## `results` (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 = {
    "searchKeywords": [
        "trading cards"
    ],
    "maxItems": 5,
    "includeListingDetails": false,
    "emitUnchanged": false,
    "maxResults": 100,
    "includeDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/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 = {
    "searchKeywords": ["trading cards"],
    "maxItems": 5,
    "includeListingDetails": False,
    "emitUnchanged": False,
    "maxResults": 100,
    "includeDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/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 '{
  "searchKeywords": [
    "trading cards"
  ],
  "maxItems": 5,
  "includeListingDetails": false,
  "emitUnchanged": false,
  "maxResults": 100,
  "includeDetails": false
}' |
apify call blackfalcondata/whatnot-scraper --silent --output-dataset

```

## MCP server setup

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