Tatum Prediction Markets
tatum_prediction_marketsAccess Tatum's read-only Prediction API for cross-platform Polymarket and Kalshi events, markets, prices, order books, price history, and trades, plus Polymarket-only positions, wallet analytics, leaderboards, and entity search.
Acciones disponibles (18)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Prediction EventTATUM_PREDICTION_MARKETS_GET_EVENTAcciónGet one Polymarket or Kalshi event by its platform-native event ID, optionally including full market objects.
TATUM_PREDICTION_MARKETS_GET_EVENTAcciónGet one Polymarket or Kalshi event by its platform-native event ID, optionally including full market objects.
Parámetros de entrada
event_idstringObligatorioPolymarket numeric event ID or Kalshi uppercase event ticker.
include_marketsbooleanInclude full market objects. When false, the API can still return native market ID strings.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prediction MarketTATUM_PREDICTION_MARKETS_GET_MARKETAcciónGet full metadata and current outcome prices for one Polymarket or Kalshi market by its platform-native market ID.
TATUM_PREDICTION_MARKETS_GET_MARKETAcciónGet full metadata and current outcome prices for one Polymarket or Kalshi market by its platform-native market ID.
Parámetros de entrada
market_idstringObligatorioPolymarket 0x-prefixed condition ID or Kalshi uppercase market ticker.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Market OrderbookTATUM_PREDICTION_MARKETS_GET_MARKET_ORDERBOOKAcciónGet bid and ask levels for the YES or NO side of one Polymarket or Kalshi market.
TATUM_PREDICTION_MARKETS_GET_MARKET_ORDERBOOKAcciónGet bid and ask levels for the YES or NO side of one Polymarket or Kalshi market.
Parámetros de entrada
sidestringObligatorioenumOutcome side whose bid and ask levels to return.
yesnodepthintegerMaximum bid levels and ask levels to return (1-100); this is depth, not pagination.
market_idstringObligatorioPolymarket condition ID or Kalshi market ticker returned by market discovery.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Market PriceTATUM_PREDICTION_MARKETS_GET_MARKET_PRICEAcciónGet the latest YES and NO prices, best bid and ask, spread, and recent-trade summary for one Polymarket or Kalshi market.
TATUM_PREDICTION_MARKETS_GET_MARKET_PRICEAcciónGet the latest YES and NO prices, best bid and ask, spread, and recent-trade summary for one Polymarket or Kalshi market.
Parámetros de entrada
market_idstringObligatorioPolymarket condition ID or Kalshi market ticker returned by market discovery.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Market Price HistoryTATUM_PREDICTION_MARKETS_GET_MARKET_PRICE_HISTORYAcciónGet OHLC price candles for one Polymarket or Kalshi market over a bounded time window; midpoint source is Polymarket-only.
TATUM_PREDICTION_MARKETS_GET_MARKET_PRICE_HISTORYAcciónGet OHLC price candles for one Polymarket or Kalshi market over a bounded time window; midpoint source is Polymarket-only.
Parámetros de entrada
endstringObligatoriodate-timeEnd of the history window as an ISO 8601 timestamp; must be later than start.
startstringObligatoriodate-timeInclusive start of the history window as an ISO 8601 timestamp.
sourcestringenumPrice source; midpoint is Polymarket-only and reports candle volume as zero.
candlesticksmidpointintervalstringObligatorioenumCandle duration.
1m5m15m1h4h1d1wmarket_idstringObligatorioPolymarket condition ID or Kalshi market ticker returned by market discovery.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Polymarket Wallet Markets TradedTATUM_PREDICTION_MARKETS_GET_WALLET_MARKETS_TRADEDAcciónGet the lifetime number of distinct Polymarket markets an EVM wallet has traded. This Polymarket-only metric counts markets, not individual trades; Kalshi and other non-EVM wallet identifiers are not supported.
TATUM_PREDICTION_MARKETS_GET_WALLET_MARKETS_TRADEDAcciónGet the lifetime number of distinct Polymarket markets an EVM wallet has traded. This Polymarket-only metric counts markets, not individual trades; Kalshi and other non-EVM wallet identifiers are not supported.
Parámetros de entrada
addressstringObligatorioPolymarket EVM wallet address: 0x followed by exactly 40 hexadecimal characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Polymarket Wallet PortfolioTATUM_PREDICTION_MARKETS_GET_WALLET_PORTFOLIOAcciónGet a Polymarket-only wallet portfolio summary with live open-position metrics and period-based closed-position aggregates. Kalshi and other non-EVM wallet identifiers are not supported.
TATUM_PREDICTION_MARKETS_GET_WALLET_PORTFOLIOAcciónGet a Polymarket-only wallet portfolio summary with live open-position metrics and period-based closed-position aggregates. Kalshi and other non-EVM wallet identifiers are not supported.
Parámetros de entrada
periodstringenumLookback for total PnL and settlement counts; all-time by default.
24h7d30dalladdressstringObligatorioPolymarket wallet address: 0x followed by exactly 40 hexadecimal characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Polymarket Wallet ValueTATUM_PREDICTION_MARKETS_GET_WALLET_VALUEAcciónGet the total USD notional of currently open positions for a Polymarket EVM wallet, optionally limited to selected Polymarket condition IDs. This action is Polymarket-only; Kalshi and other non-EVM wallets are unsupported.
TATUM_PREDICTION_MARKETS_GET_WALLET_VALUEAcciónGet the total USD notional of currently open positions for a Polymarket EVM wallet, optionally limited to selected Polymarket condition IDs. This action is Polymarket-only; Kalshi and other non-EVM wallets are unsupported.
Parámetros de entrada
marketstring[]Polymarket condition IDs to include, up to 50; omit for the wallet-wide open-position notional.
addressstringObligatorioPolymarket EVM wallet address (0x followed by exactly 40 hexadecimal characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Prediction EventsTATUM_PREDICTION_MARKETS_LIST_EVENTSAcciónList one page of prediction-market events from Polymarket or Kalshi, optionally including their markets; Polymarket-only filters require platform=polymarket.
TATUM_PREDICTION_MARKETS_LIST_EVENTSAcciónList one page of prediction-market events from Polymarket or Kalshi, optionally including their markets; Polymarket-only filters require platform=polymarket.
Parámetros de entrada
tagstringFilter Polymarket events by tag; requires platform=polymarket.
sortstringenumSort events by volume, liquidity, soonest ending time, or newest first.
volume_descliquidity_descendingSoonnewestlimitintegerMaximum events to return in this page (1-100).
searchstringSearch Polymarket event titles; requires platform=polymarket.
statusstringenumFilter Polymarket events by status; requires platform=polymarket.
activeclosedresolvedcategorystringFilter Polymarket events by category; requires platform=polymarket.
platformstringenumReturn events from this platform; omit to include both platforms.
polymarketkalshinext_cursorstringOpaque continuation token from a previous response; reuse it without changing filters.
include_marketsbooleanInclude full market objects in each event; responses can be large.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Market PositionsTATUM_PREDICTION_MARKETS_LIST_MARKET_POSITIONSAcciónList Polymarket holders for each outcome of a market, with wallet and lifecycle filters, configurable ordering, and per-outcome offset pagination.
TATUM_PREDICTION_MARKETS_LIST_MARKET_POSITIONSAcciónList Polymarket holders for each outcome of a market, with wallet and lifecycle filters, configurable ordering, and per-outcome offset pagination.
Parámetros de entrada
userstringReturn positions for this holder wallet only (0x followed by 40 hexadecimal characters).
limitintegerMaximum holders returned per outcome group (1-500).
offsetintegerStarting holder offset per outcome group (0-10000).
statusstringenumPosition lifecycle state: OPEN, CLOSED, or ALL.
OPENCLOSEDALLsort_bystringenumMetric used to order holders inside each outcome group.
TOKENSCASH_PNLREALIZED_PNLTOTAL_PNLmarket_idstringObligatorioPolymarket condition ID (0x followed by 64 hexadecimal characters).
sort_directionstringenumSort direction within each outcome group.
ASCDESC
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Prediction MarketsTATUM_PREDICTION_MARKETS_LIST_MARKETSAcciónList one page of prediction markets from Polymarket or Kalshi with platform, event, timing, and liquidity filters; Polymarket-only filters require platform=polymarket.
TATUM_PREDICTION_MARKETS_LIST_MARKETSAcciónList one page of prediction markets from Polymarket or Kalshi with platform, event, timing, and liquidity filters; Polymarket-only filters require platform=polymarket.
Parámetros de entrada
tagstringFilter Polymarket markets by tag; requires platform=polymarket.
sortstringenumSort markets by volume, liquidity, soonest ending time, or newest first.
volume_descliquidity_descendingSoonnewestlimitintegerMaximum markets to return in this page (1-100).
searchstringSearch Polymarket market questions; requires platform=polymarket.
statusstringenumFilter Polymarket markets by status; requires platform=polymarket.
activeclosedresolvedcategorystringFilter Polymarket markets by category; requires platform=polymarket.
event_idstringReturn markets belonging to this Polymarket numeric event ID or Kalshi event ticker.
platformstringenumReturn markets from this platform; omit to include both platforms.
polymarketkalshimin_volumenumberMinimum Polymarket trading volume; requires platform=polymarket.
next_cursorstringOpaque continuation token returned by a previous call; reuse it without changing filters.
ending_beforestringdate-timeReturn markets closing before this ISO 8601 timestamp.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Market TradesTATUM_PREDICTION_MARKETS_LIST_MARKET_TRADESAcciónList one page of recent trade fills for a Polymarket or Kalshi market; optional time bounds are supported only for Kalshi.
TATUM_PREDICTION_MARKETS_LIST_MARKET_TRADESAcciónList one page of recent trade fills for a Polymarket or Kalshi market; optional time bounds are supported only for Kalshi.
Parámetros de entrada
afterstringdate-timeInclusive lower trade-time bound as an ISO 8601 timestamp; supported only for Kalshi markets.
limitintegerMaximum trades to return in this page (1-100).
beforestringdate-timeInclusive upper trade-time bound as an ISO 8601 timestamp; supported only for Kalshi and must be later than after.
market_idstringObligatorioPolymarket 0x-prefixed condition ID or Kalshi uppercase market ticker returned by market discovery.
next_cursorstringOpaque continuation token returned by a previous call; reuse it without changing the market, time filters, or limit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Top TradersTATUM_PREDICTION_MARKETS_LIST_TOP_TRADERSAcciónList one offset-controlled page of the Polymarket top-traders leaderboard, ranked by profit and loss or trading volume for a category and lookback window.
TATUM_PREDICTION_MARKETS_LIST_TOP_TRADERSAcciónList one offset-controlled page of the Polymarket top-traders leaderboard, ranked by profit and loss or trading volume for a category and lookback window.
Parámetros de entrada
userstringReturn the rank for this Polymarket wallet only (0x followed by 40 hexadecimal characters). Protocol contract addresses are rejected by Polymarket.
limitintegerMaximum leaderboard rows to return in this page (1-50).
offsetintegerNumber of leaderboard rows to skip (0-1000). Pass next_offset from the previous response to continue when it is not null.
categorystringenumPolymarket leaderboard category slice.
OVERALLPOLITICSSPORTSCRYPTOCULTUREMENTIONSWEATHERECONOMICSTECHFINANCEorder_bystringenumRanking metric: PNL for realized plus unrealized USD profit, or VOL for trading volume in shares.
PNLVOLuser_namestringCase-insensitive trader display-name substring. Polymarket searches the first 1000 leaderboard rows and up to 20 matching profiles.
time_periodstringenumLeaderboard lookback window.
DAYWEEKMONTHALL
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Wallet ActivityTATUM_PREDICTION_MARKETS_LIST_WALLET_ACTIVITYAcciónList one offset-controlled page of all Polymarket wallet events, including trades, token operations, rewards, rebates, and referrals, with market and Unix-time filters.
TATUM_PREDICTION_MARKETS_LIST_WALLET_ACTIVITYAcciónList one offset-controlled page of all Polymarket wallet events, including trades, token operations, rewards, rebates, and referrals, with market and Unix-time filters.
Parámetros de entrada
endintegerInclusive upper event-time bound as Unix seconds; must be at least start.
sidestringenumReturn trade rows with this BUY or SELL direction; non-trade rows have no side.
BUYSELLlimitintegerMaximum activity rows to return in this page (1-500).
startintegerInclusive lower event-time bound as Unix seconds, not milliseconds.
marketstringComma-separated list of up to 50 Polymarket condition IDs; cannot be combined with event_id.
offsetintegerNumber of activity rows to skip (0-10000); pass next_offset from the previous response to continue.
addressstringObligatorioPolymarket wallet address as 0x followed by 40 hexadecimal characters.
sort_bystringenumActivity field used to sort the results.
TIMESTAMPTOKENSCASHevent_idstringComma-separated list of up to 50 numeric Polymarket event IDs; cannot be combined with market.
activity_typesstring[]Event types to include; accepts a list or comma-separated value containing 1-8 documented activity types.
sort_directionstringenumSort activities in ascending or descending order.
ASCDESC
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Wallet HistoryTATUM_PREDICTION_MARKETS_LIST_WALLET_HISTORYAcciónList one offset-based page of closed and resolved positions for a Polymarket wallet, including realized PnL and settlement metadata.
TATUM_PREDICTION_MARKETS_LIST_WALLET_HISTORYAcciónList one offset-based page of closed and resolved positions for a Polymarket wallet, including realized PnL and settlement metadata.
Parámetros de entrada
limitintegerMaximum closed positions to return in this page (1-50).
titlestringReturn positions whose market question contains this substring.
marketstringComma-separated Polymarket condition IDs, up to 50; cannot be combined with event_id.
offsetintegerNumber of closed positions to skip (0-100000).
addressstringObligatorioPolymarket wallet address as 0x followed by 40 hexadecimal characters.
sort_bystringenumField used to sort closed positions.
REALIZEDPNLTITLEPRICEAVGPRICETIMESTAMPevent_idstringComma-separated Polymarket numeric event IDs, up to 50; cannot be combined with market.
sort_directionstringenumAscending or descending result order.
ASCDESC
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Wallet PositionsTATUM_PREDICTION_MARKETS_LIST_WALLET_POSITIONSAcciónList one offset-controlled page of current open positions for a Polymarket EVM wallet, with market filters, values, and realized and unrealized PnL.
TATUM_PREDICTION_MARKETS_LIST_WALLET_POSITIONSAcciónList one offset-controlled page of current open positions for a Polymarket EVM wallet, with market filters, values, and realized and unrealized PnL.
Parámetros de entrada
limitintegerMaximum positions to return in this page (1-500).
titlestringReturn positions whose market question contains this substring.
marketstringComma-separated list of up to 50 Polymarket condition IDs (0x followed by 64 hexadecimal characters); cannot be combined with event_id.
offsetintegerZero-based number of positions to skip (0-10000); pass next_offset from the previous response to continue.
addressstringObligatorioPolymarket EVM wallet address (0x followed by 40 hexadecimal characters).
sort_bystringenumPosition field used to sort the results.
CURRENTINITIALTOKENSCASHPNLPERCENTPNLTITLERESOLVINGPRICEAVGPRICEevent_idstringComma-separated list of up to 50 numeric Polymarket event IDs; cannot be combined with market.
mergeablebooleanReturn only positions eligible to be merged back to USDC.
redeemablebooleanReturn only won positions on resolved markets that have not been redeemed.
size_thresholdnumberMinimum position size to include; holdings below 0.1 shares are never returned.
sort_directionstringenumSort positions in ascending or descending order.
ASCDESC
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Wallet TradesTATUM_PREDICTION_MARKETS_LIST_WALLET_TRADESAcciónList one offset-controlled page of Polymarket wallet trade fills, with trade direction, market and outcome metadata, and optional profile fields.
TATUM_PREDICTION_MARKETS_LIST_WALLET_TRADESAcciónList one offset-controlled page of Polymarket wallet trade fills, with trade direction, market and outcome metadata, and optional profile fields.
Parámetros de entrada
sidestringenumReturn only BUY or SELL trade fills.
BUYSELLlimitintegerMaximum trades to return in this page (1-10000).
marketstringComma-separated list of up to 50 Polymarket condition IDs (0x followed by 64 hexadecimal characters); cannot be combined with event_id.
offsetintegerZero-based number of trades to skip (0-10000); only the first 10000 result rows are served.
addressstringObligatorioPolymarket wallet address (0x followed by exactly 40 hexadecimal characters).
event_idstringComma-separated list of up to 50 numeric Polymarket event IDs; cannot be combined with market.
taker_onlybooleanReturn only taker-side fills; set false to include maker-side fills.
filter_typestringenumMinimum-size unit: CASH for USDC notional or TOKENS for outcome-token count; requires filter_amount.
CASHTOKENSfilter_amountnumberMinimum trade size interpreted using filter_type; requires filter_type.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Polymarket EntitiesTATUM_PREDICTION_MARKETS_SEARCH_ENTITIESAcciónSearch Polymarket-only events, tags, and trader profiles in one request. This action does not search Kalshi or other prediction platforms.
TATUM_PREDICTION_MARKETS_SEARCH_ENTITIESAcciónSearch Polymarket-only events, tags, and trader profiles in one request. This action does not search Kalshi or other prediction platforms.
Parámetros de entrada
pageinteger1-indexed result page (1-1000). Pass next_page from the previous response to continue when it is not null.
querystringObligatorioSearch text. Must contain between 2 and 128 characters.
ascendingbooleanWhether sort_fields are ordered ascending (true) or descending (false); omit to retain the provider default direction.
events_tagstring[]Up to 50 Polymarket tag slugs used to filter the events branch.
search_tagsbooleanWhether to populate the tags branch.
sort_fieldsstringProvider event field names used to sort results, supplied as a comma-separated string. The provider does not publish an enum of accepted field names.
event_statusstringEvent status used to filter the events branch. The provider does not publish an enum of accepted status values.
limit_per_typeintegerMaximum results returned for each event, tag, and profile branch (1-50).
search_profilesbooleanWhether to populate the trader profiles branch.
keep_closed_marketsbooleanInclude closed markets; omit to retain the upstream default behavior.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not