Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.
Query Parameters
The prediction market platform (e.g., polymarket).
The platform-specific market identifier.
Filter to a specific outcome. If omitted, returns prices for all outcomes.
Response
Price data for the market.
Timestamp of the price snapshot.
Array of outcome price objects.
Server hostname that handled the request.
Request processing time in milliseconds.
Usage Example
curl -X GET "https://api.mobula.io/api/2/pm/market/price?platform=polymarket&marketId=0x1234..."
Example Response
{
"data": {
"marketId": "0x1234...",
"platform": "polymarket",
"timestamp": 1709913600000,
"outcomes": [
{ "outcomeId": "71321...", "priceUSD": 0.35, "bestBidUSD": 0.34, "bestAskUSD": 0.36, "spreadUSD": 0.02, "timestamp": 1709913600000 },
{ "outcomeId": "71322...", "priceUSD": 0.65, "bestBidUSD": 0.64, "bestAskUSD": 0.66, "spreadUSD": 0.02, "timestamp": 1709913600000 }
]
},
"hostname": "api-node-1",
"took": 12
}