Volver al catálogo

Tatum Prediction Markets

tatum_prediction_markets

Access 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
18
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Get one Polymarket or Kalshi event by its platform-native event ID, optionally including full market objects.

Parámetros de entrada

  • event_idstringObligatorio

    Polymarket numeric event ID or Kalshi uppercase event ticker.

  • include_marketsboolean

    Include full market objects. When false, the API can still return native market ID strings.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prediction MarketTATUM_PREDICTION_MARKETS_GET_MARKETAcción

Get full metadata and current outcome prices for one Polymarket or Kalshi market by its platform-native market ID.

Parámetros de entrada

  • market_idstringObligatorio

    Polymarket 0x-prefixed condition ID or Kalshi uppercase market ticker.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Market OrderbookTATUM_PREDICTION_MARKETS_GET_MARKET_ORDERBOOKAcción

Get bid and ask levels for the YES or NO side of one Polymarket or Kalshi market.

Parámetros de entrada

  • sidestringObligatorioenum

    Outcome side whose bid and ask levels to return.

    yesno
  • depthinteger

    Maximum bid levels and ask levels to return (1-100); this is depth, not pagination.

  • market_idstringObligatorio

    Polymarket condition ID or Kalshi market ticker returned by market discovery.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Market PriceTATUM_PREDICTION_MARKETS_GET_MARKET_PRICEAcción

Get 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_idstringObligatorio

    Polymarket condition ID or Kalshi market ticker returned by market discovery.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Market Price HistoryTATUM_PREDICTION_MARKETS_GET_MARKET_PRICE_HISTORYAcción

Get OHLC price candles for one Polymarket or Kalshi market over a bounded time window; midpoint source is Polymarket-only.

Parámetros de entrada

  • endstringObligatoriodate-time

    End of the history window as an ISO 8601 timestamp; must be later than start.

  • startstringObligatoriodate-time

    Inclusive start of the history window as an ISO 8601 timestamp.

  • sourcestringenum

    Price source; midpoint is Polymarket-only and reports candle volume as zero.

    candlesticksmidpoint
  • intervalstringObligatorioenum

    Candle duration.

    1m5m15m1h4h1d1w
  • market_idstringObligatorio

    Polymarket condition ID or Kalshi market ticker returned by market discovery.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Polymarket Wallet Markets TradedTATUM_PREDICTION_MARKETS_GET_WALLET_MARKETS_TRADEDAcción

Get 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

  • addressstringObligatorio

    Polymarket EVM wallet address: 0x followed by exactly 40 hexadecimal characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Polymarket Wallet PortfolioTATUM_PREDICTION_MARKETS_GET_WALLET_PORTFOLIOAcción

Get 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

  • periodstringenum

    Lookback for total PnL and settlement counts; all-time by default.

    24h7d30dall
  • addressstringObligatorio

    Polymarket wallet address: 0x followed by exactly 40 hexadecimal characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Polymarket Wallet ValueTATUM_PREDICTION_MARKETS_GET_WALLET_VALUEAcción

Get 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.

  • addressstringObligatorio

    Polymarket EVM wallet address (0x followed by exactly 40 hexadecimal characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Prediction EventsTATUM_PREDICTION_MARKETS_LIST_EVENTSAcción

List one page of prediction-market events from Polymarket or Kalshi, optionally including their markets; Polymarket-only filters require platform=polymarket.

Parámetros de entrada

  • tagstring

    Filter Polymarket events by tag; requires platform=polymarket.

  • sortstringenum

    Sort events by volume, liquidity, soonest ending time, or newest first.

    volume_descliquidity_descendingSoonnewest
  • limitinteger

    Maximum events to return in this page (1-100).

  • searchstring

    Search Polymarket event titles; requires platform=polymarket.

  • statusstringenum

    Filter Polymarket events by status; requires platform=polymarket.

    activeclosedresolved
  • categorystring

    Filter Polymarket events by category; requires platform=polymarket.

  • platformstringenum

    Return events from this platform; omit to include both platforms.

    polymarketkalshi
  • next_cursorstring

    Opaque continuation token from a previous response; reuse it without changing filters.

  • include_marketsboolean

    Include full market objects in each event; responses can be large.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Market PositionsTATUM_PREDICTION_MARKETS_LIST_MARKET_POSITIONSAcción

List Polymarket holders for each outcome of a market, with wallet and lifecycle filters, configurable ordering, and per-outcome offset pagination.

Parámetros de entrada

  • userstring

    Return positions for this holder wallet only (0x followed by 40 hexadecimal characters).

  • limitinteger

    Maximum holders returned per outcome group (1-500).

  • offsetinteger

    Starting holder offset per outcome group (0-10000).

  • statusstringenum

    Position lifecycle state: OPEN, CLOSED, or ALL.

    OPENCLOSEDALL
  • sort_bystringenum

    Metric used to order holders inside each outcome group.

    TOKENSCASH_PNLREALIZED_PNLTOTAL_PNL
  • market_idstringObligatorio

    Polymarket condition ID (0x followed by 64 hexadecimal characters).

  • sort_directionstringenum

    Sort direction within each outcome group.

    ASCDESC

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Prediction MarketsTATUM_PREDICTION_MARKETS_LIST_MARKETSAcción

List 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

  • tagstring

    Filter Polymarket markets by tag; requires platform=polymarket.

  • sortstringenum

    Sort markets by volume, liquidity, soonest ending time, or newest first.

    volume_descliquidity_descendingSoonnewest
  • limitinteger

    Maximum markets to return in this page (1-100).

  • searchstring

    Search Polymarket market questions; requires platform=polymarket.

  • statusstringenum

    Filter Polymarket markets by status; requires platform=polymarket.

    activeclosedresolved
  • categorystring

    Filter Polymarket markets by category; requires platform=polymarket.

  • event_idstring

    Return markets belonging to this Polymarket numeric event ID or Kalshi event ticker.

  • platformstringenum

    Return markets from this platform; omit to include both platforms.

    polymarketkalshi
  • min_volumenumber

    Minimum Polymarket trading volume; requires platform=polymarket.

  • next_cursorstring

    Opaque continuation token returned by a previous call; reuse it without changing filters.

  • ending_beforestringdate-time

    Return markets closing before this ISO 8601 timestamp.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Market TradesTATUM_PREDICTION_MARKETS_LIST_MARKET_TRADESAcción

List 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-time

    Inclusive lower trade-time bound as an ISO 8601 timestamp; supported only for Kalshi markets.

  • limitinteger

    Maximum trades to return in this page (1-100).

  • beforestringdate-time

    Inclusive upper trade-time bound as an ISO 8601 timestamp; supported only for Kalshi and must be later than after.

  • market_idstringObligatorio

    Polymarket 0x-prefixed condition ID or Kalshi uppercase market ticker returned by market discovery.

  • next_cursorstring

    Opaque continuation token returned by a previous call; reuse it without changing the market, time filters, or limit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Top TradersTATUM_PREDICTION_MARKETS_LIST_TOP_TRADERSAcción

List 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

  • userstring

    Return the rank for this Polymarket wallet only (0x followed by 40 hexadecimal characters). Protocol contract addresses are rejected by Polymarket.

  • limitinteger

    Maximum leaderboard rows to return in this page (1-50).

  • offsetinteger

    Number of leaderboard rows to skip (0-1000). Pass next_offset from the previous response to continue when it is not null.

  • categorystringenum

    Polymarket leaderboard category slice.

    OVERALLPOLITICSSPORTSCRYPTOCULTUREMENTIONSWEATHERECONOMICSTECHFINANCE
  • order_bystringenum

    Ranking metric: PNL for realized plus unrealized USD profit, or VOL for trading volume in shares.

    PNLVOL
  • user_namestring

    Case-insensitive trader display-name substring. Polymarket searches the first 1000 leaderboard rows and up to 20 matching profiles.

  • time_periodstringenum

    Leaderboard lookback window.

    DAYWEEKMONTHALL

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Wallet ActivityTATUM_PREDICTION_MARKETS_LIST_WALLET_ACTIVITYAcción

List 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

  • endinteger

    Inclusive upper event-time bound as Unix seconds; must be at least start.

  • sidestringenum

    Return trade rows with this BUY or SELL direction; non-trade rows have no side.

    BUYSELL
  • limitinteger

    Maximum activity rows to return in this page (1-500).

  • startinteger

    Inclusive lower event-time bound as Unix seconds, not milliseconds.

  • marketstring

    Comma-separated list of up to 50 Polymarket condition IDs; cannot be combined with event_id.

  • offsetinteger

    Number of activity rows to skip (0-10000); pass next_offset from the previous response to continue.

  • addressstringObligatorio

    Polymarket wallet address as 0x followed by 40 hexadecimal characters.

  • sort_bystringenum

    Activity field used to sort the results.

    TIMESTAMPTOKENSCASH
  • event_idstring

    Comma-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_directionstringenum

    Sort activities in ascending or descending order.

    ASCDESC

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Wallet HistoryTATUM_PREDICTION_MARKETS_LIST_WALLET_HISTORYAcción

List one offset-based page of closed and resolved positions for a Polymarket wallet, including realized PnL and settlement metadata.

Parámetros de entrada

  • limitinteger

    Maximum closed positions to return in this page (1-50).

  • titlestring

    Return positions whose market question contains this substring.

  • marketstring

    Comma-separated Polymarket condition IDs, up to 50; cannot be combined with event_id.

  • offsetinteger

    Number of closed positions to skip (0-100000).

  • addressstringObligatorio

    Polymarket wallet address as 0x followed by 40 hexadecimal characters.

  • sort_bystringenum

    Field used to sort closed positions.

    REALIZEDPNLTITLEPRICEAVGPRICETIMESTAMP
  • event_idstring

    Comma-separated Polymarket numeric event IDs, up to 50; cannot be combined with market.

  • sort_directionstringenum

    Ascending or descending result order.

    ASCDESC

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Wallet PositionsTATUM_PREDICTION_MARKETS_LIST_WALLET_POSITIONSAcción

List 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

  • limitinteger

    Maximum positions to return in this page (1-500).

  • titlestring

    Return positions whose market question contains this substring.

  • marketstring

    Comma-separated list of up to 50 Polymarket condition IDs (0x followed by 64 hexadecimal characters); cannot be combined with event_id.

  • offsetinteger

    Zero-based number of positions to skip (0-10000); pass next_offset from the previous response to continue.

  • addressstringObligatorio

    Polymarket EVM wallet address (0x followed by 40 hexadecimal characters).

  • sort_bystringenum

    Position field used to sort the results.

    CURRENTINITIALTOKENSCASHPNLPERCENTPNLTITLERESOLVINGPRICEAVGPRICE
  • event_idstring

    Comma-separated list of up to 50 numeric Polymarket event IDs; cannot be combined with market.

  • mergeableboolean

    Return only positions eligible to be merged back to USDC.

  • redeemableboolean

    Return only won positions on resolved markets that have not been redeemed.

  • size_thresholdnumber

    Minimum position size to include; holdings below 0.1 shares are never returned.

  • sort_directionstringenum

    Sort positions in ascending or descending order.

    ASCDESC

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Wallet TradesTATUM_PREDICTION_MARKETS_LIST_WALLET_TRADESAcción

List one offset-controlled page of Polymarket wallet trade fills, with trade direction, market and outcome metadata, and optional profile fields.

Parámetros de entrada

  • sidestringenum

    Return only BUY or SELL trade fills.

    BUYSELL
  • limitinteger

    Maximum trades to return in this page (1-10000).

  • marketstring

    Comma-separated list of up to 50 Polymarket condition IDs (0x followed by 64 hexadecimal characters); cannot be combined with event_id.

  • offsetinteger

    Zero-based number of trades to skip (0-10000); only the first 10000 result rows are served.

  • addressstringObligatorio

    Polymarket wallet address (0x followed by exactly 40 hexadecimal characters).

  • event_idstring

    Comma-separated list of up to 50 numeric Polymarket event IDs; cannot be combined with market.

  • taker_onlyboolean

    Return only taker-side fills; set false to include maker-side fills.

  • filter_typestringenum

    Minimum-size unit: CASH for USDC notional or TOKENS for outcome-token count; requires filter_amount.

    CASHTOKENS
  • filter_amountnumber

    Minimum trade size interpreted using filter_type; requires filter_type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Polymarket EntitiesTATUM_PREDICTION_MARKETS_SEARCH_ENTITIESAcción

Search Polymarket-only events, tags, and trader profiles in one request. This action does not search Kalshi or other prediction platforms.

Parámetros de entrada

  • pageinteger

    1-indexed result page (1-1000). Pass next_page from the previous response to continue when it is not null.

  • querystringObligatorio

    Search text. Must contain between 2 and 128 characters.

  • ascendingboolean

    Whether 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_tagsboolean

    Whether to populate the tags branch.

  • sort_fieldsstring

    Provider 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_statusstring

    Event status used to filter the events branch. The provider does not publish an enum of accepted status values.

  • limit_per_typeinteger

    Maximum results returned for each event, tag, and profile branch (1-50).

  • search_profilesboolean

    Whether to populate the trader profiles branch.

  • keep_closed_marketsboolean

    Include closed markets; omit to retain the upstream default behavior.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not