/v1/market
A single market with all contracts and odds
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/predictit-api/v1/market" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/predictit-api/v1/market", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/predictit-api/v1/market");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/predictit-api/v1/market",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"id": 7589,
"url": "https://www.predictit.org/markets/detail/7589/How-many-House-seats-will-Republicans-win-in-the-2026-midterm-election",
"name": "How many House seats will Republicans win in the 2026 midterm election?",
"note": "Prices are US dollars 0.00-1.00; a contract priced at 0.27 implies a 27% probability.",
"source": "PredictIt",
"status": "Open",
"contracts": [
{
"id": 28361,
"name": "192 or fewer",
"buy_no": 0.74,
"status": "Open",
"buy_yes": 0.27,
"sell_no": 0.73,
"end_date": null,
"sell_yes": 0.26,
"last_close": 0.26,
"last_trade": 0.26,
"implied_probability_pct": 26
},
{
"id": 28362,
"name": "193 to 197",
"buy_no": 0.91,
"status": "Open",
"buy_yes": 0.1,
"sell_no": 0.9,
"end_date": null,
"sell_yes": 0.09,
"last_close": 0.11,
"last_trade": 0.11,
"implied_probability_pct": 11
},
{
"id": 28369,
"name": "198 to 202",
"buy_no": 0.9,
"status": "Open",
"buy_yes": 0.11,
"sell_no": 0.89,
"end_date": null,
"sell_yes": 0.1,
"last_close": 0.1,
"last_trade": 0.1,
"implied_probability_pct": 10
},
{
"id": 28367,
"name": "203 to 207",
"buy_no": 0.88,
"status": "Open",
"buy_yes": 0.13,
"sell_no": 0.87,
"end_date": null,
"sell_yes": 0.12,
"last_close": 0.12,
"last_trade": 0.12,
"implied_probability_pct": 12
},
{
"id": 28366,
"name": "208 to 212",
"buy_no": 0.89,
"status": "Open",
"buy_yes": 0.12,
"sell_no": 0.88,
"end_date": null,
"sell_yes": 0.11,
"last_close": 0.11,
"last_trade": 0.11,
"implied_probability_pct": 11
},
{
"id": 28370,
"name": "213 to 217",
"buy_no": 0.89,
"status": "Open",
"buy_yes": 0.12,
"sell_no": 0.88,
"end_date": null,
"sell_yes": 0.11,
"last_close": 0.11,
"last_trade": 0.11,
"implied_probability_pct": 11
},
{
"id": 28368,
"name": "218 t
…