Kalshi Perpetuals
Request a bounded Kalshi perpetual historical download by date range
Completed traded-price OHLC normalized to USD per underlying unit by dividing Kalshi’s per-contract prices by contract_size × underlying_multiplier. Raw scaling metadata is returned for auditability. Null closes and missing bars are not filled. Bounded backward time-window retrieval; maximum 20,000 intervals per date range and 5,000 returned rows. Market data is public; forecast execution still uses authenticated workspace authorization.
POST
/
market-data
/
perps
/
history
Request a bounded Kalshi perpetual historical download by date range
curl --request POST \
--url https://quantura.studio/api/market-data/perps/history \
--header 'Content-Type: application/json' \
--data '
{
"symbol": "KXBTCPERP",
"frequency": "1h",
"limit": 500,
"format": "json"
}
'import requests
url = "https://quantura.studio/api/market-data/perps/history"
payload = {
"symbol": "KXBTCPERP",
"frequency": "1h",
"limit": 500,
"format": "json"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({symbol: 'KXBTCPERP', frequency: '1h', limit: 500, format: 'json'})
};
fetch('https://quantura.studio/api/market-data/perps/history', 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://quantura.studio/api/market-data/perps/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'symbol' => 'KXBTCPERP',
'frequency' => '1h',
'limit' => 500,
'format' => 'json'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://quantura.studio/api/market-data/perps/history"
payload := strings.NewReader("{\n \"symbol\": \"KXBTCPERP\",\n \"frequency\": \"1h\",\n \"limit\": 500,\n \"format\": \"json\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://quantura.studio/api/market-data/perps/history")
.header("Content-Type", "application/json")
.body("{\n \"symbol\": \"KXBTCPERP\",\n \"frequency\": \"1h\",\n \"limit\": 500,\n \"format\": \"json\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/market-data/perps/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"symbol\": \"KXBTCPERP\",\n \"frequency\": \"1h\",\n \"limit\": 500,\n \"format\": \"json\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"provider": "kalshi_perps",
"symbol": "KXBTCPERP",
"frequency": "1min",
"rows": [
{
"timestamp": "2026-09-20T12:01:00Z",
"open": 81000,
"high": 82000,
"low": 80500,
"close": 81500,
"volume": 100
}
],
"count": 1,
"metadata": {
"field": "price.close / (contract_size * underlying_multiplier)",
"provider_field": "price.close",
"units": "USD per underlying unit",
"contract_size": 0.0001,
"underlying_multiplier": 1,
"timezone": "UTC",
"timestamp_convention": "end_period_ts",
"missing_intervals": "not_filled",
"redistribution_status": "review_required"
},
"warnings": []
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}Body
application/json
Pattern:
^KX[A-Z0-9]{1,36}PERP$Available options:
1min, 5min, 15min, 30min, 1h, 4h, 1D, 1W-MON, 1MS Required range:
1 <= x <= 5000Available options:
json, csv Response
Successful response (example)
The response is of type object.
⌘I
Request a bounded Kalshi perpetual historical download by date range
curl --request POST \
--url https://quantura.studio/api/market-data/perps/history \
--header 'Content-Type: application/json' \
--data '
{
"symbol": "KXBTCPERP",
"frequency": "1h",
"limit": 500,
"format": "json"
}
'import requests
url = "https://quantura.studio/api/market-data/perps/history"
payload = {
"symbol": "KXBTCPERP",
"frequency": "1h",
"limit": 500,
"format": "json"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({symbol: 'KXBTCPERP', frequency: '1h', limit: 500, format: 'json'})
};
fetch('https://quantura.studio/api/market-data/perps/history', 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://quantura.studio/api/market-data/perps/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'symbol' => 'KXBTCPERP',
'frequency' => '1h',
'limit' => 500,
'format' => 'json'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://quantura.studio/api/market-data/perps/history"
payload := strings.NewReader("{\n \"symbol\": \"KXBTCPERP\",\n \"frequency\": \"1h\",\n \"limit\": 500,\n \"format\": \"json\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://quantura.studio/api/market-data/perps/history")
.header("Content-Type", "application/json")
.body("{\n \"symbol\": \"KXBTCPERP\",\n \"frequency\": \"1h\",\n \"limit\": 500,\n \"format\": \"json\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/market-data/perps/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"symbol\": \"KXBTCPERP\",\n \"frequency\": \"1h\",\n \"limit\": 500,\n \"format\": \"json\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"provider": "kalshi_perps",
"symbol": "KXBTCPERP",
"frequency": "1min",
"rows": [
{
"timestamp": "2026-09-20T12:01:00Z",
"open": 81000,
"high": 82000,
"low": 80500,
"close": 81500,
"volume": 100
}
],
"count": 1,
"metadata": {
"field": "price.close / (contract_size * underlying_multiplier)",
"provider_field": "price.close",
"units": "USD per underlying unit",
"contract_size": 0.0001,
"underlying_multiplier": 1,
"timezone": "UTC",
"timestamp_convention": "end_period_ts",
"missing_intervals": "not_filled",
"redistribution_status": "review_required"
},
"warnings": []
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}