List Markets
curl --request GET \
--url https://api.totalis.trade/markets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.totalis.trade/markets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.totalis.trade/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.totalis.trade/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.totalis.trade/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.totalis.trade/markets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.totalis.trade/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"events": [
{
"event_ticker": "<string>",
"series_ticker": "<string>",
"category": "<string>",
"total_markets": 123,
"markets": [
{
"ticker": "<string>",
"event_ticker": "<string>",
"series_ticker": "<string>",
"title": "<string>",
"subtitle": "<string>",
"yes_sub_title": "<string>",
"no_sub_title": "<string>",
"bet_group": "<string>",
"category": "<string>",
"subcategory": "<string>",
"frequency": "<string>",
"venue": "kalshi",
"status": "<string>",
"yes_bid": 123,
"yes_ask": 123,
"no_bid": 123,
"no_ask": 123,
"last_price": 123,
"price_to_beat": 123,
"volume": 123,
"volume_24h": 123,
"open_interest": 123,
"venue_url": "<string>",
"open_time": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"expiration_time": "2023-11-07T05:31:56Z",
"exclusion_keys": [
"<string>"
]
}
],
"series_title": "<string>",
"event_title": "<string>",
"event_sub_title": "<string>",
"image_url": "<string>"
}
]
},
"meta": {
"cursor": "<string>",
"has_more": true,
"limit": 123,
"offset": 123,
"total": 123,
"total_events": 123,
"available_subcategories": [
"nba"
],
"available_frequencies": [
"daily"
]
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>",
"details": {},
"retry_after": 123
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>",
"details": {},
"retry_after": 123
}
}Markets
List markets
List active Kalshi and Polymarket markets, grouped by event, with filters for category, subcategory, frequency, date window, and full-text search.
GET
/
markets
List Markets
curl --request GET \
--url https://api.totalis.trade/markets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.totalis.trade/markets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.totalis.trade/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.totalis.trade/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.totalis.trade/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.totalis.trade/markets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.totalis.trade/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"events": [
{
"event_ticker": "<string>",
"series_ticker": "<string>",
"category": "<string>",
"total_markets": 123,
"markets": [
{
"ticker": "<string>",
"event_ticker": "<string>",
"series_ticker": "<string>",
"title": "<string>",
"subtitle": "<string>",
"yes_sub_title": "<string>",
"no_sub_title": "<string>",
"bet_group": "<string>",
"category": "<string>",
"subcategory": "<string>",
"frequency": "<string>",
"venue": "kalshi",
"status": "<string>",
"yes_bid": 123,
"yes_ask": 123,
"no_bid": 123,
"no_ask": 123,
"last_price": 123,
"price_to_beat": 123,
"volume": 123,
"volume_24h": 123,
"open_interest": 123,
"venue_url": "<string>",
"open_time": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"expiration_time": "2023-11-07T05:31:56Z",
"exclusion_keys": [
"<string>"
]
}
],
"series_title": "<string>",
"event_title": "<string>",
"event_sub_title": "<string>",
"image_url": "<string>"
}
]
},
"meta": {
"cursor": "<string>",
"has_more": true,
"limit": 123,
"offset": 123,
"total": 123,
"total_events": 123,
"available_subcategories": [
"nba"
],
"available_frequencies": [
"daily"
]
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>",
"details": {},
"retry_after": 123
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>",
"details": {},
"retry_after": 123
}
}Building parlays. Every market carries an
exclusion_keys array. Two
markets cannot share a parlay if and only if their exclusion_keys
intersect. A plain set-intersection check is all you need, with no
correlation rule tables to maintain client-side. The keys encode every rule:
cross-series groups, threshold ladders, same-game sports correlation, and
Polymarket sub-events.Authorizations
Query Parameters
Filter events by subcategory. Valid values depend on the selected category (requires category to also be set).
Subcategory wire format (lowercase snake_case). Valid values depend on the selected category and are enforced server-side.
Available options:
nba, ncaa, nfl, nhl, mlb, ufc, lol, epl, efl, la_liga, world_cup, bundesliga, liga_portugal, ligue_1, f1, ipl, btc, eth, sol, stocks, indices, etfs, earnings, rates, inflation, commodities, fx, jobs, ai, companies, other Was this page helpful?

