Skip to main content
GET
/
v1
/
perps
/
twap
/
order
/
{orderID}
/
fills
Get TWAP Order Fills
curl --request GET \
  --url https://api.ondoperps.xyz/v1/perps/twap/order/{orderID}/fills \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "result": [
    {
      "id": "70a37d8f972f2494837f9dba8364cbb4",
      "orderId": "child_abc123",
      "parentOrderID": "twap_70a37d8f972f2494837f9dba8364cbb4",
      "market": "AAPL-USD.P",
      "price": "227.50",
      "size": "0.33",
      "side": "buy",
      "filledCost": "75.08",
      "fee": "0.04",
      "time": "2025-03-05T14:01:00Z",
      "isMaker": false
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orderID
string
required

TWAP order ID (prefixed with twap_)

Example:

"twap_70a37d8f972f2494837f9dba8364cbb4"

Response

List of fills for all child orders

success
boolean
required

Whether the request was successful

Example:

true

error
string

Error message, present only on failure

Example:

""

error_code
string

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecated
string

Deprecation notice, if applicable

Example:

""

result
object[]