---
title: "Get trade stats"
method: POST
path: "/orders/v1/get_trade_stats"
tags: ["CLOB"]
---

# Get trade stats

`POST /orders/v1/get_trade_stats`

Get trade stats for a given instrument.

## Headers

- `X-SCX-SIGNED` string, required
- `X-SCX-TIMESTAMP` string, required

## Request body

- PostTradeStatsRequest
  - `bars` number — The number of bars to return in the given time window
  - `end_time` string — The end time of the time window
  - `start_time` string — The start time of the time window
  - `symbol` string — The symbol for the instrument

## Response `200`

A successful response

- PostTradeStatsResponse
  - `bar_end_time` string[]
  - `bar_start_time` string[]
  - `bars` object[]
    - `cleared_notional` string — The cleared notional amount for the given time window of the instrument.
    - `cleared_trade_count` string — The cleared trade count for the given time window of the instrument.
    - `cleared_volume` string — The cleared volume for the given time window of the instrument.
    - `first` string — The first trade price for the given time window of the instrument.
    - `high` string — The highest trade price for the given time window of the instrument.
    - `last` string — The last trade price for the given time window of the instrument.
    - `low` string — The lowest trade price for the given time window of the instrument.
    - `notional` string — The notional amount for the given time window of the instrument.
    - `total_trade_count` string — The total trade count for the given time window of the instrument.
    - `volume` string — The volume for the given time window of the instrument.
  - `stats` object — Trading statistics for the filtered symbol
    - `cleared_notional` string — The cleared notional amount for the given time window of the instrument.
    - `cleared_trade_count` string — The cleared trade count for the given time window of the instrument.
    - `cleared_volume` string — The cleared volume for the given time window of the instrument.
    - `first` string — The first trade price for the given time window of the instrument.
    - `high` string — The highest trade price for the given time window of the instrument.
    - `last` string — The last trade price for the given time window of the instrument.
    - `low` string — The lowest trade price for the given time window of the instrument.
    - `notional` string — The notional amount for the given time window of the instrument.
    - `total_trade_count` string — The total trade count for the given time window of the instrument.
    - `volume` string — The volume for the given time window of the instrument.

## Other responses

- `default` — An error occurred

---

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