Skip to main content
GET
/
2
/
pm
/
market
/
book
Get prediction market live orderbook
curl --request GET \
  --url https://demo-api.mobula.io/api/2/pm/market/book
{
  "data": {
    "bids": [
      {
        "priceUSD": 123,
        "sizeToken": 123
      }
    ],
    "asks": [
      {
        "priceUSD": 123,
        "sizeToken": 123
      }
    ]
  },
  "hostname": "<string>",
  "took": 123
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Query Parameters

platform
string
required
marketId
string
outcomeId
string
required

Response

200 - application/json

Current order book

data
object
hostname
string
took
number