---
title: "Compressed/Aggregate Trades List"
method: GET
path: "/api/v3/aggTrades"
tags: ["Market"]
---

# Compressed/Aggregate Trades List

`GET /api/v3/aggTrades`

Get compressed, aggregate trades. Trades that fill at the time, from the same order, with the same price will have the quantity aggregated.
- If `fromId`, `startTime`, and `endTime` are not sent, the most recent aggregate trades will be returned.
- Note that if a trade has the following values, this was a duplicate aggregate trade and marked as invalid:

  p = '0' // price

  q = '0' // qty

  f = -1 // ﬁrst_trade_id

  l = -1 // last_trade_id

Weight(IP): 2

## Query parameters

- `symbol` string, required
- `fromId` integer
- `startTime` integer
- `endTime` integer
- `limit` integer

## Response `200`

Trade list

- AggTrade[]
  - `a` integer, required — Aggregate tradeId
  - `p` string, required — Price
  - `q` string, required — Quantity
  - `f` integer, required — First tradeId
  - `l` integer, required — Last tradeId
  - `T` boolean, required — Timestamp
  - `m` boolean, required — Was the buyer the maker?
  - `M` boolean, required — Was the trade the best price match?

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/binance/apis/binance-public-spot-api.md) · [All operations](https://skmtc.net/binance/apis/binance-public-spot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/binance/binance-public-spot-api/revisions/0dd2f133e12d/schema)
