Discover/Polymarket API
live

Polymarket APIpolymarket.com ↗

Access Polymarket prediction market data: events, order books, price history, leaderboards, and commodity direction markets via 11 structured endpoints.

Endpoint health
verified 2h ago
get_order_book
get_last_trade_prices
get_leaderboard
get_daily_commodity_closing_ladder
search_markets
10/11 passing latest checkself-healing
Endpoints
11
Updated
11d ago

What is the Polymarket API?

This API exposes 11 endpoints covering Polymarket's prediction market data, from full-text event search via search_markets to real-time order book depth, historical price series, trader leaderboards, and specialized commodity ladder and direction markets. Each endpoint returns structured JSON with concrete fields like CLOB token IDs, bid/ask spreads, volume metrics, and resolution status — enough to build trading dashboards, probability trackers, or quantitative research pipelines without touching Polymarket directly.

This call costs1 credit / call— charged only on success
Try it
Maximum number of results to return per type.
Search keyword to find prediction market events.
→ api.parse.bot/scraper/20b82f08-34e9-4c9e-91cd-eb4ff7b7814f/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/20b82f08-34e9-4c9e-91cd-eb4ff7b7814f/search_markets?limit=5&query=bitcoin' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 11 totalmissing one? ·

Full-text search over prediction market events by keyword. Returns matching events with their associated markets, current prices, and status. has_more indicates additional results exist beyond the returned set.

Input
ParamTypeDescription
limitintegerMaximum number of results to return per type.
queryrequiredstringSearch keyword to find prediction market events.
Response
{
  "type": "object",
  "fields": {
    "query": "string — the search keyword used",
    "events": "array of event objects with nested markets, prices, and status",
    "has_more": "boolean — whether more results are available",
    "total_results": "integer — number of events returned"
  },
  "sample": {
    "data": {
      "query": "bitcoin",
      "events": [
        {
          "id": "555627",
          "slug": "bitcoin-above-on-june-10-2026",
          "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
          "title": "Bitcoin above ___ on June 10?",
          "active": true,
          "closed": false,
          "markets": [
            {
              "slug": "bitcoin-above-58k-on-june-10-2026",
              "active": true,
              "closed": false,
              "spread": 0.002,
              "best_ask": 0.98,
              "best_bid": 0.978,
              "outcomes": [
                "Yes",
                "No"
              ],
              "question": "Will the price of Bitcoin be above $58,000 on June 10?",
              "outcome_prices": [
                "0.979",
                "0.021"
              ],
              "group_item_title": "58,000",
              "last_trade_price": 0.979
            }
          ],
          "end_date": "2026-06-10T16:00:00Z",
          "neg_risk": false,
          "start_date": "2026-06-03T16:26:45.640718Z"
        }
      ],
      "has_more": true,
      "total_results": 10
    },
    "status": "success"
  }
}

About the Polymarket API

Market Discovery and Event Data

search_markets accepts a query string and returns matching event objects with nested markets, current prices, and a has_more flag for pagination awareness. get_trending_markets returns events sorted by 24-hour trading volume, each carrying yes/no prices and liquidity figures. get_top_markets adds filtering by category, active, and closed status, plus offset-based pagination and configurable order and ascending sort direction. get_event_details accepts an event slug and returns the full event record: title, description, volume, liquidity, markets_count, and a markets array where each entry includes CLOB token IDs needed for order book and price history queries.

Order Books and Price Data

get_order_book accepts comma-separated CLOB token IDs and returns per-token bids, asks, tick_size, and last_trade_price. get_price_history takes a single token_id plus optional interval and fidelity (minutes between points) and returns a time series of {t, p} objects — unix timestamp and price. get_last_trade_prices returns the most recent price and side (BUY or SELL) for one or more tokens in a single call. get_event_price_history_by_date fetches the full intraday price series for every outcome token within an event on a specific calendar date (America/New_York), with optional market_filter substring matching and a max_markets cap of 20.

Leaderboard and Commodity Markets

get_leaderboard returns ranked traders with wallet_address, name, profit_loss, and volume, plus a biggest_wins array — filterable by timeframe and sort metric. Two specialized endpoints handle commodity prediction markets: get_daily_commodity_closing_ladder returns a descending ladder of strike thresholds for WTI crude, gold, silver, or natural gas on a given target_date, with each rung carrying bid, ask, midpoint, spread, and yes/no probabilities. get_daily_commodity_direction_market returns the binary Up/Down market for the same commodities, including last_trade_price, best_bid, best_ask, midpoint, spread, and an optional as_of parameter for point-in-time historical snapshots.

Status Fields and Error Handling

Endpoints that may fail to find data return explicit status strings such as no_market_for_date, unsupported_commodity, partial_ladder, and historical_snapshot_unavailable rather than silent empty arrays. The get_event_price_history_by_date response includes a failures array listing any per-token fetch errors with status_code and error details, and a truncated boolean when results exceed max_markets.

Reliability & maintenanceVerified

The Polymarket API is a managed, monitored endpoint for polymarket.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when polymarket.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official polymarket.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
10/11 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track real-time implied probabilities for political or economic events using yes/no prices from get_trending_markets
  • Build an order book visualizer for any Polymarket token using bids and asks from get_order_book
  • Plot intraday probability curves for election or sports markets with get_event_price_history_by_date at custom fidelity
  • Monitor commodity settlement probability ladders for WTI crude or gold using get_daily_commodity_closing_ladder
  • Rank top traders by profit-loss or volume over custom timeframes with get_leaderboard biggest_wins data
  • Discover active markets in a specific category (e.g. crypto, sports) using get_top_markets with category and active filters
  • Compare directional bias in gold or natural gas markets by polling get_daily_commodity_direction_market across multiple dates
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Polymarket have an official developer API?+
Yes. Polymarket provides a public CLOB (Central Limit Order Book) API documented at https://docs.polymarket.com. It covers order placement, fills, and market data for authenticated traders. This Parse API covers read-only market discovery, price history, leaderboards, and commodity-specific endpoints without requiring wallet authentication.
How do I get the token IDs needed for order book and price history queries?+
get_event_details returns a markets array where each market object includes clob_token_ids. Pass those values as the token_ids parameter to get_order_book or get_last_trade_prices, or as the single token_id parameter to get_price_history.
What commodities are supported by the closing ladder and direction market endpoints?+
get_daily_commodity_closing_ladder supports WTI crude oil (aliases: WTI, crude), gold (XAUUSD), silver (XAGUSD), and natural gas (NG). get_daily_commodity_direction_market supports gold, silver, and natural gas. Neither endpoint currently covers equity indices, soft commodities, or FX pairs. You can fork this API on Parse and revise it to add those markets.
Can I retrieve historical snapshots of the commodity direction market at a specific point in time?+
get_daily_commodity_direction_market accepts an as_of ISO 8601 timestamp parameter and returns the last available probability at or before that time. However, per-token history is not aggregated for get_daily_commodity_closing_ladder — passing as_of there returns a historical_snapshot_unavailable status. You can fork this API on Parse and revise it to aggregate per-rung history if needed.
Does the leaderboard include individual trade history or position details for a wallet address?+
No. get_leaderboard returns aggregate profit_loss and volume per trader, plus a biggest_wins array with event-level win data. Individual trade history, open positions, or per-market breakdowns for a specific wallet are not currently exposed. You can fork this API on Parse and revise it to add a wallet-level endpoint pulling that data.
Page content last updated . Spec covers 11 endpoints from polymarket.com.
Related APIs in FinanceSee all →
predictparity.com API
Search and explore prediction markets with detailed information on specific markets, trader performance rankings, and category tags. Track market listings, filter by categories, and monitor top traders all in one place.
polymarketanalytics.com API
Track any trader's performance on Polymarket by retrieving their wallet positions, trade history, profit/loss records, category breakdowns, and deposit/withdrawal activity. Monitor trading strategies and market exposure across multiple prediction markets in real-time.
novig.com API
novig.com API
sportybet.com.ng API
Book sports bets on SportyBet Nigeria by selecting games and odds, receiving a shareable booking code for your selections. Perfect for quickly placing multiple bets and sharing your ticket with others.
coinmarketcal.com API
Track upcoming cryptocurrency events with detailed information like dates, coins, categories, and market impact to stay informed about significant developments in the crypto market. Filter events by specific coins, keywords, or impact levels, and look up comprehensive coin details and editorial categories to build your research and trading strategy.
money.tmx.com API
Access data from money.tmx.com.
moondev.com API
Access live crypto market data from MoonDev's public endpoints: aggregated Hyperliquid positions near liquidation, fees leaderboard, PnL share stats by address, Polymarket sweep trades, and soon-to-expire Polymarket markets — plus a single aggregate endpoint that pulls all major datastreams at once.
nseindia.com API
Track live NSE stock prices, monitor indices, analyze option chains, and access corporate announcements with real-time market data from India's National Stock Exchange. View equity quotes with full order books, identify top gainers/losers, analyze 52-week highs/lows, and explore historical price trends all in structured JSON format.