Polymarket Gamma Markets Scraper
Pricing
from $7.50 / 1,000 results
Polymarket Gamma Markets Scraper
Scrapes Polymarket markets from the Gamma API and returns each one as a flat row with tokens, outcomes, volume, liquidity, and timestamps. Filter by active or closed status, tag slug, and sort order.
Pricing
from $7.50 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Share
Polymarket Gamma Markets Scraper
Scrape Polymarket Gamma markets by tag, status, or volume, up to a million per run. Each market row includes its tokens, outcomes, liquidity, and end date. No API key required. Export to CSV, JSON, Excel, or XML.
Polymarket's Gamma API is the fastest way to query prediction markets, but building a pipeline to paginate, filter, and normalize the data takes time you could spend on analysis. This Actor reads the public Gamma market feed directly, letting you filter by active or closed status, tag slug, and sort order. It returns every matching market in one consistent, flat schema.
| Who uses it | What they scrape Polymarket for |
|---|---|
| Quantitative researchers | Backtest trading strategies against historical market resolution data. |
| Crypto analysts | Monitor which political or crypto event markets are attracting the most volume this hour. |
| Newsletter writers | Pull the day's most active prediction markets to curate a daily odds roundup. |
| Sports bettors | Compare Polymarket sports market odds against traditional bookmakers. |
What it does
This Actor collects Polymarket markets from the Gamma API and returns each one as a flat row with its tokens, outcomes, volume, liquidity, and timestamps.
- ๐ท๏ธ Tag filtering: restrict markets to a single tag slug like politics, crypto, sports, or science.
- ๐ Volume and liquidity sorting: order the result set by volume or liquidity, ascending or descending.
- โฑ๏ธ Status filters: pull only active markets, only closed markets, or leave both unchecked to get everything.
- ๐ฆ Bulk collection: set a high maxItems to pull up to a million markets in a single run.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with Polymarket data
๐ Monitor market activity by category.
A crypto analyst runs the Actor daily with the crypto tag, sorted by volume descending, to see which token event markets are moving.
๐ฐ Build a prediction-market newsletter.
A content creator pulls the top 20 active markets by liquidity each morning and writes a daily odds briefing from the structured dataset.
๐งช Backtest resolution patterns.
A quant researcher collects closed markets with the politics tag, joins the resolution data with historical prices, and tests a mean-reversion strategy.
โฝ Find sports betting edges.
A sports bettor scrapes active sports markets, exports them to CSV, and compares Polymarket implied probabilities against Pinnacle closing lines.
Why choose this scraper
| What you get | |
|---|---|
| No API key | Reads the public Polymarket Gamma endpoint with no registration or authentication. |
| Flat row per market | Every market returns as one row with tokens, outcomes, volume, liquidity, and dates. |
| Flexible sorting | Order by volume, liquidity, end date, or start date in ascending or descending direction. |
| Tag targeting | Narrow the scrape to a single category like politics, crypto, or sports with one field. |
How it compares
This Actor focuses on the Gamma API for market metadata, while other Polymarket scrapers target arbitrage detection, whale tracking, or sports odds divergence.
| Feature | ParseForge | Polymarket Multi-Outcome Arbitrage Scanner | Polymarket Whale Tracker & Smart Money Alerts | Polymarket Sports Odds Scanner & Divergence Finder |
|---|---|---|---|---|
| Gamma API market metadata | Yes | Not listed | Not listed | Not listed |
| Filter by tag slug | Yes | Not listed | Not listed | Not listed |
| Sort by volume or liquidity | Yes | Not listed | Not listed | Not listed |
| Active and closed market filters | Yes | Not listed | Not listed | Not listed |
| Multi-outcome arbitrage detection | Not listed | Yes | Not listed | Not listed |
| Whale wallet tracking | Not listed | Not listed | Yes | Not listed |
| Sports odds divergence vs bookmakers | Not listed | Not listed | Not listed | Yes |
Configure the run
Drive the Actor with a tag slug, active or closed status, and a sort order. Filters run server-side on the Gamma API so only matching markets count toward your maxItems limit. The Input tab lists every parameter.
A first run with the defaults:
{"maxItems": 10}
A larger pull:
{"maxItems": 200}
Pricing
Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the Polymarket Gamma Markets Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to Polymarket through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/polymarket-gamma-markets-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting no results?
Check that your filters are not too restrictive. If you have both Active only and Closed only unchecked, the API may still return an empty set for certain tag slugs. Try removing the tag filter first, then add filters back one at a time.
Why does the run stop before reaching my maxItems?
The Gamma API only returns markets that match your filters. If there are fewer matching markets than your maxItems value, the Actor stops after collecting all available ones. This is expected behavior, not an error.
Why are some fields empty in my output?
The Gamma API omits fields that are not applicable to a given market. For example, a market with no resolution yet will have an empty resolution timestamp. The Actor passes through whatever the API returns without filling in defaults.
Why did my run fail with a timeout?
Very large maxItems values with broad filters can take a long time. Increase the run timeout in your Actor settings, or reduce maxItems and run multiple smaller batches with different filters.
Can I filter by multiple tags at once?
The current input schema accepts a single tag slug. To collect markets from multiple tags, run the Actor once per tag and merge the datasets afterward, or use a separate Apify workflow to orchestrate multiple runs.
FAQ
| Question | Answer |
|---|---|
| Do I need a Polymarket account or API key to use this Actor? | No. This Actor reads the public Polymarket Gamma API endpoint and requires no account, API key, or authentication of any kind. |
| What is the difference between active and closed markets? | Active markets are still open for trading. Closed markets have reached their end date and resolved to a final outcome. Use the checkboxes to include one, both, or neither. |
| How do I filter by a specific category like politics or sports? | Enter the tag slug in the Tag slug field. Common slugs include politics, crypto, sports, science, and pop-culture. The Actor passes this directly to the Gamma API. |
| What does the Gamma API return that the CLOB data does not? | The Gamma API returns a higher-level market view with tokens, outcomes, and aggregated volume and liquidity. It is simpler to consume than raw CLOB order book data when you need market metadata rather than tick-by-tick pricing. |
| Can I get the outcome tokens and their prices? | Yes. Each market row includes its outcome tokens and the associated metadata the Gamma API provides. The exact fields appear in the sample output on the Actor's page. |
| How many markets can I collect in one run? | You can set maxItems up to 1,000,000. The Actor paginates through the Gamma API until it reaches your limit or exhausts the available markets matching your filters. |
| Does this Actor handle rate limiting? | Yes. The Actor respects the Polymarket API's rate limits and backs off automatically when needed, so long-running bulk scrapes complete reliably. |
| Can I schedule this to run every hour? | Yes. After publishing the Actor, you can set up a scheduled run on Apify with any interval you need, from every minute to once a day. |
| What export formats are supported? | You can export your dataset to CSV, JSON, Excel, XML, or RSS from the Apify console, or push it directly to a webhook, S3 bucket, or external database. |
| Is this the same as the Polymarket CLOB scraper? | No. This Actor targets the Gamma API for market metadata. A CLOB scraper would pull raw order book snapshots and trade ticks. Use this one when you need market-level information rather than order-level data. |
Related actors
Browse the full ParseForge collection for more scrapers.
๐ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
โ ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Polymarket. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
