Current tick grids for up to 200 markets of one provider
The same resolution as GET /v1/markets/tick-size for up to 200 (contract_id, asset_id) pairs of ONE provider in one round trip. Polymarket token ids are read from the metadata cache in a single batch. Rate-limit bucket: LIGHT, flat cost of 1 unit. Not cached (Cache-Control: no-store).
results is positional — results[i] answers items[i] — and each entry is either a tick grid, the predictfun unsupported payload, or a per-item error carrying the same code the single route would have answered with (not_found, tick_unavailable, cache_cold, upstream), or timeout / cancelled for items not started before the 15s batch bound or the caller left. A batch where every item failed is still a 200; only request-level problems (bad body, unknown provider, an empty contract_id, more than 200 items, or a failed token prefetch) fail the whole call.
curl --request POST \
--url https://md.kairos.trade/v1/markets/tick-size/batch \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-Secret: <api-key>' \
--header 'X-Client-Id: <api-key>' \
--data '
{
"provider": "polymarket",
"items": [
{
"contract_id": "0xabc123",
"asset_id": "18812649149814341758733697580460697418474693998558159483117"
},
{
"contract_id": "0xdef456"
}
]
}
'import requests
url = "https://md.kairos.trade/v1/markets/tick-size/batch"
payload = {
"provider": "polymarket",
"items": [{
"contract_id": "0xabc123",
"asset_id": "18812649149814341758733697580460697418474693998558159483117"
}, { "contract_id": "0xdef456" }]
}
headers = {
"X-Client-Id": "<api-key>",
"X-Api-Key": "<api-key>",
"X-Api-Secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Client-Id': '<api-key>',
'X-Api-Key': '<api-key>',
'X-Api-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
provider: 'polymarket',
items: [
{
contract_id: '0xabc123',
asset_id: '18812649149814341758733697580460697418474693998558159483117'
},
{contract_id: '0xdef456'}
]
})
};
fetch('https://md.kairos.trade/v1/markets/tick-size/batch', 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/tick-size/batch",
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([
'provider' => 'polymarket',
'items' => [
[
'contract_id' => '0xabc123',
'asset_id' => '18812649149814341758733697580460697418474693998558159483117'
],
[
'contract_id' => '0xdef456'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://md.kairos.trade/v1/markets/tick-size/batch"
payload := strings.NewReader("{\n \"provider\": \"polymarket\",\n \"items\": [\n {\n \"contract_id\": \"0xabc123\",\n \"asset_id\": \"18812649149814341758733697580460697418474693998558159483117\"\n },\n {\n \"contract_id\": \"0xdef456\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Client-Id", "<api-key>")
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Api-Secret", "<api-key>")
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://md.kairos.trade/v1/markets/tick-size/batch")
.header("X-Client-Id", "<api-key>")
.header("X-Api-Key", "<api-key>")
.header("X-Api-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"provider\": \"polymarket\",\n \"items\": [\n {\n \"contract_id\": \"0xabc123\",\n \"asset_id\": \"18812649149814341758733697580460697418474693998558159483117\"\n },\n {\n \"contract_id\": \"0xdef456\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://md.kairos.trade/v1/markets/tick-size/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Client-Id"] = '<api-key>'
request["X-Api-Key"] = '<api-key>'
request["X-Api-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"provider\": \"polymarket\",\n \"items\": [\n {\n \"contract_id\": \"0xabc123\",\n \"asset_id\": \"18812649149814341758733697580460697418474693998558159483117\"\n },\n {\n \"contract_id\": \"0xdef456\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"provider": "polymarket",
"results": [
{
"provider": "polymarket",
"contract_id": "0xabc123",
"asset_id": "18812649149814341758733697580460697418474693998558159483117",
"ranges": [
{
"start": "0",
"end": "1",
"step": "0.001"
}
],
"min_tick": "0.001",
"source": "metadata_cache",
"synthetic": false,
"price_level_structure": null,
"as_of": "2026-09-18T12:00:00Z"
},
{
"contract_id": "0xdef456",
"asset_id": null,
"error": {
"code": "not_found",
"message": "market not found"
}
}
]
}{
"error": {
"code": "invalid_request",
"message": "items exceeds maximum 200"
}
}{
"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": "rate_limited",
"message": "rate limit exceeded"
}
}{
"error": {
"code": "invalid_request",
"message": "market_ids exceeds maximum 200"
}
}{
"error": {
"code": "invalid_request",
"message": "market_ids exceeds maximum 200"
}
}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.
Body
Response
Positional results, one per requested item.
Was this page helpful?
curl --request POST \
--url https://md.kairos.trade/v1/markets/tick-size/batch \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-Secret: <api-key>' \
--header 'X-Client-Id: <api-key>' \
--data '
{
"provider": "polymarket",
"items": [
{
"contract_id": "0xabc123",
"asset_id": "18812649149814341758733697580460697418474693998558159483117"
},
{
"contract_id": "0xdef456"
}
]
}
'import requests
url = "https://md.kairos.trade/v1/markets/tick-size/batch"
payload = {
"provider": "polymarket",
"items": [{
"contract_id": "0xabc123",
"asset_id": "18812649149814341758733697580460697418474693998558159483117"
}, { "contract_id": "0xdef456" }]
}
headers = {
"X-Client-Id": "<api-key>",
"X-Api-Key": "<api-key>",
"X-Api-Secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Client-Id': '<api-key>',
'X-Api-Key': '<api-key>',
'X-Api-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
provider: 'polymarket',
items: [
{
contract_id: '0xabc123',
asset_id: '18812649149814341758733697580460697418474693998558159483117'
},
{contract_id: '0xdef456'}
]
})
};
fetch('https://md.kairos.trade/v1/markets/tick-size/batch', 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/tick-size/batch",
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([
'provider' => 'polymarket',
'items' => [
[
'contract_id' => '0xabc123',
'asset_id' => '18812649149814341758733697580460697418474693998558159483117'
],
[
'contract_id' => '0xdef456'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://md.kairos.trade/v1/markets/tick-size/batch"
payload := strings.NewReader("{\n \"provider\": \"polymarket\",\n \"items\": [\n {\n \"contract_id\": \"0xabc123\",\n \"asset_id\": \"18812649149814341758733697580460697418474693998558159483117\"\n },\n {\n \"contract_id\": \"0xdef456\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Client-Id", "<api-key>")
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Api-Secret", "<api-key>")
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://md.kairos.trade/v1/markets/tick-size/batch")
.header("X-Client-Id", "<api-key>")
.header("X-Api-Key", "<api-key>")
.header("X-Api-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"provider\": \"polymarket\",\n \"items\": [\n {\n \"contract_id\": \"0xabc123\",\n \"asset_id\": \"18812649149814341758733697580460697418474693998558159483117\"\n },\n {\n \"contract_id\": \"0xdef456\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://md.kairos.trade/v1/markets/tick-size/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Client-Id"] = '<api-key>'
request["X-Api-Key"] = '<api-key>'
request["X-Api-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"provider\": \"polymarket\",\n \"items\": [\n {\n \"contract_id\": \"0xabc123\",\n \"asset_id\": \"18812649149814341758733697580460697418474693998558159483117\"\n },\n {\n \"contract_id\": \"0xdef456\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"provider": "polymarket",
"results": [
{
"provider": "polymarket",
"contract_id": "0xabc123",
"asset_id": "18812649149814341758733697580460697418474693998558159483117",
"ranges": [
{
"start": "0",
"end": "1",
"step": "0.001"
}
],
"min_tick": "0.001",
"source": "metadata_cache",
"synthetic": false,
"price_level_structure": null,
"as_of": "2026-09-18T12:00:00Z"
},
{
"contract_id": "0xdef456",
"asset_id": null,
"error": {
"code": "not_found",
"message": "market not found"
}
}
]
}{
"error": {
"code": "invalid_request",
"message": "items exceeds maximum 200"
}
}{
"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": "rate_limited",
"message": "rate limit exceeded"
}
}{
"error": {
"code": "invalid_request",
"message": "market_ids exceeds maximum 200"
}
}{
"error": {
"code": "invalid_request",
"message": "market_ids exceeds maximum 200"
}
}
