Polymarket
Access prediction markets data from Polymarket
Configuration
Get Markets
polymarket_get_markets)Retrieve a list of prediction markets from Polymarket with optional filtering
| Parameter | Type | Required | Description |
|---|---|---|---|
closed | string | No | Filter by closed status (true/false). Use false for active markets only. |
order | string | No | Sort field (e.g., volumeNum, liquidityNum, startDate, endDate, createdAt) |
ascending | string | No | Sort direction (true for ascending, false for descending) |
tagId | string | No | Filter by tag ID |
limit | string | No | Number of results per page (max 50) |
offset | string | No | Pagination offset (skip this many results) |
Refer to the block outputs for this operation.
Get Market
polymarket_get_market)Retrieve details of a specific prediction market by ID or slug
| Parameter | Type | Required | Description |
|---|---|---|---|
marketId | string | No | The market ID. Required if slug is not provided. |
slug | string | No | The market slug (e.g., "will-trump-win"). Required if marketId is not provided. |
Refer to the block outputs for this operation.
Get Events
polymarket_get_events)Retrieve a list of events from Polymarket with optional filtering
| Parameter | Type | Required | Description |
|---|---|---|---|
closed | string | No | Filter by closed status (true/false). Use false for active events only. |
order | string | No | Sort field (e.g., volume, liquidity, startDate, endDate, createdAt) |
ascending | string | No | Sort direction (true for ascending, false for descending) |
tagId | string | No | Filter by tag ID |
limit | string | No | Number of results per page (max 50) |
offset | string | No | Pagination offset (skip this many results) |
Refer to the block outputs for this operation.
Get Event
polymarket_get_event)Retrieve details of a specific event by ID or slug
| Parameter | Type | Required | Description |
|---|---|---|---|
eventId | string | No | The event ID. Required if slug is not provided. |
slug | string | No | The event slug (e.g., "2024-presidential-election"). Required if eventId is not provided. |
Refer to the block outputs for this operation.
Get Tags
polymarket_get_tags)Retrieve available tags for filtering markets from Polymarket
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | string | No | Number of results per page (max 50) |
offset | string | No | Pagination offset (skip this many results) |
Refer to the block outputs for this operation.
Search
polymarket_search)Search for markets, events, and profiles on Polymarket
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query term |
limit | string | No | Number of results per page (max 50) |
offset | string | No | Pagination offset |
Refer to the block outputs for this operation.
Get Series
polymarket_get_series)Retrieve series (related market groups) from Polymarket
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | string | No | Number of results per page (max 50) |
offset | string | No | Pagination offset (skip this many results) |
Refer to the block outputs for this operation.
Get Series by ID
polymarket_get_series_by_id)Retrieve a specific series (related market group) by ID from Polymarket
| Parameter | Type | Required | Description |
|---|---|---|---|
seriesId | string | Yes | The series ID |
Refer to the block outputs for this operation.
Get Orderbook
polymarket_get_orderbook)Retrieve the order book summary for a specific token
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
Refer to the block outputs for this operation.
Get Price
polymarket_get_price)Retrieve the market price for a specific token and side
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
side | string | Yes | Order side: buy or sell |
Refer to the block outputs for this operation.
Get Midpoint
polymarket_get_midpoint)Retrieve the midpoint price for a specific token
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
Refer to the block outputs for this operation.
Get Price History
polymarket_get_price_history)Retrieve historical price data for a specific market token
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
interval | string | No | Duration ending at current time (1m, 1h, 6h, 1d, 1w, max). Mutually exclusive with startTs/endTs. |
fidelity | number | No | Data resolution in minutes (e.g., 60 for hourly) |
startTs | number | No | Start timestamp (Unix seconds UTC) |
endTs | number | No | End timestamp (Unix seconds UTC) |
Refer to the block outputs for this operation.
Get Last Trade Price
polymarket_get_last_trade_price)Retrieve the last trade price for a specific token
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
Refer to the block outputs for this operation.
Get Spread
polymarket_get_spread)Retrieve the bid-ask spread for a specific token
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
Refer to the block outputs for this operation.
Get Tick Size
polymarket_get_tick_size)Retrieve the minimum tick size for a specific token
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenId | string | Yes | The CLOB token ID (from market clobTokenIds) |
Refer to the block outputs for this operation.
Get Positions
polymarket_get_positions)Retrieve user positions from Polymarket
| Parameter | Type | Required | Description |
|---|---|---|---|
user | string | Yes | User wallet address |
market | string | No | Optional market ID to filter positions |
Refer to the block outputs for this operation.
Get Trades
polymarket_get_trades)Retrieve trade history from Polymarket
| Parameter | Type | Required | Description |
|---|---|---|---|
user | string | No | User wallet address to filter trades |
market | string | No | Market ID to filter trades |
limit | string | No | Number of results per page (max 50) |
offset | string | No | Pagination offset (skip this many results) |
Refer to the block outputs for this operation.
Usage Instructions
Integrate Polymarket prediction markets into the workflow. Can get markets, market, events, event, tags, series, orderbook, price, midpoint, price history, last trade price, spread, tick size, positions, trades, and search.
Notes
- Category:
tools - Type:
polymarket