Polymarket Get Market logo

Catalog action Utility

Fetches Polymarket markets by condition ID, event/market slug, or event URL. Always returns a markets[] array (length 1 for single markets, length N for multi-market events), plus optional event metadata (eventId, title, slug, description) when the input resolves to an event. Each market includes question, outcomes, prices, CLOB token IDs, volume, and liquidity. Ideal for: market research, due diligence, price discovery, automated market monitoring, multi-market event routing.

At a Glance

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

Payload Schema

FieldTypeRequiredDescription
conditionIdstringNoThe condition ID of the market. Provide one of conditionId, slug, or marketUrl.
slugstringNoAn event slug (multi-market) or market slug (single market), e.g. 'bitcoin-above-100k-on-june-30'. Provide one of conditionId, slug, or marketUrl.
marketUrlstringNoA Polymarket event URL (e.g. https://polymarket.com/event/<slug>\). The slug is extracted automatically. Provide one of conditionId, slug, or marketUrl.

Result Schema

FieldTypeRequiredDescription
marketsarrayYesAlways-present list of markets. Length 1 for single-market lookups (conditionId or market-slug) and for single-market events; length N for multi-market events. Downstream references should use 'markets[i].<field>'.
marketCountnumberYesNumber of entries in 'markets[]'
eventIdstringNoPolymarket event ID (multi-market events only)
titlestringNoEvent title (multi-market events only)
slugstringNoEvent slug (multi-market events only)
descriptionstringNoEvent or market description
conditionIdstringNoDEPRECATED — use 'markets[0].conditionId'. Populated only for single-market responses.
questionstringNoDEPRECATED — use 'markets[0].question'. Populated only for single-market responses.
outcomesarrayNoDEPRECATED — use 'markets[0].outcomes'. Populated only for single-market responses.
outcomePricesarrayNoDEPRECATED — use 'markets[0].outcomePrices'. Populated only for single-market responses.
tokenIdsarrayNoDEPRECATED — use 'markets[0].tokenIds'. Populated only for single-market responses.
activebooleanNoDEPRECATED — use 'markets[0].active'. Populated only for single-market responses.
closedbooleanNoDEPRECATED — use 'markets[0].closed'. Populated only for single-market responses.
acceptingOrdersbooleanNoDEPRECATED — use 'markets[0].acceptingOrders'. Populated only for single-market responses.
negRiskbooleanNoDEPRECATED — use 'markets[0].negRisk'. Populated only for single-market responses.
volumenumberNoDEPRECATED — use 'markets[0].volume'. Populated only for single-market responses.
liquiditynumberNoDEPRECATED — use 'markets[0].liquidity'. Populated only for single-market responses.
startDatestringNoDEPRECATED — use 'markets[0].startDate'. Populated only for single-market responses.
endDatestringNoDEPRECATED — use 'markets[0].endDate'. Populated only for single-market responses.

Examples

json
{ "type": "polymarket-get-market", "payload": { "conditionId": "example-conditionId", "slug": "example-slug", "marketUrl": "https://example.com/webhook" }, "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.