---
title: "Get trade count"
method: GET
path: "/v1/stats/trades"
tags: ["Stats"]
---

# Get trade count

`GET /v1/stats/trades`

Get number of trades for specified time window

## Query parameters

- `window` string
- `include_bots` boolean

## Response `200`

A successful response.

- ApiGetTradesResponse
  - `total_trades` string, int64
  - `markets` ApiMarketTrades[]
    - `market_id` string, int64
    - `market_name` string
    - `trades` string, int64
  - `window` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rise/apis/risex-rest-api.md) · [All operations](https://skmtc.net/rise/apis/risex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rise/risex-rest-api/revisions/194af8339c0d/schema)
