🤖 New: DFlow Agent CLI. Give your AI agent a Solana wallet and let it trade. Get started
curl --request GET \
--url https://dev-prediction-markets-api.dflow.net/api/v1/markets \
--header 'x-api-key: <api-key>'{
"markets": [
{
"accounts": {},
"canCloseEarly": true,
"closeTime": 1,
"eventTicker": "<string>",
"expirationTime": 1,
"fractionalTradingEnabled": true,
"marketType": "<string>",
"noSubTitle": "<string>",
"openInterest": 1,
"openTime": 1,
"result": "<string>",
"rulesPrimary": "<string>",
"status": "<string>",
"subtitle": "<string>",
"ticker": "<string>",
"title": "<string>",
"volume": 1,
"yesSubTitle": "<string>",
"earlyCloseCondition": "<string>",
"noAsk": "<string>",
"noBid": "<string>",
"openInterestFp": "<string>",
"rulesSecondary": "<string>",
"volume24hFp": "<string>",
"volumeFp": "<string>",
"yesAsk": "<string>",
"yesBid": "<string>"
}
],
"cursor": 1
}API reference for GET /api/v1/markets
curl --request GET \
--url https://dev-prediction-markets-api.dflow.net/api/v1/markets \
--header 'x-api-key: <api-key>'{
"markets": [
{
"accounts": {},
"canCloseEarly": true,
"closeTime": 1,
"eventTicker": "<string>",
"expirationTime": 1,
"fractionalTradingEnabled": true,
"marketType": "<string>",
"noSubTitle": "<string>",
"openInterest": 1,
"openTime": 1,
"result": "<string>",
"rulesPrimary": "<string>",
"status": "<string>",
"subtitle": "<string>",
"ticker": "<string>",
"title": "<string>",
"volume": 1,
"yesSubTitle": "<string>",
"earlyCloseCondition": "<string>",
"noAsk": "<string>",
"noBid": "<string>",
"openInterestFp": "<string>",
"rulesSecondary": "<string>",
"volume24hFp": "<string>",
"volumeFp": "<string>",
"yesAsk": "<string>",
"yesBid": "<string>"
}
],
"cursor": 1
}Documentation Index
Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Contact hello@dflow.net to obtain an API key.
Maximum number of markets to return
x >= 0Pagination offset (number of markets to skip)
x >= 0Filter markets that are initialized (have a corresponding market ledger)
Filter markets by status. Available options: initialized, active, inactive, closed, determined
Sort field. Available options: volume, volume24h, liquidity, openInterest
volume, volume24h, liquidity, openInterest, startDate