---
title: "Get organization trading stats"
url: https://docs.truemarkets.co/api/gateway/get-organization-transaction-stats
description: "Trading totals for every user the organization serves over a window that ends with the current UTC hour (24h) or day (7d, 30d). Volume and fees count every order with a fill, including partial fills of canceled orders, in the USD stablecoin it was quoted in."
---

Docs index: https://docs.truemarkets.co/llms.txt

# Get organization trading stats

Trading totals for every user the organization serves over a window that ends with the current UTC hour (`24h`) or day (`7d`, `30d`). Volume and fees count every order with a fill, including partial fills of canceled orders, in the USD stablecoin it was quoted in.

Requires an organization token for this organization, or an admin member of it. `TM-On-Behalf-Of` is rejected.

## Request

```
GET https://api.truemarkets.co/v1/gateway/organizations/{organization_id}/transactions/stats
```

### Authentication

Bearer token in `Authorization`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organization_id` | path | string (uuid) | yes | Your organization's id: the `tm.organization_id` claim of an organization token, also shown on the console Overview. |
| `window` | query | string, one of `24h`, `7d`, `30d` | yes |  |

## Responses

Every error status returns the same body, described in [Errors](https://docs.truemarkets.co/developer-resources/errors.md).

### 200

Stats retrieved successfully

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `window` | string, one of `24h`, `7d`, `30d` | yes | `24h` has 24 hourly buckets; `7d` and `30d` have daily buckets. |
| `volume` | string | yes | Filled notional in USD |
| `orders` | integer | yes | Orders placed in the window |
| `filled_orders` | integer | yes | Orders placed in the window with at least one fill |
| `fees` | string | yes | Fees charged on filled orders, in USD |
| `trading_users` | integer | yes | Served users with at least one fill in the window |
| `last_order_at` | string (date-time), nullable | yes | The most recent order by any served user, at any time; `null` when there is none |
| `series` | array of object | yes | Every bucket of the window, oldest first, the last holding now |
| `series[].timestamp` | string (date-time) | yes | Start of the bucket, UTC |
| `series[].volume` | string | yes | Filled notional in USD |
| `series[].orders` | integer | yes | Orders placed in the bucket |
| `top_assets` | array of object | yes | Up to 5 assets with a fill in the window, by volume, highest first; empty when nothing filled |
| `top_assets[].asset_id` | string (uuid) | yes |  |
| `top_assets[].asset_symbol` | string | yes |  |
| `top_assets[].volume` | string | yes | Filled notional in USD |

### 400

Bad request

### 401

Unauthorized

### 403

Forbidden. On order creation this also covers an asset that is not available to trade from the country the request came from.

### 500

Internal server error

### 503

Service unavailable
