Finance

Polymarket API

https://polymarket.com/

Polymarket - prediction markets, events, prices, order books, and user positions.

Actions
16
Category
Finance
Login
Not required
Output
JSON

Call the Polymarket API

Submit a task, then poll the job until it settles. This example runs pm_get_event.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "pm_get_event",
    "params": {
      "event_id": "903193"
    }
  }'

16 actions on https://polymarket.com/

Read

  • Event Details

    pm_get_eventread1 credit / call

    Returns full details for an event and all its associated markets.

    event_id
    string · required
  • Events Listing

    pm_get_eventsread1 credit / call

    Returns events filtered and sorted by volume, liquidity, or recency, each with its markets.

    limit
    integer
    order
    string
    ascending
    boolean
    closed
    boolean
    tag_id
    string
    cursor
    string
  • Full Market Snapshot

    pm_get_market_fullread1 credit / call

    Returns a combined market snapshot with metadata and live CLOB pricing for all outcome tokens.

    market_id
    string · required
  • Market Details

    pm_get_marketread1 credit / call

    Returns full details for a single market including live prices, spread, and CLOB token IDs.

    market_id
    string · required
  • Market Holders

    pm_get_holdersread1 credit / call

    Returns all wallet addresses holding positions in a market outcome token with amounts.

    condition_id
    string · required
    limit
    integer
    offset
    integer
  • Market Order Book

    pm_get_orderbookread1 credit / call

    Returns the live order book for an outcome token with bids and asks.

    token_id
    string · required
  • Market Search

    pm_search_marketsread1 credit / call

    Returns events and their markets matching a keyword query.

    query
    string · required
    limit
    integer
    closed
    boolean
  • Markets Listing

    pm_get_marketsread1 credit / call

    Returns markets filtered and sorted by volume, liquidity, or end date.

    limit
    integer
    order
    string
    ascending
    boolean
    closed
    boolean
    tag_id
    string
    cursor
    string
  • Price History

    pm_get_price_historyread1 credit / call

    Returns the historical price series for an outcome token.

    token_id
    string · required
    interval
    string
    start_ts
    integer
    end_ts
    integer
    fidelity
    integer
  • Series Details

    pm_get_series_detailread1 credit / call

    Returns full details for a single series including all its events.

    series_id
    string · required
  • Series Listing

    pm_get_seriesread1 credit / call

    Returns series, which are collections of recurring structured events like NFL games or FOMC meetings.

    limit
    integer
    order
    string
    ascending
    boolean
    closed
    boolean
  • Sports Categories

    pm_get_sportsread1 credit / call

    Returns all sports categories with their associated series IDs and tag references.

  • Tag Categories

    pm_get_tagsread1 credit / call

    Returns all tag categories with IDs for filtering markets and events.

  • Token Stats

    pm_get_token_statsread1 credit / call

    Returns live pricing stats for an outcome token including price, midpoint, last trade, spread, and tick size.

    token_id
    string · required
  • User Positions

    pm_get_user_positionsread1 credit / call

    Returns open and closed positions plus portfolio value for a wallet address.

    user
    string · required
    market
    string
    size_min
    number
  • User Trades

    pm_get_user_tradesread1 credit / call

    Returns trade history for a wallet address.

    user
    string · required
    market
    string
    limit
    integer
    offset
    integer

Polymarket API questions

Is there an API for Polymarket?
Polymarket does not offer a public data API for this, but Anakin Wire provides 16 maintained endpoints for https://polymarket.com/. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Polymarket data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when https://polymarket.com/ changes its markup, Anakin updates the action.
Do I need a Polymarket account?
No. Every Polymarket action listed here runs anonymously — no account and no credentials required.
What does the Polymarket API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites