---
title: "GET /fills/parentSubaccount"
method: GET
path: "/fills/parentSubaccount"
---

# GET /fills/parentSubaccount

`GET /fills/parentSubaccount`

## Query parameters

- `address` string, required
- `parentSubaccountNumber` number, double, required
- `includeTypes` FillType[]
- `excludeTypes` FillType[]
- `limit` number, double
- `page` number, double

## Response `200`

Ok

- FillResponse
  - `pageSize` integer
  - `totalResults` integer
  - `offset` integer
  - `fills` FillResponseObject[], required
    - `id` string, required
    - `side` 'BUY' | 'SELL', required
    - `liquidity` 'TAKER' | 'MAKER', required
    - `type` 'LIMIT' | 'LIQUIDATED' | 'LIQUIDATION' | 'DELEVERAGED' | 'OFFSETTING' | 'TWAP_SUBORDER', required
    - `market` string, required
    - `marketType` 'PERPETUAL' | 'SPOT', required
    - `price` string, required
    - `size` string, required
    - `fee` string, required
    - `affiliateRevShare` string, required
    - `createdAt` string, required
    - `createdAtHeight` string, required
    - `orderId` string
    - `clientMetadata` string
    - `subaccountNumber` integer, required
    - `builderFee` string
    - `builderAddress` string
    - `orderRouterAddress` string
    - `orderRouterFee` string
    - `positionSizeBefore` string
    - `entryPriceBefore` string
    - `positionSideBefore` string

## Changes

> 50 revisions in range; 1 could not be searched.

- **2025-11-06** `6eb1cdae6366` — 2 info
  - added the new optional `query` request parameter `excludeTypes`
  - added the new optional `query` request parameter `includeTypes`
- **2025-08-13** `bb4c0d2cb346` — 1 warning
  - added the new `TWAP_SUBORDER` enum value to the `fills/items/type` response property for the response status `200`
- **2025-08-06** `142c1f282b78` — 2 info
  - added the optional property `fills/items/orderRouterAddress` to the response with the `200` status
  - added the optional property `fills/items/orderRouterFee` to the response with the `200` status
- **2025-06-16** `4394fa410648` — 2 info
  - added the optional property `fills/items/builderAddress` to the response with the `200` status
  - added the optional property `fills/items/builderFee` to the response with the `200` status
- **2025-03-07** `e3188c41f132` — 4 warning
  - deleted the `query` request parameter `createdBeforeOrAt`
  - deleted the `query` request parameter `createdBeforeOrAtHeight`
  - deleted the `query` request parameter `market`
  - deleted the `query` request parameter `marketType`

[Full history](https://skmtc.dev/dydxprotocol/apis/indexer-api/changes/fills/parentSubaccount/get.md)

---

[API](https://skmtc.dev/dydxprotocol/apis/indexer-api.md) · [All operations](https://skmtc.dev/dydxprotocol/apis/indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dydxprotocol/indexer-api/revisions/5005547cef75/schema)
