Contract by id
curl --request GET \
--url https://calibri.io/api/v2/atlas/account/contracts/{id} \
--header 'X-Auth-Apikey: <api-key>'import requests
url = "https://calibri.io/api/v2/atlas/account/contracts/{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/contracts/{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/contracts/{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/contracts/{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/contracts/{id}")
.header("X-Auth-Apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/contracts/{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{
"avg_price": "0.6",
"created_at": "2026-08-07T10:00:00Z",
"direction": "buy",
"event_slug": "btc-updown-5m-1730",
"event_title": "Bitcoin Up or Down 5m",
"fee": "0.17",
"funds_spent": "60",
"id": 48211,
"market_id": 12,
"market_title": "Will BTC close above its open?",
"match_type": "mint",
"order_id": 90311,
"outcome_labels": [
"Above $77,500",
"Below $77,500"
],
"price": "0.6",
"proceeds": "0",
"quote_currency": "usdc",
"settled_at": "2026-08-08T00:00:00Z",
"settlement_status": "confirmed",
"settlement_status_raw": "matched",
"side": "yes",
"state": "active",
"taker_fee_amount": "0.17",
"taker_or_maker": "taker",
"token_id": "52114319501245915516055106046884209969926127482827954674443846427813813222426",
"volume": "100"
}{
"errors": [
"market.order.insufficient_balance"
]
}Positions
Contract by id
One matched position, only if you are a party to it. Same object as a list element — useful when following a fill or settlement deep-link.
GET
/
api
/
v2
/
atlas
/
account
/
contracts
/
{id}
Contract by id
curl --request GET \
--url https://calibri.io/api/v2/atlas/account/contracts/{id} \
--header 'X-Auth-Apikey: <api-key>'import requests
url = "https://calibri.io/api/v2/atlas/account/contracts/{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/contracts/{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/contracts/{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/contracts/{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/contracts/{id}")
.header("X-Auth-Apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/contracts/{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{
"avg_price": "0.6",
"created_at": "2026-08-07T10:00:00Z",
"direction": "buy",
"event_slug": "btc-updown-5m-1730",
"event_title": "Bitcoin Up or Down 5m",
"fee": "0.17",
"funds_spent": "60",
"id": 48211,
"market_id": 12,
"market_title": "Will BTC close above its open?",
"match_type": "mint",
"order_id": 90311,
"outcome_labels": [
"Above $77,500",
"Below $77,500"
],
"price": "0.6",
"proceeds": "0",
"quote_currency": "usdc",
"settled_at": "2026-08-08T00:00:00Z",
"settlement_status": "confirmed",
"settlement_status_raw": "matched",
"side": "yes",
"state": "active",
"taker_fee_amount": "0.17",
"taker_or_maker": "taker",
"token_id": "52114319501245915516055106046884209969926127482827954674443846427813813222426",
"volume": "100"
}{
"errors": [
"market.order.insufficient_balance"
]
}Authorizations
Response
The fee YOU paid on this fill: taker_fee_amount when you were the taker, 0 when you were the maker. A fill whose contract was voided (state voided: its settlement failed or was never broadcast) reads 0 too — the chain never collected that fee and the engine reversed it. A market that resolves void keeps the fee. taker_fee_amount is the fee charged on the match, whoever paid it.
Example:
"0.17"