Spot trading
Get Spot order fills
Changed onReturns all fills for one order without pagination.
See the Spot API guide. Requires authentication; API-key scope: view.
get/v1/spot/orders/{orderID}/fills
Request
- Base URLhttps://api.ondoperps.xyz
- URLhttps://api.ondoperps.xyz/v1/spot/orders/{orderID}/fills
- 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": [
{
"id": "70a37d8f972f2494837f9dba8364cbb4",
"orderId": "197ec08e001658690721be129e7fa595",
"clientOrderId": "order123",
"market": "SPY-USDC",
"price": "1.55",
"size": "5.403",
"side": "buy",
"filledCost": "8.37465",
"fee": "0.0837",
"time": "2022-06-16T12:35:11.123456Z"
}
]
}Changes
- info
endpoint added
- info