Orders
Retrieve a list of orders with optional filtering and pagination.
Filter orders by client provided reference parameter
Filter orders by when the order was placed. Lower bound, exclusive
Filter orders by when the order was placed. Upper bound, inclusive
Filter orders by when the order was completely filled. Lower bound, exclusive
Filter orders by when the order was completely filled. Upper bound, inclusive
Filter orders by account ID
Filter orders by pair
BTC-USDFilter orders by side
BUYWhen provided, specifies the last item returned in previous page, used to fetch the next page. Fetches the first page when omitted.
When provided, specifies the number of items to return in the page. Uses default page size of 10 when omitted.
Will sort the returned data using the specified field.
Specifies the sort direction for the sortField.
Successful response
The token of the last item in the response
The total number of items in the entire filtered data set
1Validation Error
Unauthorized
Insufficient Privileges
Client error
Server error
GET /api/v1/orders HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"after": "text",
"totalCount": "1",
"items": [
{
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"orderStatus": "PLACED",
"side": "BUY",
"pair": "BTC-USD",
"strategy": "RFQ",
"limitPrice": "52100.00",
"orderPrice": "52100.00",
"leavesQty": "1.00",
"orderQuantity": "1.00",
"fillQuantity": "1.00",
"cumulativeQty": "1.00",
"fillPrice": "52100.00",
"avgPrice": "52100.00",
"orderType": "MARKET",
"timeInForce": "DAY",
"expireTime": "2025-05-31T23:59:59.000Z",
"clientOrderId": "5f80d325-0f71-4f0a-a346-75c7bb6ac867",
"fillPercentage": "100",
"clientFeeRate": "10",
"clientFeeAmount": "5.50",
"providerFeeRate": "10",
"placedAt": "2026-01-01T00:00:00.000Z",
"completedAt": null,
"clientReference": "text",
"rejectedAt": "2026-01-01T00:00:00.000Z",
"orderRejectReason": "text",
"currency": "BTC"
}
]
}Retrieve an order by its order ID.
Successful response
BUYBTC-USD52100.0052100.00Remaining quantity to be filled
1.001.001.00Only exists for MARKET/LIMIT orders
1.0052100.00Only exists for MARKET/LIMIT orders
52100.00Time in force should be DAY for market orders
DAYPossible values: Only exists for LIMIT orders
2025-05-31T23:59:59.000Z5f80d325-0f71-4f0a-a346-75c7bb6ac86710010Fixed fiat fee amount in tenant native currency
5.5010Only exists for REJECTED orders
Only exists for REJECTED orders
BTCValidation Error
Unauthorized
Insufficient Privileges
Client error
Server error
GET /api/v1/orders/{orderId} HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"orderStatus": "PLACED",
"side": "BUY",
"pair": "BTC-USD",
"strategy": "RFQ",
"limitPrice": "52100.00",
"orderPrice": "52100.00",
"leavesQty": "1.00",
"orderQuantity": "1.00",
"fillQuantity": "1.00",
"cumulativeQty": "1.00",
"fillPrice": "52100.00",
"avgPrice": "52100.00",
"orderType": "MARKET",
"timeInForce": "DAY",
"expireTime": "2025-05-31T23:59:59.000Z",
"clientOrderId": "5f80d325-0f71-4f0a-a346-75c7bb6ac867",
"fillPercentage": "100",
"clientFeeRate": "10",
"clientFeeAmount": "5.50",
"providerFeeRate": "10",
"placedAt": "2026-01-01T00:00:00.000Z",
"completedAt": null,
"clientReference": "text",
"rejectedAt": "2026-01-01T00:00:00.000Z",
"orderRejectReason": "text",
"currency": "BTC"
}For orders to be accepted, the account must have sufficient buying power. Once placed, an amount equivalent to the maximum potential value of the order will be reserved from the account balance for the duration that the order remains open.
A client-supplied unique identifier for this request, used for safely retrying and deduplicating operations. When the same X-Request-Id is sent with multiple identical requests within a defined time window, the server treats them as the same logical operation and will not perform the side effect more than once. Instead, it will return the original result associated with that identifier, if available. The client should generate a collision-resistant value (for example, a UUID) and reuse it only when retrying the same operation.
Successful response
Validation Error
Unauthorized
Insufficient Privileges
Duplicate request error
Client error
Server error
POST /api/v1/orders HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"quoteId": "123e4567-e89b-12d3-a456-426614174000",
"orderType": "PREVIOUSLY_QUOTED",
"clientReference": "text"
}{
"order": {
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"orderStatus": "PLACED",
"side": "BUY",
"pair": "BTC-USD",
"strategy": "RFQ",
"orderPrice": "52100.00",
"orderQuantity": "1.00",
"fillQuantity": "1.00",
"fillPrice": "52100.00",
"fillPercentage": "100",
"clientFeeRate": "10",
"clientFeeAmount": "5.50",
"providerFeeRate": "10",
"placedAt": "2026-01-01T00:00:00.000Z",
"completedAt": null,
"clientReference": "text"
},
"executions": [
{
"executionId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"executedAt": "2026-01-01T00:00:00.000Z",
"pair": "BTC-USD",
"side": "BUY",
"orderType": "MARKET",
"deliverCurrency": "BTC",
"deliverQuantity": "1.00",
"receiveCurrency": "USD",
"receiveQuantity": "52100.00",
"price": "52100.00",
"baseQuantity": "0.0016",
"quoteQuantity": "10.74",
"clientFeeRate": "10",
"clientFeeAmount": "5.50",
"providerFeeRate": "10",
"clientFeeQuantity": "52.10",
"providerFeeQuantity": "52.10",
"feeCurrency": "USD",
"executionStatus": "TRADE_EXECUTED",
"tradeDate": "2026-01-01",
"valueDate": "2026-01-01",
"confirmedAt": "2026-01-01T00:00:00.000Z",
"clientReference": "text",
"tradeTaxRate": "5",
"clientTaxQuantity": "2.61",
"providerTaxQuantity": "2.61"
}
]
}Execute a previously requested quote. Creates an Order and Executes it. Retuns both the order and the execution.
The quoteId returned by Request Quote
Successful response
Validation Error
Unauthorized
Insufficient Privileges
Client error
Server error
POST /api/v1/orders HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"quoteId": "123e4567-e89b-12d3-a456-426614174000",
"clientReference": "text"
}{
"order": {
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"orderStatus": "PLACED",
"side": "BUY",
"pair": "BTC-USD",
"strategy": "RFQ",
"orderPrice": "52100.00",
"orderQuantity": "1.00",
"fillQuantity": "1.00",
"fillPrice": "52100.00",
"fillPercentage": "100",
"clientFeeRate": "10",
"providerFeeRate": "10",
"placedAt": "2026-01-01T00:00:00.000Z",
"completedAt": null,
"clientReference": "text"
},
"executions": [
{
"executionId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"executedAt": "2026-01-01T00:00:00.000Z",
"pair": "BTC-USD",
"side": "BUY",
"deliverCurrency": "BTC",
"deliverQuantity": "1.00",
"receiveCurrency": "USD",
"receiveQuantity": "52100.00",
"price": "52100.00",
"baseQuantity": "0.0016",
"quoteQuantity": "10.74",
"clientFeeRate": "10",
"providerFeeRate": "10",
"clientFeeQuantity": "52.10",
"providerFeeQuantity": "52.10",
"feeCurrency": "USD",
"executionStatus": "TRADE_EXECUTED",
"tradeDate": "2026-01-01",
"valueDate": "2026-01-01",
"confirmedAt": "2026-01-01T00:00:00.000Z",
"clientReference": "text",
"tradeTaxRate": "5",
"clientTaxQuantity": "2.61",
"providerTaxQuantity": "2.61"
}
]
}Cancel a LIMIT order in NEW status
OK
876818f4-e054-49ec-a2de-313f9fc96b92Unauthorized
Insufficient Privileges
Not Found
Client error
Server error
DELETE /api/v1/orders/{orderId} HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"orderId": "876818f4-e054-49ec-a2de-313f9fc96b92",
"orderStatus": "PLACED"
}Last updated