---
title: "Get market fills"
method: GET
path: "/v1/trades/{symbol}/fills"
tags: ["Exchange"]
---

# Get market fills

`GET /v1/trades/{symbol}/fills`

## Request

- Base URL: `https://perp-api.phoenix.trade`
- URL: `https://perp-api.phoenix.trade/v1/trades/{symbol}/fills`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/phoenix/apis/phoenix-eternal-api/docs/v1/trades/:symbol/fills/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns unaggregated fill records for a market, ordered by time descending.
Only fills with valid transaction signatures are included.

## Path parameters

- `symbol` string, required

## Query parameters

- `limit` integer, nullable
- `cursor` string, nullable
- `startTime` integer, nullable
- `endTime` integer, nullable

## Response `200`

Market fills retrieved successfully

- FillsResponse: Fills response with pagination metadata.
  - `data` FillRecord[], required
    - `baseQty` string, required: Human-readable base quantity.
    - `instructionType` string, required: Instruction type that emitted this fill (e.g., PlaceMarketOrder, LiquidateViaMarketOrder).
    - `marketSymbol` string, required: Market symbol associated with the fill (e.g., "SOL-PERP").
    - `price` string, required: Human-readable price derived from the fill quantities.
    - `quoteQty` string, required: Human-readable quote quantity.
    - `timestamp` string, date-time, required: Formatted datetime string (ISO 8601).
    - `transactionSignature` string, required: Transaction signature containing the fill.
  - `hasMore` boolean, required
  - `nextCursor` string, nullable
  - `prevCursor` string, nullable

## Other responses

- `400`: Standard JSON error payload.
- `404`: Standard JSON error payload.
- `500`: Standard JSON error payload.

---

[API](https://skmtc.dev/phoenix/apis/phoenix-eternal-api.md) - [All operations](https://skmtc.dev/phoenix/apis/phoenix-eternal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phoenix/apis/phoenix-eternal-api/revisions/542796fe0648?raw)
