Kalshi Perpetuals
List all available Kalshi perpetual contracts and normalized spot-scale prices
GET
/
market-data
/
perps
/
markets
List all available Kalshi perpetual contracts and normalized spot-scale prices
curl --request GET \
--url https://quantura.studio/api/market-data/perps/marketsimport requests
url = "https://quantura.studio/api/market-data/perps/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://quantura.studio/api/market-data/perps/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://quantura.studio/api/market-data/perps/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://quantura.studio/api/market-data/perps/markets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://quantura.studio/api/market-data/perps/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/market-data/perps/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"provider": "kalshi_perps",
"markets": [
{
"resource_type": "perpetual_contract",
"symbol": "KXBTCPERP",
"name": "Bitcoin perpetual",
"asset_class": "perpetual",
"status": "active",
"contract_size": 0.0001,
"underlying_multiplier": 1,
"underlying_units_per_contract": 0.0001,
"unit": "USD per underlying unit",
"spot_reference_price": 81000,
"reference_contract_price": 8.1,
"available_granularities": [
"1min",
"5min",
"15min",
"30min",
"1h",
"4h",
"1D",
"1W-MON",
"1MS"
]
}
]
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}Response
Successful response (example)
The response is of type object.
⌘I
List all available Kalshi perpetual contracts and normalized spot-scale prices
curl --request GET \
--url https://quantura.studio/api/market-data/perps/marketsimport requests
url = "https://quantura.studio/api/market-data/perps/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://quantura.studio/api/market-data/perps/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://quantura.studio/api/market-data/perps/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://quantura.studio/api/market-data/perps/markets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://quantura.studio/api/market-data/perps/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/market-data/perps/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"provider": "kalshi_perps",
"markets": [
{
"resource_type": "perpetual_contract",
"symbol": "KXBTCPERP",
"name": "Bitcoin perpetual",
"asset_class": "perpetual",
"status": "active",
"contract_size": 0.0001,
"underlying_multiplier": 1,
"underlying_units_per_contract": 0.0001,
"unit": "USD per underlying unit",
"spot_reference_price": 81000,
"reference_contract_price": 8.1,
"available_granularities": [
"1min",
"5min",
"15min",
"30min",
"1h",
"4h",
"1D",
"1W-MON",
"1MS"
]
}
]
}{
"error": "perps_provider_unavailable",
"message": "Perpetual history is unavailable. No substitute prices were returned."
}