Solaris AISolaris AI FlowDocs
Node ReferenceDeFi

DFlow

Prediction market events, orderbooks, and trades via DFlow.

View as Markdown

DFlow is a prediction market protocol on Solana. The DFlow node provides event discovery, market data, orderbooks, candlesticks, and trade history.

Prerequisites

No credential required. All operations use DFlow's public API.

Operations

OperationDescriptionKey inputs
getEventsList prediction eventsstatus, limit
getEventGet details for a specific eventticker
searchEventsSearch events by keywordsearchQuery, limit
getMarketsList markets for an eventticker, limit
getMarketGet details for a specific marketticker
getMarketByMintLook up a market by token mintmintAddress
getOrderbookGet orderbook depth for a marketticker
getCandlesticksGet OHLCV data for a marketticker
getTradesGet recent trades for a marketticker, limit
getCategoriesList event categories(none)

Configuration

FieldTypeRequiredDescription
tickerstringFor most opsEvent or market ticker
mintAddressstringFor getMarketByMintToken mint address
searchQuerystringFor searchEventsSearch keyword (max 200 chars)
statusstringNoEvent status filter
limitnumberNoResults limit (default: 20, max: 50)

Output

All operations return the standard envelope:

{
  "success": true,
  "operation": "getEvents",
  "data": { /* raw DFlow response */ }
}

Reference fields downstream with the response name (default dflowResponse), for example {dflowResponse.data[0].ticker} for a list of events or {dflowResponse.data.outcomes[0].price} for getMarket.

Common use cases

  • Monitor prediction market odds for crypto events
  • Track orderbook depth and trade volume
  • Combine with AI to analyze event sentiment

Next steps

  • Polymarket - alternative prediction market data
  • Drift - perpetuals trading data

On this page