curl --request GET \
--url https://demo-api.mobula.io/api/2/pm/market/price{
"data": {
"marketId": "<string>",
"platform": "<string>",
"timestamp": 123,
"outcomes": [
{
"outcomeId": "<string>",
"priceUSD": 123,
"bestBidUSD": 123,
"bestAskUSD": 123,
"spreadUSD": 123,
"timestamp": 123
}
]
},
"hostname": "<string>",
"took": 123
}Get current prices for all outcomes of a prediction market, including bid/ask spread.
curl --request GET \
--url https://demo-api.mobula.io/api/2/pm/market/price{
"data": {
"marketId": "<string>",
"platform": "<string>",
"timestamp": 123,
"outcomes": [
{
"outcomeId": "<string>",
"priceUSD": 123,
"bestBidUSD": 123,
"bestAskUSD": 123,
"spreadUSD": 123,
"timestamp": 123
}
]
},
"hostname": "<string>",
"took": 123
}