curl --request POST \
--url https://prediction-markets-api.dflow.net/api/v1/markets/batch \
--header 'Content-Type: application/json' \
--data '{
"mints": [
"<string>"
],
"tickers": [
"<string>"
]
}'{
"cursor": 1,
"markets": [
{
"accounts": {},
"canCloseEarly": true,
"closeTime": 1,
"earlyCloseCondition": "<string>",
"eventTicker": "<string>",
"expirationTime": 1,
"marketType": "<string>",
"noAsk": "<string>",
"noBid": "<string>",
"noSubTitle": "<string>",
"openInterest": 1,
"openTime": 1,
"result": "<string>",
"rulesPrimary": "<string>",
"rulesSecondary": "<string>",
"status": "<string>",
"subtitle": "<string>",
"ticker": "<string>",
"title": "<string>",
"volume": 1,
"yesAsk": "<string>",
"yesBid": "<string>",
"yesSubTitle": "<string>"
}
]
}Returns multiple markets by looking up a list of tickers and/or mint addresses. The results are capped at 100 markets maximum.
curl --request POST \
--url https://prediction-markets-api.dflow.net/api/v1/markets/batch \
--header 'Content-Type: application/json' \
--data '{
"mints": [
"<string>"
],
"tickers": [
"<string>"
]
}'{
"cursor": 1,
"markets": [
{
"accounts": {},
"canCloseEarly": true,
"closeTime": 1,
"earlyCloseCondition": "<string>",
"eventTicker": "<string>",
"expirationTime": 1,
"marketType": "<string>",
"noAsk": "<string>",
"noBid": "<string>",
"noSubTitle": "<string>",
"openInterest": 1,
"openTime": 1,
"result": "<string>",
"rulesPrimary": "<string>",
"rulesSecondary": "<string>",
"status": "<string>",
"subtitle": "<string>",
"ticker": "<string>",
"title": "<string>",
"volume": 1,
"yesAsk": "<string>",
"yesBid": "<string>",
"yesSubTitle": "<string>"
}
]
}