# Polymarket Markets Scraper (`neuro-scraper/polymarket-markets-scraper`) Actor

Polymarket Markets Scraper extracts Polymarket prediction markets: question, outcomes and prices (probabilities), volume, 24 h volume, liquidity, spread, best bid and ask, order book, price history, recent trades, category, end date and result.

- **URL**: https://apify.com/neuro-scraper/polymarket-markets-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** Other, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 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.
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

### Polymarket Markets Scraper

**Polymarket Markets Scraper** extracts Polymarket prediction markets and events: question, outcomes, prices and implied probabilities, best bid and ask, spread, 24-hour price change, volume, liquidity, open interest, end date, status and result, plus the order book, recent trades and price history of each market.

> Also popular: the [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) - reels, captions, plays and authors from Facebook in one run.

Polymarket Markets Scraper runs in the cloud on Apify. You give it your input, Polymarket Markets Scraper collects the data and you download a clean dataset as JSON, CSV, Excel or HTML, or read it through the Apify API.

#### What does Polymarket Markets Scraper do?

Polymarket Markets Scraper turns public Polymarket data into structured rows. Each row is one market or event, with the same fields in the same order, so the output of Polymarket Markets Scraper drops straight into a spreadsheet, a database or a Python script.

- Markets by category, by search words or directly by market id, slug or condition id
- Prices, probabilities, volume (24 h, 1 week, total), liquidity and open interest
- Order book levels, the newest trades (buy / sell, size in USD, wallet) and price history
- Events mode: one row per event with all its markets inside
- Filters for volume, liquidity, price moves, end time and whale trades

#### Why use Polymarket Markets Scraper?

Copying Polymarket data by hand is slow and error-prone. Polymarket Markets Scraper does it for many inputs at once, keeps the numbers as numbers and the dates in ISO-8601 UTC, and records which input produced each row.

Polymarket Markets Scraper needs no Polymarket account, no login, no cookies and no API key. You do not share any password with Polymarket Markets Scraper, and nothing is posted or changed on Polymarket: Polymarket Markets Scraper only reads public data.

#### Who uses Polymarket Markets Scraper?

- Traders and analysts tracking odds and volume
- Researchers studying prediction markets
- Journalists following election and news markets
- Data teams feeding dashboards and models

### How to use Polymarket Markets Scraper

1. Open Polymarket Markets Scraper in Apify Console and click **Try for free**.
2. Fill in the input form (every option is explained below). The prefilled example runs as it is.
3. Click **Start**. Polymarket Markets Scraper logs every step, so you can follow the progress in the Log tab.
4. When Polymarket Markets Scraper finishes, open the **Output** tab and export the dataset as JSON, CSV, Excel or HTML.
5. Optional: schedule Polymarket Markets Scraper, call it from the Apify API or connect it to Make, Zapier, n8n or Google Sheets.

**Required:** nothing - add categories or search words to narrow it down.

**What the log tells you:** one line per category or search with the number of markets kept, and the final number of rows.

#### Input of Polymarket Markets Scraper

Everything is optional: with no category and no search the Polymarket Markets Scraper reads all markets. Each option below says what it does, how it works, the allowed values, an example and how it combines.

##### `categories` - Categories

**What it does:** Polymarket categories (tags), one per line: politics, sports, crypto, economy, tech, culture ... Empty = all markets.

**How it works:** Each category is read on its own through its events (every market of an event comes along), paged to the end or the limit.

**Allowed values and default:** a list of text values, one per line in the form; empty by default.

**Example:** `"categories": ["politics", "crypto"]`

**Tip and combinations:** Use the category names Polymarket shows in its menu, lower case.

##### `searchQueries` - Search words

**What it does:** Keep markets whose question contains all these words, one search per line (e.g. bitcoin price, election).

**How it works:** Markets are read in the chosen order and kept when the question (or the start of the rules) contains all words of a line.

**Allowed values and default:** a list of text values, one per line in the form; empty by default.

**Example:** `"searchQueries": ["bitcoin"]`

**Tip and combinations:** Short, specific words work best.

##### `query` - Search words (single, alternative field)

**What it does:** One search, the same as one line of Search words.

**How it works:** One search, added to `searchQueries`; it works exactly like one line of it.

**Allowed values and default:** text; empty by default (option off).

**Example:** `"query": "election"`

**Tip and combinations:** For inputs copied from other tools.

##### `category` - Category (single, alternative field)

**What it does:** One category, the same as one line of Categories.

**How it works:** One category, added to `categories`; it works exactly like one line of it.

**Allowed values and default:** text; empty by default (option off).

**Example:** `"category": "sports"`

**Tip and combinations:** For inputs copied from other tools.

##### `tagIds` - Tag slugs (alternative field)

**What it does:** Polymarket tag slugs, the same as Categories.

**How it works:** Tag slugs, added to `categories` - the same as category names in lower case with dashes.

**Allowed values and default:** a list of text values, one per line in the form; empty by default.

**Example:** `"tagIds": ["us-election"]`

**Tip and combinations:** Take the slug from a Polymarket tag link.

##### `status` - Market status

**What it does:** open = trading now; closed = trading ended; resolved = closed with a result; all.

**How it works:** open keeps markets trading now; closed keeps ended markets; resolved keeps ended markets with a result; all keeps everything. Other markets are left out before they are written or counted, so the limit counts only matching markets.

**Allowed values and default:** one of `open`, `closed`, `resolved`, `all`; default `open`.

**Example:** `"status": "resolved"`

**Tip and combinations:** resolved + a category gives an outcomes dataset for analysis.

##### `sortBy` - Sort by

**What it does:** Order in which markets are read.

**How it works:** The order in which markets are read, so the limit keeps the top ones: 24 h volume, total volume, liquidity, newest or end date.

**Allowed values and default:** one of `volume24hr`, `volume`, `liquidity`, `newest`, `endDate`; default `volume24hr`.

**Example:** `"sortBy": "liquidity"`

**Tip and combinations:** volume24hr finds what people trade right now.

##### `minVolume24h` - Minimum 24 h volume (USD)

**What it does:** Keep markets with at least this 24-hour volume.

**How it works:** Markets with less 24-hour volume are dropped - markets are left out before they are written or counted, so the run looks further.

**Allowed values and default:** whole number 0 or more; default `0`.

**Example:** `"minVolume24h": 10000`

**Tip and combinations:** Removes dead markets.

##### `minTotalVolume` - Minimum total volume (USD)

**What it does:** Keep markets with at least this total volume.

**How it works:** Markets with less total volume are dropped - markets are left out before they are written or counted, so the run looks further.

**Allowed values and default:** whole number 0 or more; default `0`.

**Example:** `"minTotalVolume": 100000`

**Tip and combinations:** Keeps established markets only.

##### `minVolume` - Minimum volume (alternative field)

**What it does:** Same as minimum total volume.

**How it works:** Same as `minTotalVolume`, for inputs copied from other tools.

**Allowed values and default:** whole number 0 or more; default `0`.

**Example:** `"minVolume": 100000`

**Tip and combinations:** Use one of the two.

##### `minLiquidity` - Minimum liquidity (USD)

**What it does:** Keep markets with at least this liquidity.

**How it works:** Markets with less liquidity are dropped - markets are left out before they are written or counted, so the run looks further.

**Allowed values and default:** whole number 0 or more; default `0`.

**Example:** `"minLiquidity": 5000`

**Tip and combinations:** Higher liquidity means prices you can trade at.

##### `orderbookDepth` - Order book depth

**What it does:** Price levels of the order book to add on each side (0 = off). Also refreshes best bid and ask.

**How it works:** Reads the order book of the first outcome and adds this many price levels on each side; best bid and ask are refreshed from it. 0 turns it off.

**Allowed values and default:** whole number from 0 to 50; default `5`.

**Example:** `"orderbookDepth": 10`

**Tip and combinations:** Costs one extra request per market.

##### `recentTrades` - Recent trades per market

**What it does:** How many of the newest trades to add (0 = off).

**How it works:** Adds this many of the newest trades of each market, and the newest trade's side, value, wallet and time as columns. 0 turns it off.

**Allowed values and default:** whole number from 0 to 500; default `5`.

**Example:** `"recentTrades": 20`

**Tip and combinations:** Use it to spot large trades.

##### `priceHistoryInterval` - Price history

**What it does:** Add the price history of the first outcome for this period (empty = off).

**How it works:** Adds the price history of the first outcome for the period: 1d, 1w, 1m or max. Empty turns it off.

**Allowed values and default:** one of \`\`, `1d`, `1w`, `1m`, `max`; default `1d`.

**Example:** `"priceHistoryInterval": "1w"`

**Tip and combinations:** max gives the whole life of the market.

##### `maxItemsPerSource` - Max markets per category / search

**What it does:** Limit for each category and each search (per input: 50 x 2 categories = up to 100 rows).

**How it works:** The limit is per category and per search (50 x 2 categories = up to 100 rows); paging stops at it.

**Allowed values and default:** whole number from 1 to 5,000; default `50`.

**Example:** `"maxItemsPerSource": 100`

**Tip and combinations:** Large categories hold thousands of markets.

##### `dedupe` - Remove duplicates

**What it does:** A market found by two categories or searches is written once.

**How it works:** A market found by two categories or searches is written once (by its id).

**Allowed values and default:** `true` or `false`; default `true`.

**Example:** `"dedupe": true`

**Tip and combinations:** Leave it on; duplicates add no data.

##### `mode` - Row type

**What it does:** Markets returns one row per tradable market; Events returns one row per event (e.g. an election) with all its markets and prices inside.

**How it works:** Markets (default) writes one row per tradable market with prices, volume, order book, trades and history. Events writes one row per event (an election, a match, a monthly question) with all its markets, their outcomes and prices listed in the markets column.

**Allowed values and default:** one of `markets`, `events`; default `markets`.

**Example:** `"mode": "events"`

**Tip and combinations:** Use Events for a compact overview; use Markets for trading data per outcome.

##### `maxConcurrency` - Parallel requests

**What it does:** How many requests run at the same time.

**How it works:** How many requests run at the same time; categories, searches and the per-market extras are read in parallel.

**Allowed values and default:** whole number from 1 to 20; default `8`.

**Example:** `"maxConcurrency": 8`

**Tip and combinations:** The default is fast and polite.

##### `marketIds` - Market ids

**What it does:** Optional: read these markets directly by their numeric market id (e.g. 6834800).

**How it works:** Each id is read directly, whatever its status, and written as one market row (with the same order book, trades and history options).

**Allowed values and default:** a list of text values, one per line in the form; default `[]`.

**Example:** `"marketIds": ["6834800"]`

**Tip and combinations:** Combine with a schedule to monitor a fixed watch list.

##### `marketSlugs` - Market slugs or links

**What it does:** Optional: read these markets directly by slug or market link (the last part of the address).

**How it works:** Each slug (or market link - the last part of the address is used) is read directly as one market row.

**Allowed values and default:** a list of text values, one per line in the form; default `[]`.

**Example:** `"marketSlugs": ["will-bitcoin-reach-200000-by-december-31-2026"]`

**Tip and combinations:** Copy the slug from the market address in your browser.

##### `conditionIds` - Condition ids

**What it does:** Optional: read these markets directly by condition id (0x...).

**How it works:** Each condition id (0x...) is read directly as one market row - handy when your other data uses condition ids.

**Allowed values and default:** a list of text values, one per line in the form; default `[]`.

**Example:** `"conditionIds": ["0xb146d7376acd8ed1ea031a3c44b42a9c90e60b5a8c7fed3faeb7fa05eabe6c70"]`

**Tip and combinations:** Several ids can be mixed with slugs and market ids.

##### `minPriceChangePct` - Minimum 24-hour price move (points)

**What it does:** Keep markets whose price moved at least this many percentage points in the last 24 hours (up or down). 0 = no filter.

**How it works:** Keeps only markets whose price moved at least this many percentage points in the last 24 hours, up or down (priceChange24h of 0.07 = 7 points).

**Allowed values and default:** whole number from 0 to 100; default `0`.

**Example:** `"minPriceChangePct": 5`

**Tip and combinations:** A quick way to find the markets with news-driven moves today.

##### `minutesUntilEnd` - Ending within (minutes)

**What it does:** Keep only markets (or events) that end within this many minutes from now. 0 = no filter.

**How it works:** Keeps only markets (or events) that end within this many minutes from now; minutesToEnd shows the value on every row.

**Allowed values and default:** whole number 0 or more; default `0`.

**Example:** `"minutesUntilEnd": 1440`

**Tip and combinations:** 1440 = ending in the next 24 hours; combine with a schedule for last-minute monitors.

##### `historyDays` - Price history days

**What it does:** Add the price history of the last N days (overrides the price history period). 0 = use the period setting.

**How it works:** Adds the price history of the first outcome for the last N days (hourly points for more than 2 days, 10-minute points otherwise). When set it replaces the price history period.

**Allowed values and default:** whole number from 0 to 3,650; default `0`.

**Example:** `"historyDays": 7`

**Tip and combinations:** Long histories make rows large; 7-30 days is a good range.

##### `minTradeSizeUsd` - Minimum trade size (USD)

**What it does:** Recent trades: keep only trades worth at least this many dollars (whale trades). 0 = all trades.

**How it works:** The recent trades of each market keep only trades worth at least this many dollars (size x price); more trade pages are read until the number of recent trades is reached.

**Allowed values and default:** whole number 0 or more; default `0`.

**Example:** `"minTradeSizeUsd": 5000`

**Tip and combinations:** Use 1,000-10,000 to follow whale trades only.

##### `tradeSide` - Trade side

**What it does:** Recent trades: all trades, only buys or only sells.

**How it works:** Recent trades: all trades, only buys or only sells.

**Allowed values and default:** one of `ANY`, `BUY`, `SELL`; default `ANY`.

**Example:** `"tradeSide": "BUY"`

**Tip and combinations:** Combine with Minimum trade size for large buy orders only.

##### `maxItems` - Max markets (alternative field)

**What it does:** Same as Max markets in total.

**How it works:** Same as `maxItemsTotal`, for inputs copied from other tools.

**Allowed values and default:** whole number from 0 to 100,000; default `0`.

**Example:** `"maxItems": 500`

**Tip and combinations:** Use one of the two.

##### `maxItemsTotal` - Max markets in total

**What it does:** Optional cap for the whole run. 0 = no cap.

**How it works:** A cap on all rows of the run together. 0 means no cap.

**Allowed values and default:** whole number from 0 to 100,000; default `0`.

**Example:** `"maxItemsTotal": 500`

**Tip and combinations:** A budget guard.

##### `proxyConfiguration` - Proxy configuration

**What it does:** Chooses the Apify Proxy group and country the Actor connects through.

**How it works:** Every request goes through the proxy you pick here. The default residential group gives each session a real household IP address; when a session meets a rate limit the Actor drops it and continues on a fresh IP, so a long run keeps going without your input.

**Allowed values and default:** an Apify proxy settings object; default `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`.

**Example:** `"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`

**Tip and combinations:** Keep the default. Datacenter proxies are cheaper but are limited much faster, which shows up as fewer rows and more retries in the log. A proxy country only matters when you want results as seen from that country.

##### Ready-to-copy inputs for the Polymarket Markets Scraper

Paste one of these into the JSON tab of the input form, or send it as the body of an API run:

**1. Top political markets** - returns the 50 open politics markets with the most 24 h volume, with order book and trades.

```json
{
  "categories": [
    "politics"
  ]
}
```

**2. Bitcoin markets with price history** - returns open markets about bitcoin with a week of price history.

```json
{
  "searchQueries": [
    "bitcoin"
  ],
  "priceHistoryInterval": "1w",
  "maxItemsPerSource": 30
}
```

**3. Resolved sports markets** - returns 100 closed sports markets with their results.

```json
{
  "categories": [
    "sports"
  ],
  "status": "resolved",
  "maxItemsPerSource": 100,
  "orderbookDepth": 0,
  "recentTrades": 0
}
```

#### Output of Polymarket Markets Scraper

One row is one Polymarket market with its outcomes and prices (probabilities), volumes, liquidity, order book, recent trades and price history. A value Polymarket does not publish is `null`, never invented.

| Field | Type | What it means | Example from a test run | When it can be empty |
|---|---|---|---|---|
| `type` | text | Always market | `"market"` | Filled in every row of our test run |
| `platform` | text | Always polymarket | `"polymarket"` | Filled in every row of our test run |
| `marketId` | text | Polymarket id of the market | `"561974"` | Filled in every row of our test run |
| `conditionId` | text | On-chain condition id of the market (used for trades) | `"0x18b1c135d0a40c5894da9412e77311827d9caf16cf...` | Filled in every row of our test run |
| `slug` | text | Short name of the market in its link | `"will-jd-vance-win-the-2028-republican-presid...` | Filled in every row of our test run |
| `url` | text | Link to the market on Polymarket | `"https://polymarket.com/event/republican-pres...` | Filled in every row of our test run |
| `question` | text | The question of the market | `"Will J.D. Vance win the 2028 Republican pres...` | Filled in every row of our test run |
| `title` | text | The question (same as `question`) | `"Will J.D. Vance win the 2028 Republican pres...` | Filled in every row of our test run |
| `shortTitle` | text | Short label of the market inside its event (e.g. a candidate name) | `"J.D. Vance"` | Empty for single-market events |
| `summary` | text | First 300 characters of the rules | `"This market will resolve to “Yes” if the nam...` | Empty when the market has no description |
| `rules` | text | Full resolution rules of the market | `"This market will resolve to “Yes” if the nam...` | Empty when the market has no description |
| `category` | text | Category of the market | `"politics"` | Filled in every row of our test run |
| `tags` | list | Tags of the event | `["United States", "Politics", "US Election", ...` | Empty when the event has no tags |
| `eventId` | text | Id of the event the market belongs to | `"31875"` | Filled in every row of our test run |
| `eventTitle` | text | Title of that event | `"Republican Presidential Nominee 2028"` | Filled in every row of our test run |
| `seriesTicker` | text | Ticker of the event or its series | `"republican-presidential-nominee-2028"` | Empty for events without a ticker |
| `marketType` | text | binary (Yes / No) or multi (several outcomes) | `"binary"` | Filled in every row of our test run |
| `strikeType` | null | Strike type of range markets on other exchanges | `null` | Always empty: Polymarket markets have no strike type (empty in 24 of 24 test rows) |
| `outcomes` | list | Outcome names, e.g. \["Yes", "No"] | `["Yes", "No"]` | Filled in every row of our test run |
| `outcomeCount` | number | Number of outcomes | `2` | Filled in every row of our test run |
| `outcomePrices` | list | Price of each outcome (0-1 = probability), in the order of `outcomes` | `[0.2915, 0.7085]` | Filled in every row of our test run |
| `yes` | number | Price of Yes | `0.2915` | Empty for markets without a Yes outcome (empty in 5 of 24 test rows) |
| `no` | number | Price of No | `0.7085` | Empty for markets without a No outcome (empty in 5 of 24 test rows) |
| `yesPrice` | number | Price of Yes (same as `yes`) | `0.2915` | Empty for markets without a Yes outcome (empty in 5 of 24 test rows) |
| `noPrice` | number | Price of No (same as `no`) | `0.7085` | Empty for markets without a No outcome (empty in 5 of 24 test rows) |
| `price` | number | Price of Yes (or of the leading outcome) | `0.2915` | Filled in every row of our test run |
| `lastPrice` | number | Price of the last trade | `0.291` | Empty before the first trade (empty in 1 of 24 test rows) |
| `probability` | number | Implied probability (= the Yes price, 0-1) | `0.2915` | Filled in every row of our test run |
| `favourite` | text | The outcome with the highest price | `"No"` | Filled in every row of our test run |
| `favouriteProbability` | number | Price of that outcome | `0.7085` | Filled in every row of our test run |
| `outcome` | text | The leading outcome (same as `favourite`) | `"No"` | Filled in every row of our test run |
| `bestBid` | number | Best bid of the first outcome | `0.291` | Empty when the market has no open bids (empty in 6 of 24 test rows) |
| `bestAsk` | number | Best ask of the first outcome | `0.292` | Empty when the market has no open asks |
| `spread` | number | Ask minus bid | `0.001` | Empty when the market has no order book |
| `priceChange24h` | number | Price change of the last 24 hours | `-0.012` | Empty for markets younger than a day (empty in 7 of 24 test rows) |
| `volume` | number | Total traded volume (USDC) | `17548728.339532003` | Empty when the item has no such value (empty in 1 of 24 test rows) |
| `totalVolume` | number | Total traded volume (same as `volume`) | `17548728.339532003` | Empty when the item has no such value (empty in 1 of 24 test rows) |
| `volume24h` | number | Volume of the last 24 hours | `17531.676468` | Empty for markets without trades today (empty in 2 of 24 test rows) |
| `volume24hr` | number | Volume of the last 24 hours (same as `volume24h`) | `17531.676468` | Empty for markets without trades today (empty in 2 of 24 test rows) |
| `volume1w` | number | Volume of the last week | `177256.295845` | Empty for markets without trades this week (empty in 2 of 24 test rows) |
| `liquidity` | number | Liquidity in the order book (USDC) | `326058.06892` | Empty for closed markets |
| `openInterest` | number | Open interest of the event (USDC) | `8038654.247495001` | Empty when Polymarket publishes none for the event |
| `currency` | text | Always USDC | `"USDC"` | Filled in every row of our test run |
| `openTime` | text | When trading started | `"2025-07-11T19:42:02.156Z"` | Filled in every row of our test run |
| `closeTime` | text | When the market ends | `"2028-11-08T04:59:00Z"` | Filled in every row of our test run |
| `endDate` | text | When the market ends (same as `closeTime`) | `"2028-11-08T04:59:00Z"` | Filled in every row of our test run |
| `active` | true/false | true when the market is active | `true` | Filled in every row of our test run |
| `closed` | true/false | true when trading has ended | `false` | Filled in every row of our test run |
| `resolved` | true/false | true when the market is closed with a result | `false` | Filled in every row of our test run |
| `result` | null | The winning outcome | `null` | Empty until the market is resolved (empty in 24 of 24 test rows) |
| `status` | text | open, closed, resolved or inactive | `"open"` | Filled in every row of our test run |
| `image` | text | Image of the market | `"https://polymarket-upload.s3.us-east-2.amazo...` | Filled in every row of our test run |
| `clobTokenIds` | list | Order-book token id of each outcome | `["4008127555885222222808019882136120201755787...` | Filled in every row of our test run |
| `orderbook` | object | Top bids and asks: \[price, size] pairs | `{"bids": [[0.291, 8992.34], [0.29, 2287.87], ...` | Empty when `orderbookDepth` is 0 or the market has no order book (closed markets) (empty in 1 of 24 test rows) |
| `priceHistory` | list | Price history of the first outcome: time (unix) and price | `[{"t": 1795204833, "p": 0.2915}, {"t": 179521...` | Empty when `priceHistoryInterval` is empty or the market has no history |
| `recentTrades` | list | The newest trades: side, outcome, price, size, time, wallet, transaction | `[{"side": "SELL", "outcome": "Yes", "price": ...` | Empty when `recentTrades` is 0 or the market had no trades (empty in 1 of 24 test rows) |
| `side` | text | Side of the newest trade (BUY / SELL) | `"SELL"` | Empty when `recentTrades` is 0 or the market had no trades (empty in 1 of 24 test rows) |
| `sizeUsd` | number | Value of the newest trade in USDC | `873` | Empty when `recentTrades` is 0 or the market had no trades (empty in 1 of 24 test rows) |
| `wallet` | text | Public wallet address of the newest trade | `"0xa88350d4e2b9aa84b1ec3ab6348e27ad8fd631fb"` | Empty when `recentTrades` is 0 or the market had no trades (empty in 1 of 24 test rows) |
| `time` | number | Time of the newest trade (unix) | `1795253912` | Empty when `recentTrades` is 0 or the market had no trades (empty in 1 of 24 test rows) |
| `timestamp_iso` | text | Time of the newest trade (ISO-8601) | `"2026-11-21T09:38:32Z"` | Empty when `recentTrades` is 0 or the market had no trades (empty in 1 of 24 test rows) |
| `marketCount` | null | Events mode: how many markets the event has. | `null` | Empty on market rows (events mode only) (empty in 24 of 24 test rows) |
| `markets` | null | Events mode: the markets of the event with question, outcomes, prices and volume. | `null` | Empty on market rows (events mode only) (empty in 24 of 24 test rows) |
| `minutesToEnd` | number | Minutes from now until the market ends (negative = already ended). | `1033187` | Empty when the market has no end date |
| `source` | text | Always polymarket | `"polymarket"` | Filled in every row of our test run |
| `error` | null | What went wrong for the row | `null` | Null on every good row (empty in 24 of 24 test rows) |
| `scrapedAt` | text | When the row was read (ISO-8601, UTC) | `"2026-11-21T17:12:27Z"` | Filled in every row of our test run |

A real row from a Polymarket Markets Scraper test run (long values shortened):

```json
{
  "question": "Will J.D. Vance win the 2028 Republican presidential nomination?",
  "outcomes": [
    "Yes",
    "No"
  ],
  "outcomePrices": [
    0.2915,
    0.7085
  ],
  "yesPrice": 0.2915,
  "volume24h": 17531.676468,
  "liquidity": 326058.06892,
  "bestBid": 0.291,
  "bestAsk": 0.292,
  "endDate": "2028-11-08T04:59:00Z",
  "category": "politics",
  "status": "open",
  "url": "https://polymarket.com/event/republican-presidential-nominee-2028"
}
```

#### Which columns of Polymarket Markets Scraper can be empty

Measured on our latest test run: these columns were empty on more than 10% of the rows. Each line says why - in every case the value is not shown for those items (or belongs to another row type or option), so the Polymarket Markets Scraper writes null instead of guessing.

- `strikeType`: Always empty: Polymarket markets have no strike type (empty in 24 of 24 test rows) (empty in 24 of 24 rows of our test run).
- `yes`: Empty for markets without a Yes outcome (empty in 5 of 24 test rows) (empty in 5 of 24 rows of our test run).
- `no`: Empty for markets without a No outcome (empty in 5 of 24 test rows) (empty in 5 of 24 rows of our test run).
- `yesPrice`: Empty for markets without a Yes outcome (empty in 5 of 24 test rows) (empty in 5 of 24 rows of our test run).
- `noPrice`: Empty for markets without a No outcome (empty in 5 of 24 test rows) (empty in 5 of 24 rows of our test run).
- `bestBid`: Empty when the market has no open bids (empty in 6 of 24 test rows) (empty in 6 of 24 rows of our test run).
- `priceChange24h`: Empty for markets younger than a day (empty in 7 of 24 test rows) (empty in 7 of 24 rows of our test run).
- `result`: Empty until the market is resolved (empty in 24 of 24 test rows) (empty in 24 of 24 rows of our test run).
- `marketCount`: Empty on market rows (events mode only) (empty in 24 of 24 test rows) (empty in 24 of 24 rows of our test run).
- `markets`: Empty on market rows (events mode only) (empty in 24 of 24 test rows) (empty in 24 of 24 rows of our test run).
- `error`: Null on every good row (empty in 24 of 24 test rows) (empty in 24 of 24 rows of our test run).

#### Features of Polymarket Markets Scraper compared with the top 5 Apify Store Actors

The table lists the features the five most-used Store Actors of this type offer, how many of them offer it, and whether Polymarket Markets Scraper has it. "No" always comes with the measured reason.

| Feature | In top 5 | Polymarket Markets Scraper |
|---|---|---|
| Markets by category | 5 of 5 | Yes |
| Search by words | 3 of 5 | Yes |
| Market id / slug / condition id input | 3 of 5 | Yes |
| Events as rows | 1 of 5 | Yes (mode = events) |
| Order book | 2 of 5 | Yes |
| Recent trades with size and side filters | 2 of 5 | Yes |
| Price history | 2 of 5 | Yes (period or last N days) |
| Ending-soon and price-move filters | 1 of 5 | Yes |

#### Limits of Polymarket Markets Scraper

Polymarket Markets Scraper reports what it can measure and nothing else. These limits were measured on live runs:

- The order book and price history are read for the first outcome of each market.
- Recent trades: up to 500 per market, newest first.

### Polymarket Markets Scraper with the Apify API, Python and integrations

You can start Polymarket Markets Scraper from your own code. The Apify API runs Polymarket Markets Scraper with your input and returns the dataset when the run ends. This Python example uses the official `apify-client` package:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("neuro-scraper/polymarket-markets-scraper").call(run_input={"categories": ["politics"], "maxItemsPerSource": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

The same run from Node.js with the `apify-client` package:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('neuro-scraper/polymarket-markets-scraper').call({"categories": ["politics"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Or with one HTTP call that runs the Polymarket Markets Scraper and returns the rows when it finishes:

```bash
curl -X POST 'https://api.apify.com/v2/acts/neuro-scraper~polymarket-markets-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"categories": ["politics"]}'
```

The same run works from JavaScript, from a webhook, or with no code at all: Polymarket Markets Scraper plugs into Make, Zapier, n8n, Google Sheets, Slack and Airbyte through the Apify integrations.

A schedule turns Polymarket Markets Scraper into a monitor. Run Polymarket Markets Scraper every day with the same input, export each dataset, and compare the results over time in a spreadsheet or a BI tool.

#### Export formats of Polymarket Markets Scraper

| Format | Best for |
|---|---|
| JSON | developers and APIs reading Polymarket Markets Scraper rows |
| CSV | spreadsheets and databases |
| Excel | business users and reports |
| HTML table | a quick look in the browser |
| RSS / XML | feeds and older tools |

### Pricing of Polymarket Markets Scraper

Polymarket Markets Scraper uses pay-per-event pricing: you pay a small fee per row written to the dataset, plus a tiny start fee per run. There is no monthly rental. The limit inputs and the run's maximum cost setting keep every run of Polymarket Markets Scraper inside your budget.

**Cost example for the Polymarket Markets Scraper:** one result is one market written to the dataset. The price is **$1.49 per 1,000 results** on the Apify Free plan, $1.39 per 1,000 on Starter, $1.29 per 1,000 on Scale and $1.19 per 1,000 on Business. So 100 markets cost about $0.15 and 1,000 markets cost $1.49 on the Free plan. Example: 500 markets with order books = about $0.75.

**How to cap the cost:** Lower `maxItemsPerSource` or set `maxItemsTotal`. You can also set **Maximum cost per run** in the run options; the run stops cleanly when that budget is reached and keeps every row it already saved.

**Limits we measured:** all markets are reachable by paging; 24 markets with order book, trades and history took under a minute in our test.

Apify's free plan includes monthly credit, enough to try Polymarket Markets Scraper on real inputs.

### Tips for better results with Polymarket Markets Scraper

- Start Polymarket Markets Scraper with the prefilled input to see the output format, then add your own inputs.
- The default proxy is enough; Polymarket Markets Scraper retries a request on a fresh connection when one fails.
- Use the limit fields of Polymarket Markets Scraper to control cost; the limits apply per input.
- Read the run log: Polymarket Markets Scraper names every input that failed and why.

### Related Actors you can use with Polymarket Markets Scraper

Polymarket Markets Scraper is part of a family of data scrapers. Combine Polymarket Markets Scraper with these Actors:

- [Twitter Posts Scraper](https://apify.com/neuro-scraper/twitter-posts-scraper)
- [Twitter/X Profile Scraper](https://apify.com/neuro-scraper/twitter-x-profile-scraper)
- [Twitter Trends Scraper](https://apify.com/neuro-scraper/twitter-trends-scraper)
- [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)

### Is it legal to use Polymarket Markets Scraper?

Polymarket Markets Scraper reads only public data that any visitor can see without signing in. It does not access protected posts, messages or anything behind a login.

Results of Polymarket Markets Scraper can still contain personal data. Personal data is protected by GDPR in the European Union and by similar laws elsewhere. Do not scrape personal data unless you have a legitimate reason, and ask a lawyer if you are unsure. Respect the Polymarket terms that apply to you.

### Reviews and feedback for Polymarket Markets Scraper

Did Polymarket Markets Scraper save you time? A short review on the Apify Store helps other users find Polymarket Markets Scraper. If something does not work, open an issue on the Issues tab of Polymarket Markets Scraper and include the run link: every report is read and answered.

### FAQ about Polymarket Markets Scraper

#### Does the Polymarket Markets Scraper need a Polymarket account or wallet?

No. It works without an account, wallet, login or API key and reads only public market data.

#### How fast is Polymarket Markets Scraper?

Polymarket Markets Scraper reads many markets in parallel. A 20-row run finishes in under a minute; the run log shows the progress of Polymarket Markets Scraper for every input.

#### Can I schedule Polymarket Markets Scraper?

Yes. In Apify Console, create a task with your input for Polymarket Markets Scraper and add a schedule (hourly, daily, weekly). Each scheduled run of Polymarket Markets Scraper produces a new dataset.

#### Which export formats does Polymarket Markets Scraper support?

Every dataset of Polymarket Markets Scraper can be downloaded as JSON, CSV, Excel, HTML, XML or RSS, or read through the Apify API.

#### Why is a field of Polymarket Markets Scraper empty?

Polymarket Markets Scraper writes `null` when the value is not published for that item. Polymarket Markets Scraper never fills a field with a guess.

#### Are the prices probabilities?

Yes: an outcome price of 0.62 means the market prices a 62% chance.

#### Why is the order book empty?

The market is closed, or `orderbookDepth` is 0.

#### Can I get every market of a category?

Yes - raise `maxItemsPerSource`; paging continues to the last market.

#### How do I track odds over time?

Schedule the Polymarket Markets Scraper and compare `outcomePrices` by `marketId`, or use `priceHistoryInterval`.

#### How do I report a problem with Polymarket Markets Scraper?

Open the Issues tab of Polymarket Markets Scraper on the Apify Store, describe what you expected and paste the run link. Problems with Polymarket Markets Scraper are usually fixed within days.

# Actor input Schema

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

Polymarket categories (tags), one per line: politics, sports, crypto, economy, tech, culture ... Empty = all markets.

## `searchQueries` (type: `array`):

Keep markets whose question contains all these words, one search per line (e.g. bitcoin price, election).

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

One search, the same as one line of Search words.

## `category` (type: `string`):

One category, the same as one line of Categories.

## `tagIds` (type: `array`):

Polymarket tag slugs, the same as Categories.

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

open = trading now; closed = trading ended; resolved = closed with a result; all.

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

Order in which markets are read.

## `minVolume24h` (type: `integer`):

Keep markets with at least this 24-hour volume.

## `minTotalVolume` (type: `integer`):

Keep markets with at least this total volume.

## `minVolume` (type: `integer`):

Same as minimum total volume.

## `minLiquidity` (type: `integer`):

Keep markets with at least this liquidity.

## `orderbookDepth` (type: `integer`):

Price levels of the order book to add on each side (0 = off). Also refreshes best bid and ask.

## `recentTrades` (type: `integer`):

How many of the newest trades to add (0 = off).

## `priceHistoryInterval` (type: `string`):

Add the price history of the first outcome for this period (empty = off).

## `maxItemsPerSource` (type: `integer`):

Limit for each category and each search (per input: 50 x 2 categories = up to 100 rows).

## `dedupe` (type: `boolean`):

A market found by two categories or searches is written once.

## `mode` (type: `string`):

Markets returns one row per tradable market; Events returns one row per event (e.g. an election) with all its markets and prices inside.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time.

## `marketIds` (type: `array`):

Optional: read these markets directly by their numeric market id (e.g. 6834800).

## `marketSlugs` (type: `array`):

Optional: read these markets directly by slug or market link (the last part of the address).

## `conditionIds` (type: `array`):

Optional: read these markets directly by condition id (0x...).

## `minPriceChangePct` (type: `integer`):

Keep markets whose price moved at least this many percentage points in the last 24 hours (up or down). 0 = no filter.

## `minutesUntilEnd` (type: `integer`):

Keep only markets (or events) that end within this many minutes from now. 0 = no filter.

## `historyDays` (type: `integer`):

Add the price history of the last N days (overrides the price history period). 0 = use the period setting.

## `minTradeSizeUsd` (type: `integer`):

Recent trades: keep only trades worth at least this many dollars (whale trades). 0 = all trades.

## `tradeSide` (type: `string`):

Recent trades: all trades, only buys or only sells.

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

Same as Max markets in total.

## `maxItemsTotal` (type: `integer`):

Optional cap for the whole run. 0 = no cap.

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

Residential proxies are recommended.

## Actor input object example

```json
{
  "categories": [
    "politics"
  ],
  "status": "open",
  "sortBy": "volume24hr",
  "minVolume24h": 0,
  "minTotalVolume": 0,
  "minVolume": 0,
  "minLiquidity": 0,
  "orderbookDepth": 5,
  "recentTrades": 5,
  "priceHistoryInterval": "1d",
  "maxItemsPerSource": 50,
  "dedupe": true,
  "mode": "markets",
  "maxConcurrency": 8,
  "marketIds": [],
  "marketSlugs": [],
  "conditionIds": [],
  "minPriceChangePct": 0,
  "minutesUntilEnd": 0,
  "historyDays": 0,
  "minTradeSizeUsd": 0,
  "tradeSide": "ANY",
  "maxItems": 0,
  "maxItemsTotal": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per result, in the run's default dataset.

# 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": [
        "politics"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/polymarket-markets-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": ["politics"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/polymarket-markets-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": [
    "politics"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/polymarket-markets-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/polymarket-markets-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/oJNdiGLpJqWSaTgKB/builds/pRVeJWWZbzvtyjbbN/openapi.json
