---
title: "Returns a filtered array of order fills"
method: GET
path: "/v1/order/fill"
tags: ["Order"]
---

# Returns a filtered array of order fills

`GET /v1/order/fill`

## Query parameters

- `order` 'asc' | 'desc'
- `limit` integer
- `cursor` string
- `subaccountId` string, uuid, required
- `productIds` string[]
- `createdAfter` integer
- `createdBefore` integer
- `side` 0 | 1
- `orderBy` 'productId' | 'filled' | 'price' | 'createdAt'
- `includeSelfTrades` boolean
- `expandSelfTrades` boolean

## Response `200`

- PageOfOrderFillDtos
  - `data` OrderFillDto[], required — Array of order fill objects
    - `clientOrderId` string — A subaccount scoped unique client-generated order id (either a UUID or alphanumeric string up to 32 characters)
    - `createdAt` integer, required — Fill creation timestamp (ms since Unix Epoch)
    - `feeUsd` string, decimal, required — The provided subaccount's charged fee in USD expressed as a decimal (precision: 9)
    - `filled` string, decimal, required — Quantity filled in native units expressed as a decimal (precision: 9)
    - `id` string, uuid, required — Id of the fill
    - `isMaker` boolean, required — Indicates if the fill was a maker or taker
    - `orderId` string, uuid, required — Id of the order (from the context of the specified subaccount)
    - `price` string, decimal, required — Fill price in expressed as a decimal (precision: 9)
    - `productId` string, uuid, required — Id of product the order fill was made against
    - `reduceOnly` boolean, required — Indicates if the fill is reduce only
    - `side` 0 | 1, required
    - `subaccountId` string, uuid, required — Id of the subaccount associated to order fill
    - `type` 'MARKET' | 'LIMIT', required
  - `hasNext` boolean, required — Whether there are more objects to paginate through
  - `nextCursor` string — Pointer to the next page in pagination dataset

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/ethereal/apis/ethereal-exchange-api.md) · [All operations](https://skmtc.net/ethereal/apis/ethereal-exchange-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ethereal/ethereal-exchange-api/revisions/6e6f8dad92bf/schema)
