Place several signed orders
curl --request POST \
--url https://calibri.io/api/v2/atlas/account/orders/batch \
--header 'Content-Type: application/json' \
--header 'X-Auth-Apikey: <api-key>' \
--data '
{
"orders": [
{
"market_id": 12,
"ord_type": "limit",
"side": "yes",
"signed_order": {
"expiration": "1797600000",
"fee_rate_bps": "0",
"maker": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"maker_amount": "60000000",
"nonce": "0",
"salt": "5821094412",
"side": 0,
"signature": "0x4f2a…",
"signature_type": 2,
"signer": "0xE1188438C85C98aADFf1a88f97764E607B4978C3",
"taker": "0x0000000000000000000000000000000000000000",
"taker_amount": "100000000",
"token_id": "7138104..."
},
"volume": "100",
"client_order_id": "bot-7f3a-0001",
"direction": "buy",
"ioc": false,
"post_only": false,
"price": "0.6"
}
]
}
'import requests
url = "https://calibri.io/api/v2/atlas/account/orders/batch"
payload = { "orders": [
{
"market_id": 12,
"ord_type": "limit",
"side": "yes",
"signed_order": {
"expiration": "1797600000",
"fee_rate_bps": "0",
"maker": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"maker_amount": "60000000",
"nonce": "0",
"salt": "5821094412",
"side": 0,
"signature": "0x4f2a…",
"signature_type": 2,
"signer": "0xE1188438C85C98aADFf1a88f97764E607B4978C3",
"taker": "0x0000000000000000000000000000000000000000",
"taker_amount": "100000000",
"token_id": "7138104..."
},
"volume": "100",
"client_order_id": "bot-7f3a-0001",
"direction": "buy",
"ioc": False,
"post_only": False,
"price": "0.6"
}
] }
headers = {
"X-Auth-Apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-Apikey': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orders: [
{
market_id: 12,
ord_type: 'limit',
side: 'yes',
signed_order: {
expiration: '1797600000',
fee_rate_bps: '0',
maker: '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
maker_amount: '60000000',
nonce: '0',
salt: '5821094412',
side: 0,
signature: '0x4f2a…',
signature_type: 2,
signer: '0xE1188438C85C98aADFf1a88f97764E607B4978C3',
taker: '0x0000000000000000000000000000000000000000',
taker_amount: '100000000',
token_id: '7138104...'
},
volume: '100',
client_order_id: 'bot-7f3a-0001',
direction: 'buy',
ioc: false,
post_only: false,
price: '0.6'
}
]
})
};
fetch('https://calibri.io/api/v2/atlas/account/orders/batch', 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/orders/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'orders' => [
[
'market_id' => 12,
'ord_type' => 'limit',
'side' => 'yes',
'signed_order' => [
'expiration' => '1797600000',
'fee_rate_bps' => '0',
'maker' => '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
'maker_amount' => '60000000',
'nonce' => '0',
'salt' => '5821094412',
'side' => 0,
'signature' => '0x4f2a…',
'signature_type' => 2,
'signer' => '0xE1188438C85C98aADFf1a88f97764E607B4978C3',
'taker' => '0x0000000000000000000000000000000000000000',
'taker_amount' => '100000000',
'token_id' => '7138104...'
],
'volume' => '100',
'client_order_id' => 'bot-7f3a-0001',
'direction' => 'buy',
'ioc' => false,
'post_only' => false,
'price' => '0.6'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://calibri.io/api/v2/atlas/account/orders/batch"
payload := strings.NewReader("{\n \"orders\": [\n {\n \"market_id\": 12,\n \"ord_type\": \"limit\",\n \"side\": \"yes\",\n \"signed_order\": {\n \"expiration\": \"1797600000\",\n \"fee_rate_bps\": \"0\",\n \"maker\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"maker_amount\": \"60000000\",\n \"nonce\": \"0\",\n \"salt\": \"5821094412\",\n \"side\": 0,\n \"signature\": \"0x4f2a…\",\n \"signature_type\": 2,\n \"signer\": \"0xE1188438C85C98aADFf1a88f97764E607B4978C3\",\n \"taker\": \"0x0000000000000000000000000000000000000000\",\n \"taker_amount\": \"100000000\",\n \"token_id\": \"7138104...\"\n },\n \"volume\": \"100\",\n \"client_order_id\": \"bot-7f3a-0001\",\n \"direction\": \"buy\",\n \"ioc\": false,\n \"post_only\": false,\n \"price\": \"0.6\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Auth-Apikey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://calibri.io/api/v2/atlas/account/orders/batch")
.header("X-Auth-Apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"orders\": [\n {\n \"market_id\": 12,\n \"ord_type\": \"limit\",\n \"side\": \"yes\",\n \"signed_order\": {\n \"expiration\": \"1797600000\",\n \"fee_rate_bps\": \"0\",\n \"maker\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"maker_amount\": \"60000000\",\n \"nonce\": \"0\",\n \"salt\": \"5821094412\",\n \"side\": 0,\n \"signature\": \"0x4f2a…\",\n \"signature_type\": 2,\n \"signer\": \"0xE1188438C85C98aADFf1a88f97764E607B4978C3\",\n \"taker\": \"0x0000000000000000000000000000000000000000\",\n \"taker_amount\": \"100000000\",\n \"token_id\": \"7138104...\"\n },\n \"volume\": \"100\",\n \"client_order_id\": \"bot-7f3a-0001\",\n \"direction\": \"buy\",\n \"ioc\": false,\n \"post_only\": false,\n \"price\": \"0.6\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/orders/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Auth-Apikey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orders\": [\n {\n \"market_id\": 12,\n \"ord_type\": \"limit\",\n \"side\": \"yes\",\n \"signed_order\": {\n \"expiration\": \"1797600000\",\n \"fee_rate_bps\": \"0\",\n \"maker\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"maker_amount\": \"60000000\",\n \"nonce\": \"0\",\n \"salt\": \"5821094412\",\n \"side\": 0,\n \"signature\": \"0x4f2a…\",\n \"signature_type\": 2,\n \"signer\": \"0xE1188438C85C98aADFf1a88f97764E607B4978C3\",\n \"taker\": \"0x0000000000000000000000000000000000000000\",\n \"taker_amount\": \"100000000\",\n \"token_id\": \"7138104...\"\n },\n \"volume\": \"100\",\n \"client_order_id\": \"bot-7f3a-0001\",\n \"direction\": \"buy\",\n \"ioc\": false,\n \"post_only\": false,\n \"price\": \"0.6\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"error": {
"errors": [
"signed_order maker must be your registered wallet"
],
"status": 422
},
"order": {
"avg_price": "0.61",
"client_order_id": "bot-7f3a-0001",
"contracts_count": 1,
"created_at": "2026-08-07T10:00:00Z",
"direction": "buy",
"event_slug": "btc-above-70k-december-2026",
"expires_at": "2026-08-07T11:00:00Z",
"fee": "0.17",
"filled_cost": "36.6",
"filled_volume": "60",
"id": 90311,
"ioc": false,
"locked": "24.68",
"market_id": 12,
"market_title": "Will BTC close above $70,000 on 31 Dec 2026?",
"ord_type": "limit",
"origin_locked": "61.68",
"origin_volume": "100",
"post_only": false,
"price": "0.6",
"quote_currency": "usdc",
"remaining_volume": "40",
"side": "yes",
"state": "wait",
"token_id": "52114319501245915516055106046884209969926127482827954674443846427813813222426",
"updated_at": "2026-08-07T10:05:00Z",
"volume": "40"
}
}
]{
"errors": [
"market.order.insufficient_balance"
]
}Trade
Place several signed orders
Places 1–20 signed orders in one request. Each element of orders is exactly the body of POST /account/orders and is validated and placed independently, in request order — a failure does not undo the orders before it, and does not stop the ones after it. The response is an array in request order: { "order": … } (the object POST /account/orders returns) or { "error": { "status", "errors" } } (the status and error codes that call would have answered). The request counts as one order per element against the order-placement rate limit; a batch that does not fit in what is left of the limit is refused whole (429).
POST
/
api
/
v2
/
atlas
/
account
/
orders
/
batch
Place several signed orders
curl --request POST \
--url https://calibri.io/api/v2/atlas/account/orders/batch \
--header 'Content-Type: application/json' \
--header 'X-Auth-Apikey: <api-key>' \
--data '
{
"orders": [
{
"market_id": 12,
"ord_type": "limit",
"side": "yes",
"signed_order": {
"expiration": "1797600000",
"fee_rate_bps": "0",
"maker": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"maker_amount": "60000000",
"nonce": "0",
"salt": "5821094412",
"side": 0,
"signature": "0x4f2a…",
"signature_type": 2,
"signer": "0xE1188438C85C98aADFf1a88f97764E607B4978C3",
"taker": "0x0000000000000000000000000000000000000000",
"taker_amount": "100000000",
"token_id": "7138104..."
},
"volume": "100",
"client_order_id": "bot-7f3a-0001",
"direction": "buy",
"ioc": false,
"post_only": false,
"price": "0.6"
}
]
}
'import requests
url = "https://calibri.io/api/v2/atlas/account/orders/batch"
payload = { "orders": [
{
"market_id": 12,
"ord_type": "limit",
"side": "yes",
"signed_order": {
"expiration": "1797600000",
"fee_rate_bps": "0",
"maker": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"maker_amount": "60000000",
"nonce": "0",
"salt": "5821094412",
"side": 0,
"signature": "0x4f2a…",
"signature_type": 2,
"signer": "0xE1188438C85C98aADFf1a88f97764E607B4978C3",
"taker": "0x0000000000000000000000000000000000000000",
"taker_amount": "100000000",
"token_id": "7138104..."
},
"volume": "100",
"client_order_id": "bot-7f3a-0001",
"direction": "buy",
"ioc": False,
"post_only": False,
"price": "0.6"
}
] }
headers = {
"X-Auth-Apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-Apikey': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orders: [
{
market_id: 12,
ord_type: 'limit',
side: 'yes',
signed_order: {
expiration: '1797600000',
fee_rate_bps: '0',
maker: '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
maker_amount: '60000000',
nonce: '0',
salt: '5821094412',
side: 0,
signature: '0x4f2a…',
signature_type: 2,
signer: '0xE1188438C85C98aADFf1a88f97764E607B4978C3',
taker: '0x0000000000000000000000000000000000000000',
taker_amount: '100000000',
token_id: '7138104...'
},
volume: '100',
client_order_id: 'bot-7f3a-0001',
direction: 'buy',
ioc: false,
post_only: false,
price: '0.6'
}
]
})
};
fetch('https://calibri.io/api/v2/atlas/account/orders/batch', 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/orders/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'orders' => [
[
'market_id' => 12,
'ord_type' => 'limit',
'side' => 'yes',
'signed_order' => [
'expiration' => '1797600000',
'fee_rate_bps' => '0',
'maker' => '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
'maker_amount' => '60000000',
'nonce' => '0',
'salt' => '5821094412',
'side' => 0,
'signature' => '0x4f2a…',
'signature_type' => 2,
'signer' => '0xE1188438C85C98aADFf1a88f97764E607B4978C3',
'taker' => '0x0000000000000000000000000000000000000000',
'taker_amount' => '100000000',
'token_id' => '7138104...'
],
'volume' => '100',
'client_order_id' => 'bot-7f3a-0001',
'direction' => 'buy',
'ioc' => false,
'post_only' => false,
'price' => '0.6'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://calibri.io/api/v2/atlas/account/orders/batch"
payload := strings.NewReader("{\n \"orders\": [\n {\n \"market_id\": 12,\n \"ord_type\": \"limit\",\n \"side\": \"yes\",\n \"signed_order\": {\n \"expiration\": \"1797600000\",\n \"fee_rate_bps\": \"0\",\n \"maker\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"maker_amount\": \"60000000\",\n \"nonce\": \"0\",\n \"salt\": \"5821094412\",\n \"side\": 0,\n \"signature\": \"0x4f2a…\",\n \"signature_type\": 2,\n \"signer\": \"0xE1188438C85C98aADFf1a88f97764E607B4978C3\",\n \"taker\": \"0x0000000000000000000000000000000000000000\",\n \"taker_amount\": \"100000000\",\n \"token_id\": \"7138104...\"\n },\n \"volume\": \"100\",\n \"client_order_id\": \"bot-7f3a-0001\",\n \"direction\": \"buy\",\n \"ioc\": false,\n \"post_only\": false,\n \"price\": \"0.6\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Auth-Apikey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://calibri.io/api/v2/atlas/account/orders/batch")
.header("X-Auth-Apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"orders\": [\n {\n \"market_id\": 12,\n \"ord_type\": \"limit\",\n \"side\": \"yes\",\n \"signed_order\": {\n \"expiration\": \"1797600000\",\n \"fee_rate_bps\": \"0\",\n \"maker\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"maker_amount\": \"60000000\",\n \"nonce\": \"0\",\n \"salt\": \"5821094412\",\n \"side\": 0,\n \"signature\": \"0x4f2a…\",\n \"signature_type\": 2,\n \"signer\": \"0xE1188438C85C98aADFf1a88f97764E607B4978C3\",\n \"taker\": \"0x0000000000000000000000000000000000000000\",\n \"taker_amount\": \"100000000\",\n \"token_id\": \"7138104...\"\n },\n \"volume\": \"100\",\n \"client_order_id\": \"bot-7f3a-0001\",\n \"direction\": \"buy\",\n \"ioc\": false,\n \"post_only\": false,\n \"price\": \"0.6\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/orders/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Auth-Apikey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orders\": [\n {\n \"market_id\": 12,\n \"ord_type\": \"limit\",\n \"side\": \"yes\",\n \"signed_order\": {\n \"expiration\": \"1797600000\",\n \"fee_rate_bps\": \"0\",\n \"maker\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"maker_amount\": \"60000000\",\n \"nonce\": \"0\",\n \"salt\": \"5821094412\",\n \"side\": 0,\n \"signature\": \"0x4f2a…\",\n \"signature_type\": 2,\n \"signer\": \"0xE1188438C85C98aADFf1a88f97764E607B4978C3\",\n \"taker\": \"0x0000000000000000000000000000000000000000\",\n \"taker_amount\": \"100000000\",\n \"token_id\": \"7138104...\"\n },\n \"volume\": \"100\",\n \"client_order_id\": \"bot-7f3a-0001\",\n \"direction\": \"buy\",\n \"ioc\": false,\n \"post_only\": false,\n \"price\": \"0.6\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"error": {
"errors": [
"signed_order maker must be your registered wallet"
],
"status": 422
},
"order": {
"avg_price": "0.61",
"client_order_id": "bot-7f3a-0001",
"contracts_count": 1,
"created_at": "2026-08-07T10:00:00Z",
"direction": "buy",
"event_slug": "btc-above-70k-december-2026",
"expires_at": "2026-08-07T11:00:00Z",
"fee": "0.17",
"filled_cost": "36.6",
"filled_volume": "60",
"id": 90311,
"ioc": false,
"locked": "24.68",
"market_id": 12,
"market_title": "Will BTC close above $70,000 on 31 Dec 2026?",
"ord_type": "limit",
"origin_locked": "61.68",
"origin_volume": "100",
"post_only": false,
"price": "0.6",
"quote_currency": "usdc",
"remaining_volume": "40",
"side": "yes",
"state": "wait",
"token_id": "52114319501245915516055106046884209969926127482827954674443846427813813222426",
"updated_at": "2026-08-07T10:05:00Z",
"volume": "40"
}
}
]{
"errors": [
"market.order.insufficient_balance"
]
}Authorizations
Body
application/json