One of your merges or splits
curl --request GET \
--url https://calibri.io/api/v2/atlas/account/positions/merges/{id} \
--header 'X-Auth-Apikey: <api-key>'import requests
url = "https://calibri.io/api/v2/atlas/account/positions/merges/{id}"
headers = {"X-Auth-Apikey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Apikey': '<api-key>'}};
fetch('https://calibri.io/api/v2/atlas/account/positions/merges/{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://calibri.io/api/v2/atlas/account/positions/merges/{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-Auth-Apikey: <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://calibri.io/api/v2/atlas/account/positions/merges/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Auth-Apikey", "<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://calibri.io/api/v2/atlas/account/positions/merges/{id}")
.header("X-Auth-Apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/positions/merges/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Auth-Apikey"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"booked_at": "2026-11-29T10:01:12Z",
"created_at": "2026-11-29T10:00:00Z",
"custody": "self",
"failure_reason": null,
"id": 311,
"kind": "merge",
"market": {
"event_slug": "btc-updown-5m-1730",
"event_title": "Bitcoin Up or Down 5m",
"id": 14738,
"outcome_labels": [
"Yes",
"No"
],
"title": "Will BTC close above its open?"
},
"market_id": 14738,
"pairs": "6",
"proceeds": "6",
"realized_pnl": "0.6",
"state": "booked",
"tx_id": "0x9f2c…",
"waiting_on": null
}{
"errors": [
"market.order.insufficient_balance"
]
}Positions
One of your merges or splits
One merge or split by id, as the relay answer (merge.id) names it. Poll it until state is booked or failed. 404 for an id that is not yours.
GET
/
api
/
v2
/
atlas
/
account
/
positions
/
merges
/
{id}
One of your merges or splits
curl --request GET \
--url https://calibri.io/api/v2/atlas/account/positions/merges/{id} \
--header 'X-Auth-Apikey: <api-key>'import requests
url = "https://calibri.io/api/v2/atlas/account/positions/merges/{id}"
headers = {"X-Auth-Apikey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Apikey': '<api-key>'}};
fetch('https://calibri.io/api/v2/atlas/account/positions/merges/{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://calibri.io/api/v2/atlas/account/positions/merges/{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-Auth-Apikey: <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://calibri.io/api/v2/atlas/account/positions/merges/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Auth-Apikey", "<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://calibri.io/api/v2/atlas/account/positions/merges/{id}")
.header("X-Auth-Apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/positions/merges/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Auth-Apikey"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"booked_at": "2026-11-29T10:01:12Z",
"created_at": "2026-11-29T10:00:00Z",
"custody": "self",
"failure_reason": null,
"id": 311,
"kind": "merge",
"market": {
"event_slug": "btc-updown-5m-1730",
"event_title": "Bitcoin Up or Down 5m",
"id": 14738,
"outcome_labels": [
"Yes",
"No"
],
"title": "Will BTC close above its open?"
},
"market_id": 14738,
"pairs": "6",
"proceeds": "6",
"realized_pnl": "0.6",
"state": "booked",
"tx_id": "0x9f2c…",
"waiting_on": null
}{
"errors": [
"market.order.insufficient_balance"
]
}Authorizations
Response
Why a failed merge did nothing: the transaction reverted, was dropped, was never sent, or was replaced by another one; refused: a custodial merge Calibri refused (the request said why).
Available options:
reverted, dropped, not_broadcast, superseded, refused Example:
null