curl --request GET \
--url https://api.rivermarkets.com/v1/orders \
--header 'X-River-Key-Id: <api-key>' \
--header 'X-River-Signature: <api-key>' \
--header 'X-River-Timestamp: <api-key>'import requests
url = "https://api.rivermarkets.com/v1/orders"
headers = {
"X-River-Key-Id": "<api-key>",
"X-River-Timestamp": "<api-key>",
"X-River-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-River-Key-Id': '<api-key>',
'X-River-Timestamp': '<api-key>',
'X-River-Signature': '<api-key>'
}
};
fetch('https://api.rivermarkets.com/v1/orders', 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.rivermarkets.com/v1/orders",
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-River-Key-Id: <api-key>",
"X-River-Signature: <api-key>",
"X-River-Timestamp: <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://api.rivermarkets.com/v1/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-River-Key-Id", "<api-key>")
req.Header.Add("X-River-Timestamp", "<api-key>")
req.Header.Add("X-River-Signature", "<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://api.rivermarkets.com/v1/orders")
.header("X-River-Key-Id", "<api-key>")
.header("X-River-Timestamp", "<api-key>")
.header("X-River-Signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rivermarkets.com/v1/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-River-Key-Id"] = '<api-key>'
request["X-River-Timestamp"] = '<api-key>'
request["X-River-Signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"orders": [
{
"river_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_type": "<string>",
"time_in_force": "<string>",
"qty": 123,
"status": "<string>",
"subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"complex_order_ids": {},
"price": 123,
"buy_flag": true,
"post_only": false,
"cancel_order_on_pause": true,
"river_id": 123,
"generic_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expiry_ts_utc": "<string>",
"traded_qty": 0,
"average_price": 123,
"fees_paid": 0,
"reject_reason": "<string>",
"parent_iceberg_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_peg_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_smart_taker_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_generic_peg_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"has_more": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}List Orders
List orders with optional filters.
Returns a paginated list of orders across all accessible subaccounts, ordered by created_at descending.
Filters:
All filters are optional and can be combined. If no subaccount_id is specified,
returns orders from all subaccounts the user has access to.
Order Statuses:
PENDING_SUBMISSION: Order received, awaiting exchange submission.PROCESSING: Being processed by the order consumer.RESTING: Live on the exchange order book (may include partially-filled live orders).EXECUTED: Terminal — fully filled.PARTIALLY_FILLED: Terminal — cancelled with some quantity filled.CANCELLED: Terminal — cancelled with no fills.REJECTED: Rejected by exchange (see order details for reason).
Aggregated Fields:
Each order includes traded_qty, average_price, and fees_paid computed from fills.
curl --request GET \
--url https://api.rivermarkets.com/v1/orders \
--header 'X-River-Key-Id: <api-key>' \
--header 'X-River-Signature: <api-key>' \
--header 'X-River-Timestamp: <api-key>'import requests
url = "https://api.rivermarkets.com/v1/orders"
headers = {
"X-River-Key-Id": "<api-key>",
"X-River-Timestamp": "<api-key>",
"X-River-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-River-Key-Id': '<api-key>',
'X-River-Timestamp': '<api-key>',
'X-River-Signature': '<api-key>'
}
};
fetch('https://api.rivermarkets.com/v1/orders', 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.rivermarkets.com/v1/orders",
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-River-Key-Id: <api-key>",
"X-River-Signature: <api-key>",
"X-River-Timestamp: <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://api.rivermarkets.com/v1/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-River-Key-Id", "<api-key>")
req.Header.Add("X-River-Timestamp", "<api-key>")
req.Header.Add("X-River-Signature", "<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://api.rivermarkets.com/v1/orders")
.header("X-River-Key-Id", "<api-key>")
.header("X-River-Timestamp", "<api-key>")
.header("X-River-Signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rivermarkets.com/v1/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-River-Key-Id"] = '<api-key>'
request["X-River-Timestamp"] = '<api-key>'
request["X-River-Signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"orders": [
{
"river_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_type": "<string>",
"time_in_force": "<string>",
"qty": 123,
"status": "<string>",
"subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"complex_order_ids": {},
"price": 123,
"buy_flag": true,
"post_only": false,
"cancel_order_on_pause": true,
"river_id": 123,
"generic_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expiry_ts_utc": "<string>",
"traded_qty": 0,
"average_price": 123,
"fees_paid": 0,
"reject_reason": "<string>",
"parent_iceberg_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_peg_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_smart_taker_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_generic_peg_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"has_more": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
UUID of your API key (from Settings → API Keys).
Current unix milliseconds (unix seconds also accepted). Must be within 30s of server time.
Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTED_QUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full recipe.
Query Parameters
Filter by order status. Accepts a single OrderStatus name (e.g. 'RESTING') or the meta-value 'ACTIVE' which resolves to RESTING.
Filter by instrument ID
Filter by generic asset ID
Filter to a specific subaccount
Filter to child tranches of a specific iceberg parent.
Filter to child tranches of a specific peg parent.
Filter to IOC children of a specific smart-taker parent.
Filter by direction: true=buys, false=sells
Filter by order type: LIMIT, MARKET, RFQ_TAKER or RFQ_MAKER.
Only orders created at or after this time (inclusive, ISO 8601; naive values are treated as UTC).
Only orders created before this time (exclusive, ISO 8601; naive values are treated as UTC).
Free-text search across the order's market: ticker/slug, the human-readable question (event title, market name, outcome) via full-text + substring match, plus the order's river_id / order id / generic asset id. Applied server-side over all matching orders, not just the current page.
When true, complex_order_ids only includes attached TP/SL orders with status PENDING or ACTIVE.
Results per page (max 10000)
1 <= x <= 10000Pagination offset
x >= 0
