Get one market's metadata
Returns the full metadata document for a single market. Rate-limit bucket: LIGHT.
Provider is resolved case-insensitively against the registry (aliases such as kalshi_offchain → kalshi and dome → polymarket are accepted and normalized before the lookup).
Response is ETagged (strong ETag) with a Cache-Control header; a matching If-None-Match returns 304. Responses ≥1KB are gzip-compressed when the client sends Accept-Encoding: gzip.
curl --request GET \
--url https://md.kairos.trade/v1/markets/{provider}/{market_id} \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-Secret: <api-key>' \
--header 'X-Client-Id: <api-key>'import requests
url = "https://md.kairos.trade/v1/markets/{provider}/{market_id}"
headers = {
"X-Client-Id": "<api-key>",
"X-Api-Key": "<api-key>",
"X-Api-Secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Client-Id': '<api-key>',
'X-Api-Key': '<api-key>',
'X-Api-Secret': '<api-key>'
}
};
fetch('https://md.kairos.trade/v1/markets/{provider}/{market_id}', 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://md.kairos.trade/v1/markets/{provider}/{market_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>",
"X-Api-Secret: <api-key>",
"X-Client-Id: <api-key>"
],
]);
$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://md.kairos.trade/v1/markets/{provider}/{market_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-Id", "<api-key>")
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Api-Secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://md.kairos.trade/v1/markets/{provider}/{market_id}")
.header("X-Client-Id", "<api-key>")
.header("X-Api-Key", "<api-key>")
.header("X-Api-Secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://md.kairos.trade/v1/markets/{provider}/{market_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-Id"] = '<api-key>'
request["X-Api-Key"] = '<api-key>'
request["X-Api-Secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"exchange_id": "polymarket",
"market_id": "1897040",
"condition_id": "0xabc123...",
"event_id": "evt-4521",
"title": "Will BTC close above $120k on July 31?",
"neg_risk": false,
"tick_size": 0.01,
"taker_base_fee_bps": 200,
"fees_enabled": true,
"category": "Crypto",
"group_slug": "btc-price-2026",
"fee_type": "standard",
"status": "active",
"image": "https://cdn.kairos.trade/markets/1897040.png",
"icon": "https://cdn.kairos.trade/markets/1897040-icon.png",
"end_date": "2026-07-31T23:59:59Z",
"open_time": "2026-01-01T00:00:00Z",
"outcomes": [
{
"outcome": "Yes",
"normalized_outcome": "yes",
"token_id": "18812649149814341758733697580460697418474693998558159483117"
},
{
"outcome": "No",
"normalized_outcome": "no",
"token_id": "88123409981238091823740918237409182734091823740918237409182"
}
],
"raw": {}
}{
"error": {
"code": "invalid_request",
"message": "unknown provider \"coinbase\""
}
}{
"error": {
"code": "unauthorized",
"message": "valid X-Client-Id, X-Api-Key, and X-Api-Secret headers are required"
}
}{
"error": {
"code": "ip_not_whitelisted",
"message": "source IP not in credential whitelist"
}
}{
"error": {
"code": "not_found",
"message": "market not found"
}
}{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded"
}
}{
"error": {
"code": "internal",
"message": "authentication backend unavailable"
}
}{
"error": {
"code": "upstream",
"message": "metadata cache request failed"
}
}{
"error": {
"code": "cache_cold",
"message": "metadata cache warming up, retry shortly"
}
}Authorizations
Credential client id (kairos_ck_...). Must be sent together with X-Api-Key and X-Api-Secret.
64-char hex API key. Must be sent together with X-Client-Id and X-Api-Secret.
64-char hex API secret. Must be sent together with X-Client-Id and X-Api-Key.
Path Parameters
Venue identifier. Case-insensitive; aliases are normalized (kalshi_offchain→kalshi, dome→polymarket). Unknown values are rejected with 400.
kalshi, polymarket, opinion, predictfun, hyperliquid, kalshi_offchain, dome Venue-specific market identifier (e.g. a Kalshi ticker, or a Polymarket/predict.fun numeric market id or condition id).
Response
Market metadata document.
Full market metadata document. Resolution-state fields (resolution_status, payout_numerators, resolved_ts, proposed_price, challenge_window_ends_at) are present in the payload only when set — the overwhelming majority of markets are unresolved and omit all five.
Canonical provider name.
"polymarket"
"1897040"
On-chain condition id for CTF venues; empty string for kalshi.
"0xabc123..."
Grouping event id (multi-market events); may be empty.
"evt-4521"
"Will BTC close above $120k on July 31?"
Whether this market is part of a Polymarket negative-risk group.
false
Show child attributes
Show child attributes
Full, unmodified provider-specific market document. Shape varies by provider. Treat as opaque/pass-through.
Minimum price increment (0, 1) exclusive.
0.01
200
"Crypto"
"btc-price-2026"
"standard"
Venue-reported market status, e.g. active/closed. Populated inconsistently across providers.
"active"
Display image URL.
Display icon URL.
ISO8601 UTC market end/close time.
"2026-07-31T23:59:59Z"
ISO8601 UTC market open/listing time.
"2026-01-01T00:00:00Z"
Present only when the market has resolution state.
"resolved"
Present only when non-empty (i.e. the market has resolved with a payout vector).
[1, 0]
ISO8601 UTC. Present only when set.
"2026-07-16T00:00:00Z"
Present only when set (a resolution price has been proposed).
1
ISO8601 UTC. Present only when set.
"2026-07-16T02:00:00Z"
Was this page helpful?
curl --request GET \
--url https://md.kairos.trade/v1/markets/{provider}/{market_id} \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-Secret: <api-key>' \
--header 'X-Client-Id: <api-key>'import requests
url = "https://md.kairos.trade/v1/markets/{provider}/{market_id}"
headers = {
"X-Client-Id": "<api-key>",
"X-Api-Key": "<api-key>",
"X-Api-Secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Client-Id': '<api-key>',
'X-Api-Key': '<api-key>',
'X-Api-Secret': '<api-key>'
}
};
fetch('https://md.kairos.trade/v1/markets/{provider}/{market_id}', 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://md.kairos.trade/v1/markets/{provider}/{market_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>",
"X-Api-Secret: <api-key>",
"X-Client-Id: <api-key>"
],
]);
$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://md.kairos.trade/v1/markets/{provider}/{market_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-Id", "<api-key>")
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Api-Secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://md.kairos.trade/v1/markets/{provider}/{market_id}")
.header("X-Client-Id", "<api-key>")
.header("X-Api-Key", "<api-key>")
.header("X-Api-Secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://md.kairos.trade/v1/markets/{provider}/{market_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-Id"] = '<api-key>'
request["X-Api-Key"] = '<api-key>'
request["X-Api-Secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"exchange_id": "polymarket",
"market_id": "1897040",
"condition_id": "0xabc123...",
"event_id": "evt-4521",
"title": "Will BTC close above $120k on July 31?",
"neg_risk": false,
"tick_size": 0.01,
"taker_base_fee_bps": 200,
"fees_enabled": true,
"category": "Crypto",
"group_slug": "btc-price-2026",
"fee_type": "standard",
"status": "active",
"image": "https://cdn.kairos.trade/markets/1897040.png",
"icon": "https://cdn.kairos.trade/markets/1897040-icon.png",
"end_date": "2026-07-31T23:59:59Z",
"open_time": "2026-01-01T00:00:00Z",
"outcomes": [
{
"outcome": "Yes",
"normalized_outcome": "yes",
"token_id": "18812649149814341758733697580460697418474693998558159483117"
},
{
"outcome": "No",
"normalized_outcome": "no",
"token_id": "88123409981238091823740918237409182734091823740918237409182"
}
],
"raw": {}
}{
"error": {
"code": "invalid_request",
"message": "unknown provider \"coinbase\""
}
}{
"error": {
"code": "unauthorized",
"message": "valid X-Client-Id, X-Api-Key, and X-Api-Secret headers are required"
}
}{
"error": {
"code": "ip_not_whitelisted",
"message": "source IP not in credential whitelist"
}
}{
"error": {
"code": "not_found",
"message": "market not found"
}
}{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded"
}
}{
"error": {
"code": "internal",
"message": "authentication backend unavailable"
}
}{
"error": {
"code": "upstream",
"message": "metadata cache request failed"
}
}{
"error": {
"code": "cache_cold",
"message": "metadata cache warming up, retry shortly"
}
}
