curl --request GET \
--url https://calibri.io/api/v2/pythia/orders/{id} \
--header 'X-Auth-Apikey: <api-key>'import requests
url = "https://calibri.io/api/v2/pythia/orders/{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/pythia/orders/{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/pythia/orders/{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/pythia/orders/{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/pythia/orders/{id}")
.header("X-Auth-Apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/pythia/orders/{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{
"contracts_count": 0,
"created_at": "2026-08-07T10:00:00Z",
"event_slug": "btc-above-70k-december-2026",
"filled_volume": "0",
"id": 1420,
"locked": "6.20",
"market": "12",
"market_title": "Will BTC close above $70,000 on 31 Dec 2026?",
"ord_type": "limit",
"origin_locked": "6.20",
"origin_volume": "10",
"price": "0.62",
"quote_currency": "usdc",
"remaining_volume": "10",
"side": "yes",
"state": "wait",
"updated_at": "2026-08-07T10:05:00Z",
"volume": "10"
}{
"errors": [
"order.not_found"
]
}{
"errors": [
"order.not_found"
]
}Order by id
One of your orders. Open orders resolve from the live index; terminal ones fall back to history. Returns 404 for another member’s order rather than 403.
curl --request GET \
--url https://calibri.io/api/v2/pythia/orders/{id} \
--header 'X-Auth-Apikey: <api-key>'import requests
url = "https://calibri.io/api/v2/pythia/orders/{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/pythia/orders/{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/pythia/orders/{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/pythia/orders/{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/pythia/orders/{id}")
.header("X-Auth-Apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/pythia/orders/{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{
"contracts_count": 0,
"created_at": "2026-08-07T10:00:00Z",
"event_slug": "btc-above-70k-december-2026",
"filled_volume": "0",
"id": 1420,
"locked": "6.20",
"market": "12",
"market_title": "Will BTC close above $70,000 on 31 Dec 2026?",
"ord_type": "limit",
"origin_locked": "6.20",
"origin_volume": "10",
"price": "0.62",
"quote_currency": "usdc",
"remaining_volume": "10",
"side": "yes",
"state": "wait",
"updated_at": "2026-08-07T10:05:00Z",
"volume": "10"
}{
"errors": [
"order.not_found"
]
}{
"errors": [
"order.not_found"
]
}Authorizations
HMAC-signed API key. Send X-Auth-Apikey, X-Auth-Nonce and X-Auth-Signature.
Path Parameters
Order id
Response
OK
0
"2026-08-07T10:00:00Z"
"btc-above-70k-december-2026"
"0"
1420
"6.20"
"12"
MarketTitle / EventSlug are the order's market context, denormalised onto the order the same way EventSlug/EventTitle are denormalised onto a market.
Without them market is a bare id and nothing else: a client listing a
member's orders can only print "3573", and has no slug to link with (a
market is not addressable on its own — the app routes
/event/{slug}?market={id}). The only alternative is a market read per row,
which is a fan-out over a paginated list for data this handler already
holds in memory.
Omitted when the market's metadata is unknown here (an id that is in
neither the cache nor storage); the row still carries market.
"Will BTC close above $70,000 on 31 Dec 2026?"
limit, market "limit"
"6.20"
"10"
"0.62"
"usdc"
"10"
yes, no "yes"
wait, done, cancel, reject "wait"
"2026-08-07T10:05:00Z"
"10"