Polymarket Markets Scraper avatar

Polymarket Markets Scraper

Pricing

from $0.60 / 1,000 markets

Go to Apify Store
Polymarket Markets Scraper

Polymarket Markets Scraper

Scrape Polymarket prediction markets by tag, search, event or market slug. One row per market with probability, bid, ask, USD volume, liquidity, status, close time and optional price history. Closed and resolved markets too. Export to JSON, CSV or Excel. No API key.

Pricing

from $0.60 / 1,000 markets

Rating

0.0

(0)

Developer

MrBridge

MrBridge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Polymarket Markets Scraper is a Polymarket scraper that collects prediction markets, with one row per market. It turns Polymarket market data into JSON, CSV or Excel. It reads the public Polymarket APIs with no account and no API key. You can also add the price history of each market.

The Console prefill uses no selector, sets orderBy to volume24h and maxItems to 20, and returns 20 open markets of the busiest events. The sample market is "2026 Balance of Power: R Senate, D House", with a probability of 0.225. Add a tag, a search term or an event slug to follow one subject.

What is Polymarket Markets Scraper?

A Polymarket market is a question with two or more outcomes. The price of an outcome, in dollars per share from 0 to 1, reads as its probability.

Select markets by tag, title search, event slug or market slug, or walk the events of the whole site. Use status to filter markets and orderBy to order the events. Selectors add up, and a market found twice is returned once.

The first columns follow the same fixed prediction-market layout as the other prediction-market Actors of this family.

What data can I extract with it?

Each row includes the question, outcome, every outcome with its price, probability, best bid, best ask, last price, volume and 24-hour volume in USD, liquidity, status, resolution, times, tags, link and scrape time. Three Polymarket columns add slug, clobTokenIds and resolutionSource.

How can I use the results?

Track the probability of an event over time. Use closed and resolved markets to study how prices predicted outcomes. Compare the rows with other prediction-market data in one table, or load them into a dashboard or research notebook.

How to use it

  1. Choose one or more selectors, or leave them empty to walk the events of the whole site.
  2. Set status, orderBy and maxItems. To add price history, enable includeHistory and choose historyInterval and historyDays.
  3. Start the run, then read the default dataset or export its rows.

Input

FieldMeaningDefault
tagsPolymarket tags, as a slug (crypto) or a numeric id (21). Up to 100. One walk over the events of each tagempty
searchTermsEvent title searches, any case. Up to 10. One walk over the matching events of each termempty
eventSlugsEvents to collect. Up to 100. Every market of a named event is returnedempty
marketSlugsMarkets to collect. Up to 100empty
statusactive, closed or all. Filters the walks and every market of a listed eventactive
orderByOrder of the events in a walk: volume24h, liquidity or endDatevolume24h
maxItemsHard cap on market rows returned and billed, 1 to 10000100
includeHistoryAdd the price history of each marketfalse
historyIntervalSize of one price point, 1h or 1d1d
historyDaysDays of history, 1 to 36530

The Console prefill uses this input:

{
"orderBy": "volume24h",
"maxItems": 20
}

Each selector adds its own walk, and selectors add up. A market found by more than one selector is returned once.

status filters the walks and every market of a listed event. A named slug is returned whatever its status. Use closed to keep closed and resolved markets, or all to keep both active and closed markets.

Open events can contain placeholder markets with no price that cannot be traded. The Actor leaves them out and counts them in filteredOut.

orderBy sorts the events, not the markets inside an event. With endDate, status active and all start with the nearest end still to come. Events already past their end date are left out. For closed, the order starts with the most recent end. A market can already have ended while its event ends later.

Invalid input ends the run successfully with one BAD_INPUT row in the errors dataset. That row lists every problem, and the run returns no market row. This is separate from stoppedBy value badInput, which means Polymarket refused the first request as invalid.

Output

FieldTypeMeaning
venuestringAlways polymarket
marketIdstringCondition id of the market, the key of the row
eventIdstringId of the Polymarket event the market belongs to
eventTitlestring or nullTitle of that event
questionstring or nullThe market's own question
outcomestring or nullThe side that probability prices, the first outcome label, Yes on a yes or no market
outcomesarrayEvery outcome as an object { label, price }. [] when absent
probabilitynumber or null0 to 1. Midpoint of bid and ask when both exist and the spread is at most 0.10, else the last trade, else the Polymarket price of the first outcome. Null when the book has one side only, the market never traded and Polymarket gives no price
bestBid, bestAsk, lastPricenumber or nullDollars per share, 0 to 1
volume, volume24hnumber or nullIn US dollars, see volumeUnit
volumeUnitstringAlways USD
liquiditynumber or nullIn US dollars, as Polymarket reports it
openInterestnullAlways null, Polymarket does not serve it on the market listing
statusstring or nullopen, closed or resolved
statusRawstring or nullThe status as Polymarket writes it
resolutionstring or nullThe winning outcome label once resolved, null on a 50/50 resolution
openTime, closeTime, resolvedAtstring or nullISO 8601 in UTC
categorynullAlways null, a Polymarket market has no category. Use tags
tagsarrayTag labels of the event. [] when absent
moneyTypestringAlways real
urlstring or nullPolymarket page of the market
historyarray or nullPrice history, see below
scrapedAtstringTime the row was built, ISO 8601 in UTC
slugstring or nullSlug of the market
clobTokenIdsarrayToken ids of the outcomes, in the order of outcomes. [] when missing
resolutionSourcestring or nullResolution source written on the market, null when it has none

The default dataset contains the market rows, with overview and history views. Problems go to the errors dataset and are never billed. The OUTPUT record of the key-value store summarizes the run.

Every field is always present. It is null when Polymarket gives no value. outcomes, tags and clobTokenIds use [] when empty.

Here is one sample row:

{
"venue": "polymarket",
"marketId": "0x998bc71817b2d76921d1999ce0f3431cfd5945583667a371280ca2b430b0c06e",
"eventId": "32228",
"eventTitle": "Balance of Power: 2026 Midterms",
"question": "2026 Balance of Power: R Senate, D House",
"outcome": "Yes",
"outcomes": [
{
"label": "Yes",
"price": 0.225
},
{
"label": "No",
"price": 0.775
}
],
"probability": 0.225,
"bestBid": 0.22,
"bestAsk": 0.23,
"lastPrice": 0.23,
"volume": 7290511.065482998,
"volume24h": 196782.699429,
"volumeUnit": "USD",
"liquidity": 2776386.1101,
"openInterest": null,
"status": "open",
"statusRaw": "active",
"resolution": null,
"openTime": "2025-07-11T21:05:20.815Z",
"closeTime": "2026-11-04T04:59:00.000Z",
"resolvedAt": null,
"category": null,
"tags": [
"United States",
"Rewards 20, 4.5, 50",
"Politics",
"US Election",
"Elections",
"Midterms",
"Earn 3.25%",
"Main Election",
"Global Elections",
"Control & Seats",
"Midterm Combos"
],
"moneyType": "real",
"url": "https://polymarket.com/event/balance-of-power-2026-midterms/2026-balance-of-power-r-senate-d-house-444",
"history": null,
"scrapedAt": "2026-11-02T13:00:00.000Z",
"slug": "2026-balance-of-power-r-senate-d-house-444",
"clobTokenIds": [
"6302359956133594764084277082169634158291609371270652093164054687145970756151",
"558600218792430158020964384658762756367786275998757133304987611939841005404"
],
"resolutionSource": null
}

The sample comes from a fixture captured on 2026-11-02.

Price history

The history column contains { t, price } points sorted by t. Set historyInterval to 1h or 1d, and historyDays from 1 to 365 days.

For an open market, the window ends now. For a closed market, it ends at resolution or close. The window never starts before the market opened.

A row with a non-empty history is billed one extra market-history event. An empty list is not billed.

history is null in three cases:

  1. You did not request history.
  2. The market has no token id.
  3. The history of that market could not be read.

An answer that cannot be parsed gives null and a SCHEMA_CHANGED row in the errors dataset, naming the market in itemId. The market row is still delivered and billed as a market only.

History uses one request per market, so 1 000 markets cost 1 000 more requests. Requests are at least 250 ms apart, or about 4 minutes for 1 000 histories. The run limit is 3 600 s, and collection stops 90 s before it. A run above about 5 000 markets with history can end on deadline. This is an estimate, not a measured threshold.

Run it from code

You can start a run through the Apify API with a POST to the Actor's runs endpoint. After the run, read its rows as JSON from the dataset items endpoint.

If you are looking for Polymarket API documentation, this section shows how to get Polymarket market rows from this Actor in code. It is not Polymarket's documentation or a Polymarket API.

For Python, use the Apify Python client, the official library for the Apify REST API. Install it with pip install apify-client. It can start an Actor, wait for it to finish and list the items of its default dataset. Sync and async interfaces are available.

The Polymarket API Python workflow here uses that client to start this Actor and read its dataset, not to call a Polymarket API.

Limits

  • status filters the walks and every market of a listed event. A named slug is returned whatever its status.
  • orderBy sorts the events, not the markets inside an event. For endDate, active and all start with the nearest future end, while closed starts with the most recent end. A market can already have ended while its event ends later.
  • History adds one request per market, so 1 000 markets cost 1 000 more requests. Requests are at least 250 ms apart. The run limit is 3 600 s, with collection stopping 90 s before it. A run above about 5 000 markets with history can end on deadline, an unmeasured estimate.
  • probability uses the bid-ask midpoint when the spread is 0.10 or less, else the last trade, else the Polymarket price of the first outcome. probability is null when the book has one side only, the market never traded and Polymarket gives no price.
  • openInterest and category are always null.
  • The request cap is 1 000 requests, plus maxItems when includeHistory is on. A run that needs more requests ends with stoppedBy set to pageBudget. This is a stop reason, not a setting or input.
  • Cloudflare can refuse requests, producing TARGET_BLOCKED rows. Too many blocked responses in a row stop the run with circuitOpen. Network errors, timeouts, server errors and 429 responses get at most 3 attempts, with Retry-After respected.
  • After a reboot, marketsCharged can count one row too many. The billed events are the reference. Each run is a snapshot.

Billing

Each delivered row bills one market event. A row with a non-empty history bills one extra market-history event. Errors, duplicates, filtered-out listings and empty histories are never billed. Current prices are listed on the Pricing tab.

A moved or restarted run resumes. A market already returned is neither returned nor billed again.

Run summary and early stops

The OUTPUT record summarizes the run. Its counters include filteredOut, duplicatesSkipped and marketsCharged.

A market listed by two walks is returned once, counted in duplicatesSkipped, and not billed again.

stoppedBy keeps only the first stop reason. Its 8 values are:

  • null: all the requested work was done.
  • maxItems: the cap was reached.
  • chargeLimit: the maximum charge set for the run was reached.
  • deadline: the run reached its internal time limit.
  • circuitOpen: too many blocked responses arrived in a row.
  • pageBudget: the request cap was spent.
  • badInput: Polymarket refused the first request as invalid. This is not the input check that produces BAD_INPUT.
  • fetchFailed: the last walk ended on a page that could not be fetched. failedWalks lists the first 20 failed walks.

The errors dataset has 8 error kinds, including a NOT_FOUND row with the slug in itemId.

Frequently asked questions

Why did I get fewer rows than maxItems?

maxItems is a hard cap, not a guaranteed row count. Duplicate removal, placeholder markets, status filtering and early stops can leave fewer rows.

Why are markets missing from an open event?

Open events can contain placeholder markets with no price that cannot be traded. The Actor leaves them out and counts them in filteredOut.

Why is probability empty?

The Actor uses the bid-ask midpoint when the spread is 0.10 or less, else the last trade, else the Polymarket price of the first outcome. probability is null when the book has one side only, the market never traded and Polymarket gives no price.

Can I use this Actor through MCP?

Yes. Any Apify Actor can be called from an MCP client through the Apify MCP server. See the Apify MCP documentation for the setup.

Need real-time interactive access?

For live questions from an AI assistant, such as the latest news and prediction market signals, use the Latest News MCP Server. This Actor is built for batch runs and datasets.

Your feedback

We're always working on improving the performance of our Actors. So if you've got any technical feedback for Polymarket Markets Scraper or simply found a bug, please create an issue on the Actor's Issues tab.

An honest review helps the next users decide. You can also bookmark this Actor, and use the Issues tab for bugs or other problems.

More free tools, scrapers, MCP servers and data studies from the same team: mr-bridge.com.

The Actor reads the public Polymarket APIs. Polymarket is a trademark of its owner. This Actor is not affiliated with or endorsed by Polymarket.

Polymarket's terms may restrict automated access, commercial reuse or access from some countries. Check those terms and the law that applies to you. Prices are information, not financial advice.