> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Polymarket

> Public prediction-market data from Polymarket: search, events and markets (Gamma API), order books, prices and price history (CLOB API), trades, holders and open interest (Data API).

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/polymarket.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=27e2543b15e47493b44591068401c14e)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

No key needed

Endpoints

10

Auth

None

[Vendor docs](https://docs.polymarket.com/) · Serves `polymarket.com`

## Notes

* The endpoints here are public and need no key; trading and account endpoints (signed, wallet-based) are not in this catalog.
* Three IDs matter: an event holds markets; a market has a condition id (Data API 'condition') and one CLOB token id per outcome (the market's clobTokenIds, used as token\_id / market on the CLOB host).
* Prices are between 0 and 1 and read as the implied probability of the outcome.

## Endpoints

GET

Search markets, events and profiles

Keyword search across events (with their markets), tags and profiles.

[Open](#polymarket-search)

GET

List events

Events with their markets, filtered by tag, state, volume, liquidity or dates.

[Open](#polymarket-events-list)

GET

Get an event by slug

One event and its markets, by slug.

[Open](#polymarket-events-by-slug)

GET

List markets

Markets with prices, volume and liquidity, filtered by ids, tag, volume or dates.

[Open](#polymarket-markets-list)

GET

Get a market by slug

One market by slug, with outcomes, prices and CLOB token ids.

[Open](#polymarket-markets-by-slug)

GET

Get an order book

Bids, asks and last trade price for one outcome token.

[Open](#polymarket-book-get)

GET

Get the best price

Best bid (side BUY) or best ask (side SELL) for one outcome token.

[Open](#polymarket-price-get)

GET

Get price history

Price series for one outcome token.

[Open](#polymarket-prices-history)

GET

List trades

Trade feed for markets, events or a wallet.

[Open](#polymarket-trades-list)

GET

List a market's top holders

Top holders per outcome token of one or more markets.

[Open](#polymarket-holders-list)

### Search markets, events and profiles

GET

`/public-search`

`polymarket.search`

Keyword search across events (with their markets), tags and profiles.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`q` required</td><td>string</td><td>query</td><td>Search text. Example `fed rate`</td></tr>

    <tr>
      <td>
        `limit_per_type`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Max results per result type.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `events_status`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Event status filter.
      </td>
    </tr>

    <tr>
      <td>
        `keep_closed_markets`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `ascending`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `search_tags`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `search_profiles`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/search/search-markets-events-and-profiles) · Same job: [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-search), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-store-search), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-search), [Brave Search](https://docs.webrouter.net/data-apis/bravesearch.md#bravesearch-videos-search), [BytePlus Searchinfinity](https://docs.webrouter.net/data-apis/byteplus-search.md#byteplus-search-web-search), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-search)

```python Python theme={null}
router.call_data_api("polymarket.search", {'q': 'fed rate'})
```

```text MCP theme={null}
call_data_api(endpoint="polymarket.search", params={"q": "fed rate"})
```

### List events

GET

`/events`

`polymarket.events.list`

Events with their markets, filtered by tag, state, volume, liquidity or dates.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `order`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated fields to order by.
      </td>
    </tr>

    <tr>
      <td>
        `ascending`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `tag_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `tag_slug`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `active`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `archived`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `featured`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `closed`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        true closed only, false open only, any for both; omitted includes both.
      </td>
    </tr>

    <tr>
      <td>
        `volume_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `liquidity_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `start_date_min`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `end_date_min`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Ends on or after this ISO date/time.
      </td>
    </tr>

    <tr>
      <td>
        `end_date_max`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Ends on or before this ISO date/time.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/events/list-events) · Same job: [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-earnings), [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-events-list), [Financial Modeling Prep](https://docs.webrouter.net/data-apis/fmp.md#fmp-earnings-calendar), [FRED (St. Louis Fed)](https://docs.webrouter.net/data-apis/fred.md#fred-releases-dates), [Kalshi](https://docs.webrouter.net/data-apis/kalshi.md#kalshi-events-list), [Legistar Web API](https://docs.webrouter.net/data-apis/legistar.md#legistar-events-list)

```python Python theme={null}
router.call_data_api("polymarket.events.list")
```

```text MCP theme={null}
call_data_api(endpoint="polymarket.events.list")
```

> [!NOTE]
>
> * Offset paging; a keyset variant (/events/keyset, after\_cursor) exists for deep paging.

### Get an event by slug

GET

`/events/slug/{slug}`

`polymarket.events.by_slug`

One event and its markets, by slug.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `slug`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Event slug.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/events/get-event-by-slug)

### List markets

GET

`/markets`

`polymarket.markets.list`

Markets with prices, volume and liquidity, filtered by ids, tag, volume or dates.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `order`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated fields to order by.
      </td>
    </tr>

    <tr>
      <td>
        `ascending`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `slug`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Market slug.
      </td>
    </tr>

    <tr>
      <td>
        `condition_ids`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A market condition id.
      </td>
    </tr>

    <tr>
      <td>
        `clob_token_ids`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A CLOB outcome token id.
      </td>
    </tr>

    <tr>
      <td>
        `tag_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `closed`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Omitted or false open markets only; true closed; any for both.
      </td>
    </tr>

    <tr>
      <td>
        `volume_num_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `liquidity_num_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `start_date_min`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `end_date_min`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Ends on or after this ISO date/time.
      </td>
    </tr>

    <tr>
      <td>
        `end_date_max`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Ends on or before this ISO date/time.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/markets/list-markets)

```python Python theme={null}
router.call_data_api("polymarket.markets.list")
```

```text MCP theme={null}
call_data_api(endpoint="polymarket.markets.list")
```

> [!NOTE]
>
> * Defaults to open markets only; pass closed=true for resolved ones.

### Get a market by slug

GET

`/markets/slug/{slug}`

`polymarket.markets.by_slug`

One market by slug, with outcomes, prices and CLOB token ids.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `slug`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `include_tag`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td />
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/markets/get-market-by-slug) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-quote), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-24hr), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-stats-get), [CoinMarketCap](https://docs.webrouter.net/data-apis/coinmarketcap.md#coinmarketcap-global-metrics-latest), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-rates-latest), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-live-quote)

### Get an order book

GET

`/book`

`polymarket.book.get`

Bids, asks and last trade price for one outcome token.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `token_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        CLOB outcome token id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/market-data/get-order-book)

### Get the best price

GET

`/price`

`polymarket.price.get`

Best bid (side BUY) or best ask (side SELL) for one outcome token.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `token_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        CLOB outcome token id.
      </td>
    </tr>

    <tr>
      <td>
        `side`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        &#x20;One of&#x20;

        `BUY`

        ,&#x20;

        `SELL`
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/market-data/get-market-price) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-quote), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-24hr), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-stats-get), [CoinMarketCap](https://docs.webrouter.net/data-apis/coinmarketcap.md#coinmarketcap-global-metrics-latest), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-rates-latest), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-live-quote)

### Get price history

GET

`/prices-history`

`polymarket.prices.history`

Price series for one outcome token.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `market`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        CLOB outcome token id (asset id).
      </td>
    </tr>

    <tr>
      <td>
        `startTs`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Unix seconds.
      </td>
    </tr>

    <tr>
      <td>
        `endTs`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Unix seconds.
      </td>
    </tr>

    <tr><td>`interval`</td><td>string</td><td>query</td><td>Time interval for aggregation. One of `max`, `all`, `1m`, `1w`, `1d`, `6h`, `1h`</td></tr>

    <tr>
      <td>
        `fidelity`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Resolution in minutes; default 1.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/markets/get-prices-history) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

### List trades

GET

`/v2/trades`

`polymarket.trades.list`

Trade feed for markets, events or a wallet.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `condition`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Condition ids, comma-separated, at most 20.
      </td>
    </tr>

    <tr>
      <td>
        `event_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Event ids, comma-separated, at most 20.
      </td>
    </tr>

    <tr>
      <td>
        `user`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Wallet address.
      </td>
    </tr>

    <tr>
      <td>
        `side`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        &#x20;One of&#x20;

        `BUY`

        ,&#x20;

        `SELL`
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        First-page size, up to 1000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        next\_cursor from the previous page; it carries the page size.
      </td>
    </tr>

    <tr>
      <td>
        `taker_only`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Default true: each fill once, on its taker side.
      </td>
    </tr>

    <tr><td>`filter_type`</td><td>string</td><td>query</td><td>Unit of filter\_amount; default TOKENS. One of `CASH`, `TOKENS`</td></tr>

    <tr>
      <td>
        `filter_amount`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum trade size; default 0.01.
      </td>
    </tr>

    <tr>
      <td>
        `start`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Epoch seconds; with user only.
      </td>
    </tr>

    <tr>
      <td>
        `end`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Epoch seconds; with user only.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/feeds/list-trades)

```python Python theme={null}
router.call_data_api("polymarket.trades.list")
```

```text MCP theme={null}
call_data_api(endpoint="polymarket.trades.list")
```

### List a market's top holders

GET

`/v2/holders`

`polymarket.holders.list`

Top holders per outcome token of one or more markets.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `condition`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Condition ids, comma-separated, at most 20.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Rows per outcome token, default 100, max 1000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td />
    </tr>

    <tr>
      <td>
        `min_balance`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum net shares.
      </td>
    </tr>

    <tr>
      <td>
        `include_pnl`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add per-holder entry cost, value and PnL; then one condition only and limit at most 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.polymarket.com/api-reference/markets/list-a-markets-top-holders)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.