Solaris AISolaris AI FlowDocs
Node ReferenceData

Polymarket

Prediction market data, orderbooks, prices, and trade history via Polymarket.

View as Markdown

Polymarket is a leading prediction market platform. The Polymarket node provides market discovery, orderbook data, pricing, and trade history.

Prerequisites

No credential required. All operations use Polymarket's public APIs.

Operations

OperationDescriptionKey inputs
getMarketsList prediction marketssearchQuery, sortBy, limit
getEventsList prediction eventssearchQuery, limit
getMarketBySlugGet a market by its URL slugmarketSlug
getOrderBookGet orderbook for a tokentokenId
getPriceGet current price for a tokentokenId
getMidpointGet midpoint price for a tokentokenId
getPriceHistoryGet historical price datatokenId, interval
getActiveMarketsList currently active marketslimit

Configuration

FieldTypeRequiredDescription
tokenIdstringFor price/book opsPolymarket token ID
marketSlugstringFor getMarketBySlugMarket URL slug
searchQuerystringNoSearch keyword (max 200 chars)
sortBystringNoSort: Volume 24h, Volume 1w, Volume 1m, Liquidity, Start Date, or End Date
sortTypestringNoUses descending order for market search
sidestringNoOrder side: buy or sell
intervalstringNoPrice history interval: 1d, 1w, 1m, 3m, 6m, 1y, or all
limitnumberNoResults limit (default: 20, max: 100)

Price history uses a fixed 60-minute fidelity. Choose the interval in the node; there is no separate fidelity field in the UI.

Output

All operations return the standard envelope:

{
  "success": true,
  "operation": "getPrice",
  "data": { /* raw Polymarket response */ }
}

Reference fields downstream with the response name (default polymarketResponse), for example {polymarketResponse.data.price} for getPrice or {polymarketResponse.data[0].question} for getMarkets. The upstream Polymarket payload is always under .data.

Common use cases

  • Monitor election and crypto event prediction odds
  • Track price movements on specific outcome tokens
  • Combine with AI to generate prediction market analysis

Next steps

  • DFlow - Solana-native prediction markets
  • OpenRouter - AI analysis of market data

On this page