Hierarchy Overview
The prediction market structure follows this hierarchy:- Series - Collections of related events organized around a common theme
- Events - Real-world occurrences or questions that contain one or more markets
- Markets - Individual binary markets that traders interact with
When building discovery UIs, you’ll typically start by querying series or
events, then drill down to specific markets to access token addresses for
trading. See the Discover Prediction
Tokens guide for practical examples.
Series
A series is a collection of related events that share a common theme, category, or pattern. Events within a series typically:- Look at similar data for outcome determination
- Cover disjoint time periods (e.g., weekly earnings announcements, daily weather forecasts)
- Have no logical outcome dependency between events
Series Properties
Series include metadata such as:- Ticker: Unique identifier used to filter events (e.g.,
EARNINGS-Q1) - Title: Human-readable series name
- Category: Organizational category (e.g., “Finance”, “Technology”)
- Tags: Associated tags for filtering (e.g., “Earnings”, “Stocks”)
- Frequency: How often events in this series occur (e.g., “Daily”, “Weekly”)
Events
An event is a real-world occurrence or question that prediction markets are based on. Events are the primary unit that applications should interact with when building prediction market UIs. Events can contain:- Single Market Event (SMP): One market
- Group Market Event (GMP): Two or more related markets
Event Properties
Events include:- Ticker: Unique identifier for the event
- Title: Human-readable event name
- Subtitle: Additional context or description
- Series Ticker: Links the event to its parent series
- Markets: Array of markets associated with the event (when requested with
withNestedMarkets=true)
withNestedMarkets=true, you’ll receive the associated markets nested within each event response.
Markets
A market is the fundamental trading unit: a specific binary market that allows traders to bet on a particular outcome. Each market has two outcome tokens:- YES tokens: Represent a position that the outcome will occur
- NO tokens: Represent a position that the outcome will not occur
yesMint and noMint) that you use when trading through the DFlow Trade API.
Market Properties
Markets include:- Ticker: Unique identifier for the market
- Title: Market question or description
- Status: Current market status (e.g.,
active,initialized,settled) - Accounts: Object containing token addresses (
yesMint,noMint) keyed by settlement mint - Volume: Trading volume for the market
- Open Interest: Current open positions
- Timing: Open time, close time, and expiration time
Working with the Hierarchy
Discovery Flow
When building discovery UIs, you’ll typically follow this flow:- Start with Series or Categories: Query series by category or tags to find relevant themes
- Filter Events: Use series tickers to filter events, or query events directly with status filters
- Access Markets: Request events with
withNestedMarkets=trueto get market data including token addresses
Direct Market Access
You can also query markets directly by mint address or market ticker:- Use
/api/v1/markets/by-mint/{mint_address}to look up a market from any associated mint address - Use
/api/v1/marketsto query markets with various filters
Key Takeaways
- Series organize related events around common themes and categories
- Events are the primary interaction unit and can contain one or more markets
- Markets are the fundamental trading units with YES/NO outcome tokens
- Use the Events API with
withNestedMarkets=trueto efficiently discover markets - Market
accountsobjects contain the token addresses needed for trading
Related Resources
Discover Prediction Market Outcome Tokens
Learn how to use the Prediction Market Metadata API to discover markets and
access token addresses
Events API Reference
Complete reference for querying events and filtering by series, status, and
other parameters
Markets API Reference
Access market data, token addresses, pricing, and trading information
Series API Reference
Query series templates and filter by categories and tags