Get full market metadata (rules, images, contract spec)
Returns the full metadata document for one market. Resolution order: (1) a fast cached-metadata path — for Polymarket, a cache hit derives status/category/images from the cached upstream payload; (2) on a miss, falls back to a live provider-API fetch (Kalshi ticker + event metadata for images; Polymarket; predict.fun) — this covers markets too new to be indexed yet (e.g. short-lived 15-minute crypto markets); (3) if the cache hit is non-null but carries empty resolution_rules (both primary and secondary blank), an extra provider-API call backfills resolution_rules (and description if also empty) without discarding the rest of the cached document. Only the cached-metadata path populates condition_id/event_id/contract.settlement_ts — the live provider-API fallback leaves those null. Finally, for polymarket/predictfun, a best-effort liquidity-rewards enrichment mutates extra in place (never blocks or fails the response): Polymarket sets extra.clobRewards ([{rewardsDailyRate}] or []), extra.rewardsMaxSpread, extra.rewardsMinSize; predict.fun sets extra.rewards.current (an active reward-window object, or null). 404 only if no source has the market at all.
curl --request GET \
--url https://data.kairos.trade/markets/metadataimport requests
url = "https://data.kairos.trade/markets/metadata"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/markets/metadata', 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://data.kairos.trade/markets/metadata",
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://data.kairos.trade/markets/metadata"
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://data.kairos.trade/markets/metadata")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/markets/metadata")
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{
"ticker": "<string>",
"provider": "<string>",
"name": "<string>",
"description": "<string>",
"resolution_rules": {
"primary": "<string>",
"secondary": "<string>",
"source": "<string>"
},
"contract": {
"tick_size": 123,
"min_price": 123,
"max_price": 123,
"lot_size": 123,
"quote_currency": "<string>",
"settlement_ts": "<string>",
"expires_at": "<string>"
},
"images": {
"icon": "<string>",
"banner": "<string>"
},
"ctf_neg_risk": false,
"extra": {},
"active": true,
"external_url": "<string>",
"condition_id": "<string>",
"event_id": "<string>",
"match_delay_ms": 1000
}{
"detail": "<string>"
}{
"detail": "Invalid API credentials"
}{
"detail": "Invite required"
}{
"detail": "Market not found: KXFOO-99"
}{
"detail": [
{}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}{
"detail": "Metadata fetch failed"
}Query Parameters
Response
Full market metadata.
Polymarket's matching delay in milliseconds, i.e. how long Polymarket holds an order before matching it. Sports markets hold every order for whole seconds (e.g. 1000 or 3000), and the value can change while a market trades, typically at game start; some crypto "Up or Down" markets hold taker orders for 250. When both apply, this is the longer one. 0 means no delay. null for non-Polymarket markets, for Polymarket markets whose delay Kairos has not observed yet, and when the response comes from a provider-API fallback.
x >= 01000
Was this page helpful?
curl --request GET \
--url https://data.kairos.trade/markets/metadataimport requests
url = "https://data.kairos.trade/markets/metadata"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/markets/metadata', 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://data.kairos.trade/markets/metadata",
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://data.kairos.trade/markets/metadata"
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://data.kairos.trade/markets/metadata")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/markets/metadata")
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{
"ticker": "<string>",
"provider": "<string>",
"name": "<string>",
"description": "<string>",
"resolution_rules": {
"primary": "<string>",
"secondary": "<string>",
"source": "<string>"
},
"contract": {
"tick_size": 123,
"min_price": 123,
"max_price": 123,
"lot_size": 123,
"quote_currency": "<string>",
"settlement_ts": "<string>",
"expires_at": "<string>"
},
"images": {
"icon": "<string>",
"banner": "<string>"
},
"ctf_neg_risk": false,
"extra": {},
"active": true,
"external_url": "<string>",
"condition_id": "<string>",
"event_id": "<string>",
"match_delay_ms": 1000
}{
"detail": "<string>"
}{
"detail": "Invalid API credentials"
}{
"detail": "Invite required"
}{
"detail": "Market not found: KXFOO-99"
}{
"detail": [
{}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}{
"detail": "Metadata fetch failed"
}
