---
title: "Returns a filtered list of fills for a given position"
method: GET
path: "/v1/position/fill"
tags: ["Position"]
---

# Returns a filtered list of fills for a given position

`GET /v1/position/fill`

## Query parameters

- `order` 'asc' | 'desc'
- `limit` integer
- `cursor` string
- `positionId` string, uuid, required
- `orderBy` 'price' | 'filled' | 'createdAt'

## Response `200`

- PageOfPositionFillDtos
  - `data` PositionFillDto[], required — Array of position fill objects
    - `createdAt` integer, required — Fill creation timestamp (ms since Unix Epoch)
    - `feeUsd` string, decimal, required — The 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)
    - `price` string, decimal, required — Fill price expressed as a decimal (precision: 9)
    - `realizedPnl` string, decimal, required — Realized PnL from the fill in USD expressed as a decimal (precision: 9)
    - `reduceOnly` boolean, required — Indicates if the fill is reduce only
    - `side` 0 | 1, required
    - `type` 'MARKET' | 'LIMIT' | 'REALIZED_PNL' | 'LIQUIDATION' | 'REALIZED_FUNDING' | 'DELEVERAGE', required — Corresponding order type that led to the position fill
  - `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)
