Get Kalshi Market Date Range
curl --request GET \
--url https://api.entityml.com/api/v1/kalshi/market/date-range \
--header 'Authorization: <authorization>'import requests
url = "https://api.entityml.com/api/v1/kalshi/market/date-range"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.entityml.com/api/v1/kalshi/market/date-range', 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.entityml.com/api/v1/kalshi/market/date-range",
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: <authorization>"
],
]);
$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.entityml.com/api/v1/kalshi/market/date-range"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
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.entityml.com/api/v1/kalshi/market/date-range")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.entityml.com/api/v1/kalshi/market/date-range")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"market_ticker": "<string>",
"has_data": true,
"start_date": "<string>",
"end_date": "<string>",
"available_date_count": 123
}Kalshi
Get Kalshi Market Date Range
Return the stored date range for a Kalshi market ticker.
GET
/
api
/
v1
/
kalshi
/
market
/
date-range
Get Kalshi Market Date Range
curl --request GET \
--url https://api.entityml.com/api/v1/kalshi/market/date-range \
--header 'Authorization: <authorization>'import requests
url = "https://api.entityml.com/api/v1/kalshi/market/date-range"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.entityml.com/api/v1/kalshi/market/date-range', 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.entityml.com/api/v1/kalshi/market/date-range",
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: <authorization>"
],
]);
$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.entityml.com/api/v1/kalshi/market/date-range"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
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.entityml.com/api/v1/kalshi/market/date-range")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.entityml.com/api/v1/kalshi/market/date-range")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"market_ticker": "<string>",
"has_data": true,
"start_date": "<string>",
"end_date": "<string>",
"available_date_count": 123
}Request
Headers
string
required
Bearer token. Example:
Bearer YOUR_API_KEYQuery Parameters
string
required
The Kalshi market ticker. Values are normalized to uppercase.
Response
string
The normalized Kalshi market ticker.
boolean
Whether any stored data was found for the ticker.
string
Earliest stored date for this ticker, or
null if none exists.string
Latest stored date for this ticker, or
null if none exists.integer
Number of distinct stored dates found for the ticker.
Use this endpoint as the authoritative per-ticker stored-date check before requesting raw Kalshi data. It does not prove every date between
start_date and end_date is present, and it does not prove every payload field is complete. Kalshi has a known parser issue from 2026-03-31 through 2026-04-24 and a known storage ingestion gap from 2026-05-04 through 2026-05-11; see Data Quality.Example
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.entityml.com/api/v1/kalshi/market/date-range?ticker=KXBTC-26FEB2606-B60125"
import os
import requests
response = requests.get(
"https://api.entityml.com/api/v1/kalshi/market/date-range",
headers={"Authorization": f"Bearer {os.environ['ENTITY_API_KEY']}"},
params={"ticker": "KXBTC-26FEB2606-B60125"},
)
print(response.json())
Example response
{
"market_ticker": "KXBTC-26FEB2606-B60125",
"has_data": true,
"start_date": "2026-02-26",
"end_date": "2026-02-26",
"available_date_count": 1
}
⌘I