{
  "openapi": "3.0.1",
  "info": {
    "title": "Whatnot Scraper — Listings, Livestreams, Sellers & Categories",
    "description": "Whatnot scraper for marketplace listings, live & upcoming shows, seller profiles, buyer reviews, shop items, categories & leaderboards. Filter by Buy It Now or auction, price, country, rating, Premier Shop & graded items. Track price, bid & live status changes across runs. JSON or CSV.",
    "version": "0.0",
    "x-build-id": "xBpWMFSSTBv1f4Cha"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~whatnot-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-whatnot-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~whatnot-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-whatnot-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~whatnot-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-whatnot-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Scrape target",
            "enum": [
              "search",
              "seller",
              "category"
            ],
            "type": "string",
            "description": "Choose which part of Whatnot to read. 'search' (default) runs keyword queries and opens pasted search, listing, or live show URLs. 'seller' collects seller profiles, live/upcoming shows, buyer reviews, and shop items (and can discover sellers from a search). 'category' lists categories, ranks them by live viewers, or opens specific categories for their shows and leaderboards.",
            "default": "search"
          },
          "maxItems": {
            "title": "Max rows per run",
            "minimum": 1,
            "type": "integer",
            "description": "Total number of dataset rows to save across the entire run (default: 100). Free Apify plans are capped at 100 rows per run.",
            "default": 100
          },
          "startUrls": {
            "title": "Direct Whatnot links",
            "type": "array",
            "description": "Optional list of whatnot.com URLs. Accepts search URLs (keeping their sort and filter parameters), single listing links (https://www.whatnot.com/listing/...), live show links (https://www.whatnot.com/live/..., which also pull items from that show's shop), seller profile links (https://www.whatnot.com/user/... in seller mode), and category links (https://www.whatnot.com/tag/... in category mode).",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Keywords",
            "type": "array",
            "description": "One or more search terms (e.g. 'pokemon', 'jordan 1', 'funko pop'). In 'search' mode each term runs a separate search. In 'seller' mode each term searches listings first and adds those sellers to the queue.",
            "items": {
              "type": "string"
            }
          },
          "vertical": {
            "title": "Result tab",
            "enum": [
              "PRODUCT",
              "LIVESTREAM",
              "USER",
              "CATEGORY",
              "UNIVERSAL"
            ],
            "type": "string",
            "description": "Which Whatnot search tab to query for keywords (default: 'PRODUCT' for marketplace listings). Direct search URLs use their own searchVertical parameter if present. 'UNIVERSAL' returns a combined feed of listings, shows, users, and categories.",
            "default": "PRODUCT"
          },
          "maxResultsPerQuery": {
            "title": "Per-keyword row limit",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on rows collected from each individual keyword or search URL (e.g. 25). Leave empty to let 'Max rows per run' divide across all queries."
          },
          "includeCategories": {
            "title": "Include category tiles in combined feed",
            "type": "boolean",
            "description": "When 'Result tab' is 'UNIVERSAL', keep category summary tiles in the dataset (default: false). When 'Result tab' is 'CATEGORY', category tiles are always kept.",
            "default": false
          },
          "includeUsers": {
            "title": "Include user tiles in combined feed",
            "type": "boolean",
            "description": "When 'Result tab' is 'UNIVERSAL', keep seller account tiles in the dataset (default: false). When 'Result tab' is 'USER', seller tiles are always kept.",
            "default": false
          },
          "includeProducts": {
            "title": "Include catalog product cards",
            "type": "boolean",
            "description": "Keep Whatnot catalog product entries (with price ranges and listing counts) when returned in search results (default: true).",
            "default": true
          },
          "includeLivestreams": {
            "title": "Include livestream cards",
            "type": "boolean",
            "description": "Keep live and scheduled show rows returned by search queries (default: true).",
            "default": true
          },
          "includeListings": {
            "title": "Include marketplace listings",
            "type": "boolean",
            "description": "Keep individual item listings returned by search queries (default: true).",
            "default": true
          },
          "sort": {
            "title": "Order results by",
            "enum": [
              "best_match",
              "price_asc",
              "price_desc",
              "newest"
            ],
            "type": "string",
            "description": "Ordering applied to keyword searches and seller shop items (default: 'best_match'). If a pasted search URL already specifies a sort parameter, that URL's ordering is preserved.",
            "default": "best_match"
          },
          "listingType": {
            "title": "Purchase format",
            "enum": [
              "all",
              "auction",
              "buy_now"
            ],
            "type": "string",
            "description": "Filter marketplace and shop items by purchase method: 'all' (default), 'auction' (biddable items), or 'buy_now' (fixed-price items).",
            "default": "all"
          },
          "onlyLive": {
            "title": "Active live streams only",
            "type": "boolean",
            "description": "When enabled (default: false), keeps only listings attached to a currently streaming show and livestreams whose status is live/playing.",
            "default": false
          },
          "maxPrice": {
            "title": "Upper price bound",
            "minimum": 0,
            "type": "number",
            "description": "Exclude listings priced above this amount in major currency units (e.g. 250 for $250 or €250). Leave blank for no upper limit."
          },
          "minPrice": {
            "title": "Lower price bound",
            "minimum": 0,
            "type": "number",
            "description": "Exclude listings priced below this amount in major currency units (e.g. 15 for $15 or €15). Leave blank for no lower limit."
          },
          "gradedOnly": {
            "title": "Graded items only",
            "type": "boolean",
            "description": "Restrict results to professionally graded cards and collectibles (default: false).",
            "default": false
          },
          "premierShopOnly": {
            "title": "Premier Shop badge required",
            "type": "boolean",
            "description": "Restrict listings to sellers holding Whatnot's Premier Shop designation (default: false).",
            "default": false
          },
          "minSellerRating": {
            "title": "Seller star threshold",
            "enum": [
              "",
              "4.0",
              "4.5",
              "5.0"
            ],
            "type": "string",
            "description": "Exclude listings from sellers whose average rating falls below the selected star threshold (default: '' for no minimum).",
            "default": ""
          },
          "shipsFrom": {
            "title": "Origin country",
            "enum": [
              "",
              "US",
              "GB",
              "CA",
              "AU",
              "DE",
              "FR",
              "NL",
              "BE",
              "JP",
              "AT"
            ],
            "type": "string",
            "description": "Restrict listings to sellers shipping from a two-letter country code (default: '' for all countries). Useful when comparing prices within a single domestic currency.",
            "default": ""
          },
          "searchCategories": {
            "title": "Restrict search to category slugs",
            "type": "array",
            "description": "Optional category slugs or display labels (e.g. 'pokemon_cards' or 'Pokémon Cards') used to narrow keyword searches. Does not switch the actor into Category mode.",
            "items": {
              "type": "string"
            }
          },
          "includePriceStats": {
            "title": "Emit price distribution row",
            "type": "boolean",
            "description": "When enabled (default: false) and a keyword yields at least 10 priced listings in a currency, appends a 'price_stats' row containing the minimum, median ('priceMedian'), and maximum ('priceMax') asking price.",
            "default": false
          },
          "userIds": {
            "title": "Whatnot user IDs",
            "type": "array",
            "description": "Direct Whatnot user IDs to inspect when 'Scrape target' is set to 'seller'.",
            "items": {
              "type": "string"
            }
          },
          "usernames": {
            "title": "Handles to inspect",
            "type": "array",
            "description": "Whatnot seller handles without the leading @ (e.g. 'pokecollect', ' backyardbreaks'). Used when 'Scrape target' is set to 'seller'.",
            "items": {
              "type": "string"
            }
          },
          "maxSellers": {
            "title": "Max sellers discovered via search",
            "minimum": 1,
            "type": "integer",
            "description": "In 'seller' mode, maximum number of unique sellers to add from 'Keywords' or search URLs (default: 50). Explicit handles, user IDs, and /user/ URLs are always processed.",
            "default": 50
          },
          "query": {
            "title": "Filter shop items by title text",
            "type": "string",
            "description": "Optional substring filter applied to a seller's shop listings (case-insensitive, e.g. 'psa 10'). Leave empty to keep all matching shop listings."
          },
          "showStatus": {
            "title": "Livestream state filter",
            "enum": [
              "live",
              "upcoming",
              "all"
            ],
            "type": "string",
            "description": "Which shows to keep when reading seller shows or category feeds: 'live' (default), 'upcoming', or 'all'.",
            "default": "live"
          },
          "maxListings": {
            "title": "Shop items per seller",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum shop listings to collect for each seller when 'Collect seller shop listings' is enabled (default: 50).",
            "default": 50
          },
          "maxShows": {
            "title": "Livestreams per seller",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum live or scheduled shows to collect for each seller when 'Collect seller shows' is enabled (default: 25).",
            "default": 25
          },
          "maxReviews": {
            "title": "Reviews per seller",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum buyer reviews to collect for each seller when 'Collect buyer reviews' is enabled (default: 50).",
            "default": 50
          },
          "includeShop": {
            "title": "Collect seller shop listings",
            "type": "boolean",
            "description": "In 'seller' mode, fetch active items from each seller's shop tab (default: false).",
            "default": false
          },
          "includeReviews": {
            "title": "Collect buyer reviews",
            "type": "boolean",
            "description": "In 'seller' mode, fetch written buyer reviews and sub-scores (overall, shipping, packaging, accuracy) for each seller (default: true).",
            "default": true
          },
          "includeShows": {
            "title": "Collect seller shows",
            "type": "boolean",
            "description": "In 'seller' mode, fetch live and upcoming shows hosted by each seller (default: true).",
            "default": true
          },
          "includeProfile": {
            "title": "Collect seller profile",
            "type": "boolean",
            "description": "In 'seller' mode, emit a 'seller' profile row with bio, follower/following counts, total sold count, rating, average ship days, and Premier Shop status (default: true).",
            "default": true
          },
          "categoryView": {
            "title": "Category action",
            "enum": [
              "list",
              "trending",
              "deep-dive",
              "explore"
            ],
            "type": "string",
            "description": "How 'category' mode operates: 'list' (default) outputs the category tree, 'trending' ranks categories by active live viewers, 'deep-dive' opens the categories specified in 'Category names or slugs', and 'explore' pulls shows from the first N categories.",
            "default": "list"
          },
          "sortBy": {
            "title": "Order categories by",
            "enum": [
              "VIEWER_COUNT",
              "TITLE"
            ],
            "type": "string",
            "description": "Sort key for category rows in 'trending' or 'list' view: 'VIEWER_COUNT' (default) or 'TITLE'.",
            "default": "VIEWER_COUNT"
          },
          "includeSubcategories": {
            "title": "Keep child subcategories",
            "type": "boolean",
            "description": "Include nested child categories in 'list', 'trending', and 'explore' views (default: true). Disable to keep only top-level parent categories.",
            "default": true
          },
          "maxCategories": {
            "title": "Category count cap",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of categories to process in 'list', 'trending', or 'explore' view (default: 25).",
            "default": 25
          },
          "categoryTagIdsRaw": {
            "title": "Category node or tag IDs",
            "type": "array",
            "description": "Raw Whatnot category node IDs or tag slugs to inspect in 'deep-dive' view (e.g. 'pokemon_cards').",
            "items": {
              "type": "string"
            }
          },
          "categoryTagId": {
            "title": "Category names or slugs",
            "type": "array",
            "description": "Human-readable category names, parent paths ('Trading Card Games > Pokémon Cards'), or slugs ('pokemon_cards') to inspect when 'Category action' is 'deep-dive'.",
            "items": {
              "type": "string"
            }
          },
          "maxShowsPerCategory": {
            "title": "Shows per category",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum livestreams to collect per category in 'deep-dive' or 'explore' view (default: 5).",
            "default": 5
          },
          "fetchDetails": {
            "title": "Emit category summary row",
            "type": "boolean",
            "description": "In 'deep-dive' and 'explore' views, emit a 'category' row for the category itself before its shows and leaderboard (default: true).",
            "default": true
          },
          "fetchShows": {
            "title": "Emit category livestreams",
            "type": "boolean",
            "description": "In 'deep-dive' and 'explore' views, collect livestreams belonging to each inspected category (default: true).",
            "default": true
          },
          "fetchRankings": {
            "title": "Emit category seller leaderboard",
            "type": "boolean",
            "description": "In 'deep-dive' view, query Whatnot's ranked seller leaderboard for each category (default: false).",
            "default": false
          },
          "maxRankedSellers": {
            "title": "Leaderboard positions per category",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum ranked sellers to emit per category when 'Emit category seller leaderboard' is enabled (default: 50).",
            "default": 50
          },
          "interval": {
            "title": "Leaderboard time window",
            "enum": [
              "CURRENT_DAY",
              "CURRENT_WEEK",
              "LIVE"
            ],
            "type": "string",
            "description": "Time window for category seller leaderboards: 'CURRENT_DAY' (default), 'CURRENT_WEEK', or 'LIVE'.",
            "default": "CURRENT_DAY"
          },
          "type": {
            "title": "Leaderboard scope",
            "enum": [
              "OVERALL"
            ],
            "type": "string",
            "description": "Leaderboard ranking type supported by Whatnot (default: 'OVERALL').",
            "default": "OVERALL"
          },
          "monitorMode": {
            "title": "Track deltas across runs",
            "type": "boolean",
            "description": "When enabled (default: false), stores a snapshot in a named Key-Value Store. The first run records a baseline and emits all rows with changeType='NEW'. Subsequent runs emit only new rows, price/bid updates ('PRICE_CHANGE', 'BID_CHANGE'), status transitions ('STATUS_CHANGE', 'WENT_LIVE'), rank shifts ('RANK_CHANGE'), seller count updates ('UPDATED'), and previously seen listings that disappeared ('VANISHED', preserving 'lastSeenPrice').",
            "default": false
          },
          "monitorStoreName": {
            "title": "Snapshot store name",
            "type": "string",
            "description": "Apify Key-Value Store name where item snapshots are persisted between scheduled runs (default: 'whatnot-listings-monitor'). Use distinct names for separate watches.",
            "default": "whatnot-listings-monitor"
          },
          "resetMonitorState": {
            "title": "Wipe stored snapshot before run",
            "type": "boolean",
            "description": "Ignore any previously stored snapshot and treat this run as a fresh baseline (default: false).",
            "default": false
          },
          "cookies": {
            "title": "Session Cookie header",
            "type": "string",
            "description": "Optional raw Cookie header from a logged-in whatnot.com browser session. Leave blank for normal public scraping."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}