The Ably Websocket API is being deprecated on July 1, 2026. See the migration guide →
curl --request POST \
--url https://api.sx.bet/heartbeat \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10
}
'{
"status": "success",
"data": {
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10,
"expiresAt": "2024-11-12T14:35:06.614Z"
}
}Register or refresh a heartbeat to auto-cancel orders on connectivity loss.
curl --request POST \
--url https://api.sx.bet/heartbeat \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10
}
'{
"status": "success",
"data": {
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10,
"expiresAt": "2024-11-12T14:35:06.614Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
Use this file to discover all available pages before exploring further.