alive
Server-side heartbeat ping
GET
/
v1
/
alive
Heartbeat for authenticated clients
curl --request GET \
--url https://ticktock.bet/v1/alive \
--header 'X-API-Key: <api-key>'import requests
url = "https://ticktock.bet/v1/alive"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://ticktock.bet/v1/alive', 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://ticktock.bet/v1/alive",
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>"
],
]);
$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://ticktock.bet/v1/alive"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://ticktock.bet/v1/alive")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ticktock.bet/v1/alive")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"status": "ok",
"timestamp": "2026-05-10T13:42:11.123Z"
}
}{
"detail": "Missing X-API-Key or $x$access-token header"
}{
"detail": "Required scope 'cs2:matches:detail' is not granted to this API key. Contact your account manager to extend the key's scopes."
}{
"detail": [
{
"type": "enum",
"loc": [
"query",
"time_filter"
],
"msg": "Input should be one of: 3m, 6m, 1y, all",
"input": "2w"
}
]
}{
"detail": "Rate limit exceeded (600 req/min)"
}What it returns
Current server time. Mirrors the AMQP<alive> envelope (which the feed publishes every 10s) — useful as a keepalive for long-lived B2B integrations that don’t connect to the AMQP feed.
{
"data": {
"status": "ok",
"timestamp": "2026-05-10T13:42:11.123Z"
}
}
Required scope
Any valid key.Example
curl -H "X-API-Key: $TT_KEY" \
https://ticktock.bet/v1/alive
Last modified on May 10, 2026
⌘I
Heartbeat for authenticated clients
curl --request GET \
--url https://ticktock.bet/v1/alive \
--header 'X-API-Key: <api-key>'import requests
url = "https://ticktock.bet/v1/alive"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://ticktock.bet/v1/alive', 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://ticktock.bet/v1/alive",
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>"
],
]);
$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://ticktock.bet/v1/alive"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://ticktock.bet/v1/alive")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ticktock.bet/v1/alive")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"status": "ok",
"timestamp": "2026-05-10T13:42:11.123Z"
}
}{
"detail": "Missing X-API-Key or $x$access-token header"
}{
"detail": "Required scope 'cs2:matches:detail' is not granted to this API key. Contact your account manager to extend the key's scopes."
}{
"detail": [
{
"type": "enum",
"loc": [
"query",
"time_filter"
],
"msg": "Input should be one of: 3m, 6m, 1y, all",
"input": "2w"
}
]
}{
"detail": "Rate limit exceeded (600 req/min)"
}