{
  "openapi": "3.0.1",
  "info": {
    "title": "Whatnot Scraper API — Listings, Sellers, Shows & Tracking",
    "description": "Whatnot listings, live shows, seller profiles (followers, items sold, rating), buyer reviews without buyer names, shops, categories and daily seller leaderboards. Track sellers between runs: items sold, followers, rank. US + 11 marketplaces. No login. $0.50 per 1,000 results.",
    "version": "0.2",
    "x-build-id": "uMgLu9xfM3K3Z4ca2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sherwood~whatnot-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sherwood-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/sherwood~whatnot-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sherwood-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/sherwood~whatnot-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sherwood-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": {
          "queries": {
            "title": "Queries (keywords, sellers, categories or Whatnot URLs)",
            "type": "array",
            "description": "One entry per line. A keyword runs a Whatnot search (e.g. 'pokemon cards'). '@username' or a whatnot.com/user/... URL returns that seller (profile, reviews, shows, shop). 'category:trading_card_games' or a whatnot.com/category/... URL returns the category, its live shows and its seller leaderboard. Search, listing and live URLs work too. A plain string with commas or line breaks is accepted.",
            "default": [
              "pokemon cards",
              "@ah_sneakers"
            ],
            "items": {
              "type": "string"
            }
          },
          "vertical": {
            "title": "Search results type",
            "enum": [
              "products",
              "livestreams",
              "sellers",
              "all"
            ],
            "type": "string",
            "description": "What keyword searches return. Search URLs keep their own searchVertical.",
            "default": "products"
          },
          "maxResultsPerQuery": {
            "title": "Max results per search or category",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Per keyword search and per category feed, not a run total. 0 skips the category feed (leaderboard only).",
            "default": 50
          },
          "marketplace": {
            "title": "Marketplace",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "CA",
              "AU",
              "BE",
              "NL",
              "ES",
              "IT",
              "AT",
              "IE"
            ],
            "type": "string",
            "description": "Whatnot serves listings, prices, feeds and leaderboards by country. US runs on the Actor's own IP; other countries go through an Apify residential IP of that country.",
            "default": "US"
          },
          "minPrice": {
            "title": "Min price (listings)",
            "minimum": 0,
            "type": "number",
            "description": "Keyword listing searches only: lowest asking price, in the marketplace currency (e.g. 10 = $10). Applied by Whatnot's own price filter."
          },
          "maxPrice": {
            "title": "Max price (listings)",
            "minimum": 0,
            "type": "number",
            "description": "Keyword listing searches only: highest asking price, in the marketplace currency."
          },
          "transactionType": {
            "title": "Buying format",
            "enum": [
              "all",
              "buyItNow",
              "auction"
            ],
            "type": "string",
            "description": "Keyword listing searches only: Whatnot's buying-format filter.",
            "default": "all"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "newest",
              "viewers"
            ],
            "type": "string",
            "description": "Listing searches: relevance, priceAsc, priceDesc, newest. Live show searches: relevance or viewers. Whatnot sorts on its side.",
            "default": "relevance"
          },
          "minSellerRating": {
            "title": "Min seller rating",
            "enum": [
              "any",
              "4.0",
              "4.5",
              "5.0"
            ],
            "type": "string",
            "description": "Listing and live show searches: Whatnot's seller-rating filter.",
            "default": "any"
          },
          "premierShopOnly": {
            "title": "Premier Shops only",
            "type": "boolean",
            "description": "Listing and live show searches: only Premier Shop sellers.",
            "default": false
          },
          "exactMatch": {
            "title": "Exact match",
            "type": "boolean",
            "description": "Keep only listings whose title or subtitle contains every word of the search (case and accents ignored). Filtered by the Actor after Whatnot's search, which also returns loose matches; more pages are read to fill maxResultsPerQuery (up to 5x).",
            "default": false
          },
          "searchFilters": {
            "title": "Other Whatnot filters (advanced)",
            "type": "object",
            "description": "Passed to Whatnot's search as-is, field name to values, for listing searches. Fields Whatnot offers include \"category.keyword\" (e.g. [\"pokemon_cards\"]), \"stringAttributes.Condition\" ([\"Near Mint\"]), \"booleanAttributes.Graded\" ([\"True\"]), \"stringAttributes.Language\", \"stringAttributes.Grading Service\". Whatnot applies them; the Actor cannot check them because the listing does not return those attributes."
          },
          "includePriceSummary": {
            "title": "Price summary per search",
            "type": "boolean",
            "description": "Adds one `price-summary` row per listing search: asking-price min, quartiles, median, mean, buy-it-now and auction medians, share of auctions, distinct sellers, and Whatnot's count of matching active listings. Asking prices, not sale prices: Whatnot does not publish sold prices. Charged as one result.",
            "default": false
          },
          "includeProfile": {
            "title": "Seller profile",
            "type": "boolean",
            "description": "For sellers: followers, items sold, rating, review count, average ship days, live now, badges, bio.",
            "default": true
          },
          "includeReviews": {
            "title": "Seller reviews",
            "type": "boolean",
            "description": "Buyer reviews: overall, shipping, packaging and accuracy ratings, text, seller reply, date. No buyer name or id is ever collected.",
            "default": true
          },
          "maxReviews": {
            "title": "Max reviews per seller",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Newest first.",
            "default": 20
          },
          "includeShows": {
            "title": "Seller shows",
            "type": "boolean",
            "description": "The seller's live and scheduled shows with viewers, watchlist count, categories and tags.",
            "default": true
          },
          "maxShows": {
            "title": "Max shows per seller",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Most recent first.",
            "default": 10
          },
          "showStatus": {
            "title": "Show status",
            "enum": [
              "any",
              "live",
              "upcoming"
            ],
            "type": "string",
            "description": "Filters live shows everywhere: show searches (Whatnot's filter), seller shows, category feeds. `upcoming` also adds the category's scheduled shows, sorted by start time: a show calendar.",
            "default": "any"
          },
          "liveCheckOnly": {
            "title": "Live check only (sellers)",
            "type": "boolean",
            "description": "For each seller, return one light `live-status` row (live now or not, current show and viewers, next scheduled show) instead of profile, reviews, shows and shop. Made for frequent schedules (go-live alerts).",
            "default": false
          },
          "includeShop": {
            "title": "Seller shop listings",
            "type": "boolean",
            "description": "Active buy-it-now and auction listings of the seller's shop.",
            "default": false
          },
          "maxListings": {
            "title": "Max shop listings per seller",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Per seller.",
            "default": 20
          },
          "includeLeaderboard": {
            "title": "Category seller leaderboard",
            "type": "boolean",
            "description": "For categories: Whatnot's ranked top sellers of the category.",
            "default": true
          },
          "leaderboardInterval": {
            "title": "Leaderboard period",
            "enum": [
              "day",
              "week",
              "live",
              "hour"
            ],
            "type": "string",
            "description": "Period of the category leaderboard.",
            "default": "day"
          },
          "maxRankedSellers": {
            "title": "Max ranked sellers per category",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Top N of the leaderboard.",
            "default": 20
          },
          "enrichRankedSellers": {
            "title": "Full profile for ranked sellers",
            "type": "boolean",
            "description": "Adds followers, items sold and rating to each ranked seller (one extra request each).",
            "default": true
          },
          "trackChanges": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "Adds a `changes` object to every seller (items sold, followers, rating, rank) and every listing (first seen, price change, status change), compared with the previous run of the same input. Needs the same historyName on every run.",
            "default": false
          },
          "historyName": {
            "title": "History store name",
            "type": "string",
            "description": "Named key-value store that keeps the previous values. Use one name per monitoring job.",
            "default": "whatnot-seller-history"
          },
          "reportRemovedListings": {
            "title": "Report sold or ended listings",
            "type": "boolean",
            "description": "With trackChanges: listings seen last run and gone from this one are re-read; those no longer active (sold, sold out, ended) or deleted are returned with changes.removed = true. Listings still active that only fell out of the results are not returned.",
            "default": true
          },
          "maxRemovedChecks": {
            "title": "Max gone listings re-read per entry",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "With trackChanges: cap on the gone listings re-read for each entry.",
            "default": 100
          },
          "englishLabels": {
            "title": "English labels",
            "type": "boolean",
            "description": "Category and tag labels in English whatever the marketplace.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}