Spot trading
List Spot orders
Changed onAn open or canceled order may already have fills. Paginate using pageInfo.nextCursor.
See the Spot API guide. Requires authentication; API-key scope: view.
get/v1/spot/orders
Request
- Base URLhttps://api.ondoperps.xyz
- URLhttps://api.ondoperps.xyz/v1/spot/orders
- Auth
- HTTP bearer
- or API key in header ONDO-KEY-ID
Query parameters
cursorstring
Opaque nextCursor from the preceding response; keep filters unchanged.
limitinteger
Page-size request; the service can apply a lower historical cap.
marketstring
Example:NVDA-USDC
Exact Spot identifier.
status'open' | 'fullyFilled' | 'canceled'
Query spelling is fullyFilled; response spelling is fullyfilled.
orderTypestring
limit, market, or a comma-separated list.
hasFillboolean
activeOnlyboolean
startTimeinteger
Unix milliseconds.
endTimeinteger
Unix milliseconds.
Response
Success. Inspect item-level outcomes for batch operations.
Example response
{
"result": [
{
"orderId": "70a37d8f972f2494837f9dba8364cbb4",
"clientOrderId": "order123",
"side": "buy",
"price": "1.55",
"size": "20.30",
"market": "SPY-USDC",
"filledSize": "5.403",
"lastFillSize": "5.403",
"filledCost": "8.37465",
"fee": "0.0837",
"status": "open",
"createdAt": "2022-06-16T12:35:11.123456Z",
"filledAt": "2022-06-16T12:35:11.123456Z",
"canceledAt": "2022-06-16T12:35:11.123456Z",
"cancelReason": "liquidation",
"type": "limit",
"timeInForce": "GTC"
}
]
}Changes
- info
endpoint added
- info