Skip to main content
POST
/
api
/
v1
/
markets
/
batch
Get multiple markets by tickers and/or mints
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>"
    }
  ]
}

Body

application/json
mints
string[] | null
tickers
string[] | null

Response

markets
object[]
required
cursor
integer | null
Required range: x >= 0