Get order statuses in batch
curl --request POST \
--url https://api.limitless.exchange/orders/status/batch \
--header 'Content-Type: application/json' \
--header 'lmts-api-key: <api-key>' \
--data '
{
"items": [
{
"orderId": "4aa706dd-6c57-4f3c-945a-99818dfd95f1",
"clientOrderId": "client-order-001"
}
]
}
'import requests
url = "https://api.limitless.exchange/orders/status/batch"
payload = { "items": [
{
"orderId": "4aa706dd-6c57-4f3c-945a-99818dfd95f1",
"clientOrderId": "client-order-001"
}
] }
headers = {
"lmts-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'lmts-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
items: [
{
orderId: '4aa706dd-6c57-4f3c-945a-99818dfd95f1',
clientOrderId: 'client-order-001'
}
]
})
};
fetch('https://api.limitless.exchange/orders/status/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://api.limitless.exchange/orders/status/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([
'items' => [
[
'orderId' => '4aa706dd-6c57-4f3c-945a-99818dfd95f1',
'clientOrderId' => 'client-order-001'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"lmts-api-key: <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://api.limitless.exchange/orders/status/batch"
payload := strings.NewReader("{\n \"items\": [\n {\n \"orderId\": \"4aa706dd-6c57-4f3c-945a-99818dfd95f1\",\n \"clientOrderId\": \"client-order-001\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("lmts-api-key", "<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://api.limitless.exchange/orders/status/batch")
.header("lmts-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n {\n \"orderId\": \"4aa706dd-6c57-4f3c-945a-99818dfd95f1\",\n \"clientOrderId\": \"client-order-001\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/orders/status/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["lmts-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"items\": [\n {\n \"orderId\": \"4aa706dd-6c57-4f3c-945a-99818dfd95f1\",\n \"clientOrderId\": \"client-order-001\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"index": 0,
"status": "found",
"error": "Exactly one of orderId or clientOrderId is required",
"orderId": "<string>",
"clientOrderId": "<string>",
"data": {
"order": {
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"salt": "1778155025318314496",
"maker": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"signer": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"tokenId": "19633204485790857949828516737993423758628930235371629943999544859324645414627",
"makerAmount": "5000000",
"takerAmount": "10000000",
"signatureType": 2,
"signature": "<string>",
"orderType": "GTC",
"side": 0,
"marketId": "<string>",
"ownerId": 12345,
"createdAt": "2023-11-07T05:31:56Z",
"market": {
"id": 7348,
"slug": "btc-up-or-down-1-hour",
"title": "BTC Up or Down - Hourly",
"yesPositionId": "<string>",
"noPositionId": "<string>",
"group": {
"id": 123,
"slug": "<string>",
"title": "<string>"
}
},
"taker": "0x0000000000000000000000000000000000000000",
"expiration": "0",
"nonce": "0",
"feeRateBps": 0,
"price": "0.75",
"updatedAt": "2023-11-07T05:31:56Z",
"owner": {
"id": 123,
"account": "<string>",
"displayName": "<string>",
"username": "<string>",
"imageURI": "<string>"
}
},
"execution": {
"matched": true,
"settlementStatus": "MINED",
"feeRateBps": 25,
"effectiveFeeBps": 26,
"totalsRaw": {
"contractsGross": "1000000",
"contractsFee": "1000",
"contractsNet": "999000",
"usdGross": "500000",
"usdFee": "500",
"usdNet": "499500"
},
"reason": "STP_TAKER_REJECTED",
"eligibleAt": "2026-06-08T10:15:30.000Z",
"tradeEventId": "4aa706dd-6c57-4f3c-945a-99818dfd95f1",
"txHash": "0xabc123",
"clientOrderId": "client-order-001",
"stpMakerCancels": [
"4aa706dd-6c57-4f3c-945a-99818dfd95f1"
]
},
"makerMatches": [
{}
]
},
"makerMatches": [
{}
],
"execution": {
"clientOrderId": "<string>",
"feeRateBps": 0,
"effectiveFeeBps": 0,
"matched": true,
"eligibleAt": "2023-11-07T05:31:56Z",
"tradeEventId": "<string>",
"txHash": "<string>",
"totalsRaw": {
"contractsGross": "<string>",
"contractsFee": "<string>",
"contractsNet": "<string>",
"usdGross": "<string>",
"usdFee": "<string>",
"usdNet": "<string>"
}
}
}
}
]
}Trading
Get Order Status (Batch)
Fetches historical order statuses for multiple orders by internal order IDs and/or client-provided order IDs. Returns execution details, settlement status, and maker match data for each order.
POST
/
orders
/
status
/
batch
Get order statuses in batch
curl --request POST \
--url https://api.limitless.exchange/orders/status/batch \
--header 'Content-Type: application/json' \
--header 'lmts-api-key: <api-key>' \
--data '
{
"items": [
{
"orderId": "4aa706dd-6c57-4f3c-945a-99818dfd95f1",
"clientOrderId": "client-order-001"
}
]
}
'import requests
url = "https://api.limitless.exchange/orders/status/batch"
payload = { "items": [
{
"orderId": "4aa706dd-6c57-4f3c-945a-99818dfd95f1",
"clientOrderId": "client-order-001"
}
] }
headers = {
"lmts-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'lmts-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
items: [
{
orderId: '4aa706dd-6c57-4f3c-945a-99818dfd95f1',
clientOrderId: 'client-order-001'
}
]
})
};
fetch('https://api.limitless.exchange/orders/status/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://api.limitless.exchange/orders/status/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([
'items' => [
[
'orderId' => '4aa706dd-6c57-4f3c-945a-99818dfd95f1',
'clientOrderId' => 'client-order-001'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"lmts-api-key: <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://api.limitless.exchange/orders/status/batch"
payload := strings.NewReader("{\n \"items\": [\n {\n \"orderId\": \"4aa706dd-6c57-4f3c-945a-99818dfd95f1\",\n \"clientOrderId\": \"client-order-001\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("lmts-api-key", "<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://api.limitless.exchange/orders/status/batch")
.header("lmts-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n {\n \"orderId\": \"4aa706dd-6c57-4f3c-945a-99818dfd95f1\",\n \"clientOrderId\": \"client-order-001\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/orders/status/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["lmts-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"items\": [\n {\n \"orderId\": \"4aa706dd-6c57-4f3c-945a-99818dfd95f1\",\n \"clientOrderId\": \"client-order-001\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"index": 0,
"status": "found",
"error": "Exactly one of orderId or clientOrderId is required",
"orderId": "<string>",
"clientOrderId": "<string>",
"data": {
"order": {
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"salt": "1778155025318314496",
"maker": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"signer": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"tokenId": "19633204485790857949828516737993423758628930235371629943999544859324645414627",
"makerAmount": "5000000",
"takerAmount": "10000000",
"signatureType": 2,
"signature": "<string>",
"orderType": "GTC",
"side": 0,
"marketId": "<string>",
"ownerId": 12345,
"createdAt": "2023-11-07T05:31:56Z",
"market": {
"id": 7348,
"slug": "btc-up-or-down-1-hour",
"title": "BTC Up or Down - Hourly",
"yesPositionId": "<string>",
"noPositionId": "<string>",
"group": {
"id": 123,
"slug": "<string>",
"title": "<string>"
}
},
"taker": "0x0000000000000000000000000000000000000000",
"expiration": "0",
"nonce": "0",
"feeRateBps": 0,
"price": "0.75",
"updatedAt": "2023-11-07T05:31:56Z",
"owner": {
"id": 123,
"account": "<string>",
"displayName": "<string>",
"username": "<string>",
"imageURI": "<string>"
}
},
"execution": {
"matched": true,
"settlementStatus": "MINED",
"feeRateBps": 25,
"effectiveFeeBps": 26,
"totalsRaw": {
"contractsGross": "1000000",
"contractsFee": "1000",
"contractsNet": "999000",
"usdGross": "500000",
"usdFee": "500",
"usdNet": "499500"
},
"reason": "STP_TAKER_REJECTED",
"eligibleAt": "2026-06-08T10:15:30.000Z",
"tradeEventId": "4aa706dd-6c57-4f3c-945a-99818dfd95f1",
"txHash": "0xabc123",
"clientOrderId": "client-order-001",
"stpMakerCancels": [
"4aa706dd-6c57-4f3c-945a-99818dfd95f1"
]
},
"makerMatches": [
{}
]
},
"makerMatches": [
{}
],
"execution": {
"clientOrderId": "<string>",
"feeRateBps": 0,
"effectiveFeeBps": 0,
"matched": true,
"eligibleAt": "2023-11-07T05:31:56Z",
"tradeEventId": "<string>",
"txHash": "<string>",
"totalsRaw": {
"contractsGross": "<string>",
"contractsFee": "<string>",
"contractsNet": "<string>",
"usdGross": "<string>",
"usdFee": "<string>",
"usdNet": "<string>"
}
}
}
}
]
}Look up orders by either
orderId (internal) or clientOrderId (your identifier). Provide exactly one per item — not both.cancel_taker / cancel_both) shows execution.settlementStatus: "CANCELED" with execution.reason: "STP_TAKER_REJECTED". With cancel_maker, the canceled resting order IDs appear in execution.stpMakerCancels.Authorizations
Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.
Body
application/json
List of status lookup queries (1-50 items)
Required array length:
1 - 50 elementsShow child attributes
Show child attributes
Response
Batch order statuses
Array of status results corresponding to request items
Show child attributes
Show child attributes
⌘I