Spot trading
Get Spot order
Changed onLook up by exchange ID or client-prefixed ID. An immediate not-found response after a timeout is not proof the original request cannot complete.
See the Spot API guide. Requires authentication; API-key scope: view.
get/v1/spot/orders/{orderID}
Request
- Base URLhttps://api.ondoperps.xyz
- URLhttps://api.ondoperps.xyz/v1/spot/orders/{orderID}
- Auth
- HTTP bearer
- or API key in header ONDO-KEY-ID
Path parameters
orderIDstring required
Exchange order ID or client: followed by the original clientOrderId. URL-encode the path.
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