Polymarket Prediction Markets Scraper avatar

Polymarket Prediction Markets Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Polymarket Prediction Markets Scraper

Polymarket Prediction Markets Scraper

Pull live prediction market data from Polymarket. Prices, volumes, probabilities, and resolution status for any event. No API key needed — uses public Gamma API.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Igor Araujo

Igor Araujo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Polymarket Scraper

An Apify Actor that scrapes prediction market data from Polymarket using the public Gamma API.

Features

  • Fetches markets from Polymarket's Gamma API (no authentication required)
  • Extracts: title, outcomes, yes/no prices, volume, liquidity, end date, event category, and URL
  • Filter by minimum volume, minimum liquidity, category, or keyword search
  • Supports both active and closed markets (configurable)
  • Outputs structured JSON to Apify dataset

API Endpoints Used

  • GET https://gamma-api.polymarket.com/markets?limit=50&closed=false — Fetch markets
  • GET https://gamma-api.polymarket.com/events?limit=20&closed=false — Fetch events (for category/tag data)

The Polymarket Gamma API is public and does not require any authentication.

Input Schema

FieldTypeDefaultDescription
limitinteger100Max markets to fetch (max 500)
minVolumenumber0Minimum volume in USD
minLiquiditynumber0Minimum liquidity in USD
categorystring""Filter by category/event name (case-insensitive substring match)
keywordstring""Filter by keyword in market title (case-insensitive substring match)
onlyActivebooleantrueOnly fetch active (non-closed) markets

Output Data

Each dataset item contains:

FieldTypeDescription
titlestringMarket question/title
outcomesstringComma-separated list of outcomes (e.g., "Yes, No")
yes_pricenumberCurrent price of the "Yes" outcome in USD
no_pricenumberCurrent price of the "No" outcome in USD
volumenumberTotal trading volume in USD
liquiditynumberCurrent liquidity in the market in USD
end_datestringMarket resolution end date (ISO 8601)
categorystringEvent/hub title that the market belongs to
urlstringPolymarket URL for the market

Example Input

{
"limit": 50,
"minVolume": 10000,
"category": "politics",
"onlyActive": true
}

Local Development

# Install dependencies
pip install -r requirements.txt
# Run locally
apify run

Deployment

# Push to Apify platform
COPYFILE_DISABLE=1 apify push