Polymarket Get Market Price logo

Catalog action Utility

Get current price data for a Polymarket token including midpoint, best bid/ask, spread, and last trade price. Supports single token (tokenId) or batch mode (tokenIds array) for multiple tokens in one call. Fetches multiple price points in parallel for comprehensive market view. Ideal for: price monitoring, trading signals, arbitrage detection, portfolio valuation.

At a Glance

FieldValue
Action IDpolymarket-get-market-price
CategoryUtility
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagspolymarket, price, market-data, read

Payload Schema

FieldTypeRequiredDescription
tokenIdstringNoThe token ID to get price data for (single token mode)
tokenIdsarrayNoArray of token IDs for batch price fetch

Result Schema

FieldTypeRequiredDescription
tokenIdstringNoThe token ID queried
midpointnumber | nullNoMidpoint price between best bid and ask
bestBidnumber | nullNoBest (highest) bid price
bestAsknumber | nullNoBest (lowest) ask price
spreadnumber | nullNoSpread between best bid and ask
lastTradePricenumber | nullNoPrice of the last trade
pricesarrayNoArray of price data for each token (batch mode)

Examples

json
{ "type": "polymarket-get-market-price", "payload": { "tokenId": "1", "tokenIds": "1" }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.