List prediction market event series
curl --request GET \
--url https://api.darvas.app/v1/prediction-markets/series \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prediction-markets/series"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/prediction-markets/series', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"series": [
{
"venue": "okx",
"series_id": "BTC_USD_DAILY",
"title": "BTC daily price range",
"category": "Crypto",
"frequency": "daily",
"underlying": "BTC-USD",
"settlement_method": "expiry_price",
"settlement_source": "OKX Index",
"close_early": false,
"market_count": null
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Prediction Markets
Prediction Market Event Series & Categories
Discover recurring prediction market event series, settlement rules and active category groups across Polymarket, Kalshi and OKX Event Contracts.
List prediction market event series
curl --request GET \
--url https://api.darvas.app/v1/prediction-markets/series \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prediction-markets/series"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/prediction-markets/series', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"series": [
{
"venue": "okx",
"series_id": "BTC_USD_DAILY",
"title": "BTC daily price range",
"category": "Crypto",
"frequency": "daily",
"underlying": "BTC-USD",
"settlement_method": "expiry_price",
"settlement_source": "OKX Index",
"close_early": false,
"market_count": null
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
This endpoint discovers event contract series and category groups across OKX Event Contracts, Polymarket, and Kalshi in oneseries list. Use it to inspect recurring OKX event series with their settlement rules and underlying indices, or to discover active category counts on Polymarket and Kalshi before querying individual contracts.
| Coverage | Details |
|---|---|
| Venues | venue accepts all (default), okx, polymarket, or kalshi |
| Filters | Optional case-insensitive category (such as Crypto, Economics, Politics) and query (matches title, series_id, or underlying) |
| Row limit | limit from 1 to 200 series entries (default 100) |
| Availability | With venue=all, partial venue failures still return series from reachable venues; 503 returns only if all requested venues fail |
| MCP tool | list_prediction_market_series on the data API MCP server |
Native OKX series versus venue category groups
Every row inseries uses the same ten-field schema, with venue-specific fields set to null where the venue does not publish them.
- OKX Event Contracts (
venue: "okx"). Entries come from OKX’s live event series catalog and populateseries_id(such asBTC_USD_DAILY),title,category,frequency(recurrence cadence such asdailyorweekly),underlying(reference asset or index such asBTC-USD),settlement_method,settlement_source, andclose_early(whether contracts can settle before expiry).market_countisnull. - Polymarket and Kalshi (
venue: "polymarket"or"kalshi"). Entries aggregate currently active contracts by category (using the 30-second market cache), sorted bymarket_countdescending then category name.series_iduses<venue>:<category-slug>(such aspolymarket:economics),market_countholds the active contract count, and OKX-specific settlement fields (frequency,underlying,settlement_method,settlement_source,close_early) returnnull. - Related endpoints. Read live YES/NO prices, spreads, and probabilities for contracts in these series at
/prediction-markets. Scan cross-venue Polymarket and Kalshi spreads at/prediction-markets/arbitrage.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
resp = requests.get(
"https://api.darvas.app/v1/prediction-markets/series",
headers=headers,
params={"venue": "okx", "query": "BTC", "limit": 20},
).json()
for item in resp["series"]:
print(item["series_id"], item["title"], "freq:", item["frequency"], "underlying:", item["underlying"], "source:", item["settlement_source"])
# Discover active prediction market series and categories across all three venues
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/prediction-markets/series?venue=all&category=Crypto&limit=50"
Authorizations
apiKeybearerKey