Polymarket

Access prediction markets data from Polymarket

Configuration

Get Markets

Operation
Get Markets
Status
Select...
Sort By
Select...
Sort Order
Select...
Tag ID
Filter by tag ID
Limit
Number of results (max 50)
Offset
Pagination offset
Get Markets (polymarket_get_markets)

Retrieve a list of prediction markets from Polymarket with optional filtering

Input
ParameterTypeRequiredDescription
closedstringNoFilter by closed status (true/false). Use false for active markets only.
orderstringNoSort field (e.g., volumeNum, liquidityNum, startDate, endDate, createdAt)
ascendingstringNoSort direction (true for ascending, false for descending)
tagIdstringNoFilter by tag ID
limitstringNoNumber of results per page (max 50)
offsetstringNoPagination offset (skip this many results)
Output

Refer to the block outputs for this operation.


Get Market

Operation
Get Market
Market ID
Market ID (required if no slug)
Market Slug
Market slug (required if no ID)
Get Market (polymarket_get_market)

Retrieve details of a specific prediction market by ID or slug

Input
ParameterTypeRequiredDescription
marketIdstringNoThe market ID. Required if slug is not provided.
slugstringNoThe market slug (e.g., "will-trump-win"). Required if marketId is not provided.
Output

Refer to the block outputs for this operation.


Get Events

Operation
Get Events
Status
Select...
Sort By
Select...
Sort Order
Select...
Tag ID
Filter by tag ID
Limit
Number of results (max 50)
Offset
Pagination offset
Get Events (polymarket_get_events)

Retrieve a list of events from Polymarket with optional filtering

Input
ParameterTypeRequiredDescription
closedstringNoFilter by closed status (true/false). Use false for active events only.
orderstringNoSort field (e.g., volume, liquidity, startDate, endDate, createdAt)
ascendingstringNoSort direction (true for ascending, false for descending)
tagIdstringNoFilter by tag ID
limitstringNoNumber of results per page (max 50)
offsetstringNoPagination offset (skip this many results)
Output

Refer to the block outputs for this operation.


Get Event

Operation
Get Event
Event ID
Event ID (required if no slug)
Event Slug
Event slug (required if no ID)
Get Event (polymarket_get_event)

Retrieve details of a specific event by ID or slug

Input
ParameterTypeRequiredDescription
eventIdstringNoThe event ID. Required if slug is not provided.
slugstringNoThe event slug (e.g., "2024-presidential-election"). Required if eventId is not provided.
Output

Refer to the block outputs for this operation.


Get Tags

Operation
Get Tags
Limit
Number of results (max 50)
Offset
Pagination offset
Get Tags (polymarket_get_tags)

Retrieve available tags for filtering markets from Polymarket

Input
ParameterTypeRequiredDescription
limitstringNoNumber of results per page (max 50)
offsetstringNoPagination offset (skip this many results)
Output

Refer to the block outputs for this operation.


Operation
Search
Search Query*
Search term
Limit
Number of results (max 50)
Offset
Pagination offset
Search (polymarket_search)

Search for markets, events, and profiles on Polymarket

Input
ParameterTypeRequiredDescription
querystringYesSearch query term
limitstringNoNumber of results per page (max 50)
offsetstringNoPagination offset
Output

Refer to the block outputs for this operation.


Get Series

Operation
Get Series
Limit
Number of results (max 50)
Offset
Pagination offset
Get Series (polymarket_get_series)

Retrieve series (related market groups) from Polymarket

Input
ParameterTypeRequiredDescription
limitstringNoNumber of results per page (max 50)
offsetstringNoPagination offset (skip this many results)
Output

Refer to the block outputs for this operation.


Get Series by ID

Operation
Get Series by ID
Series ID*
Series ID
Get Series by ID (polymarket_get_series_by_id)

Retrieve a specific series (related market group) by ID from Polymarket

Input
ParameterTypeRequiredDescription
seriesIdstringYesThe series ID
Output

Refer to the block outputs for this operation.


Get Orderbook

Operation
Get Orderbook
Token ID*
CLOB Token ID from market
Get Orderbook (polymarket_get_orderbook)

Retrieve the order book summary for a specific token

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
Output

Refer to the block outputs for this operation.


Get Price

Operation
Get Price
Token ID*
CLOB Token ID from market
Side*
Select...
Get Price (polymarket_get_price)

Retrieve the market price for a specific token and side

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
sidestringYesOrder side: buy or sell
Output

Refer to the block outputs for this operation.


Get Midpoint

Operation
Get Midpoint
Token ID*
CLOB Token ID from market
Get Midpoint (polymarket_get_midpoint)

Retrieve the midpoint price for a specific token

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
Output

Refer to the block outputs for this operation.


Get Price History

Operation
Get Price History
Token ID*
CLOB Token ID from market
Interval
Select...
Fidelity (minutes)
Data resolution in minutes (e.g., 60)
Start Timestamp
Unix timestamp UTC (if no interval)
End Timestamp
Unix timestamp UTC (if no interval)
Get Price History (polymarket_get_price_history)

Retrieve historical price data for a specific market token

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
intervalstringNoDuration ending at current time (1m, 1h, 6h, 1d, 1w, max). Mutually exclusive with startTs/endTs.
fidelitynumberNoData resolution in minutes (e.g., 60 for hourly)
startTsnumberNoStart timestamp (Unix seconds UTC)
endTsnumberNoEnd timestamp (Unix seconds UTC)
Output

Refer to the block outputs for this operation.


Get Last Trade Price

Operation
Get Last Trade Price
Token ID*
CLOB Token ID from market
Get Last Trade Price (polymarket_get_last_trade_price)

Retrieve the last trade price for a specific token

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
Output

Refer to the block outputs for this operation.


Get Spread

Operation
Get Spread
Token ID*
CLOB Token ID from market
Get Spread (polymarket_get_spread)

Retrieve the bid-ask spread for a specific token

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
Output

Refer to the block outputs for this operation.


Get Tick Size

Operation
Get Tick Size
Token ID*
CLOB Token ID from market
Get Tick Size (polymarket_get_tick_size)

Retrieve the minimum tick size for a specific token

Input
ParameterTypeRequiredDescription
tokenIdstringYesThe CLOB token ID (from market clobTokenIds)
Output

Refer to the block outputs for this operation.


Get Positions

Operation
Get Positions
User Wallet Address*
Wallet address
Market ID
Market ID (optional filter)
Get Positions (polymarket_get_positions)

Retrieve user positions from Polymarket

Input
ParameterTypeRequiredDescription
userstringYesUser wallet address
marketstringNoOptional market ID to filter positions
Output

Refer to the block outputs for this operation.


Get Trades

Operation
Get Trades
User Wallet Address
Wallet address (optional filter)
Market ID
Market ID (optional filter)
Limit
Number of results (max 50)
Offset
Pagination offset
Get Trades (polymarket_get_trades)

Retrieve trade history from Polymarket

Input
ParameterTypeRequiredDescription
userstringNoUser wallet address to filter trades
marketstringNoMarket ID to filter trades
limitstringNoNumber of results per page (max 50)
offsetstringNoPagination offset (skip this many results)
Output

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