Account order history
Get all orders for the authenticated account, including active, filled, and cancelled orders. Returns order history in Binance-compatible format. Requires `DATABASE_URL` to be configured. **Dev mode:** Requires `X-Account-Address` header. **Production:** Requires `X-Account-Address`, `X-Signature`, and `X-Timestamp` headers.
Get all orders for the authenticated account, including active, filled,
and cancelled orders. Returns order history in Binance-compatible format.
Requires DATABASE_URL to be configured.
Dev mode: Requires X-Account-Address header.
Production: Requires X-Account-Address, X-Signature, and X-Timestamp headers.
Query Parameters
Trading pair (e.g. ETH-USD)
Start time in milliseconds since epoch
int64End time in milliseconds since epoch
int64Number of orders to return (1–1000, default 500)
5001 <= value <= 1000Header Parameters
Account address (hex-encoded, checksummed)
Hex-encoded 65-byte signature (production only)
Unix timestamp in milliseconds (production only)
Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:3000/api/v1/allOrders?symbol=ETH-USD" \ -H "X-Account-Address: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"[
{
"symbol": "ETH-USD",
"orderId": "b3f1a2c4-5d6e-7f89-0a1b-2c3d4e5f6789",
"price": "3210.50",
"origQty": "10.0000",
"executedQty": "3.5000",
"status": "PARTIALLY_FILLED",
"type": "LIMIT",
"side": "BUY",
"time": 1709123456789,
"updateTime": 1709123460000
}
]{
"code": -1121,
"msg": "Invalid symbol."
}{
"code": -1,
"msg": "history not available"
}