---
title: "Fees"
method: GET
path: "/trx/network-data/fees"
tags: ["TRX Network Data"]
---

# Fees

`GET /trx/network-data/fees`

This endpoint returns the statistics related to fees paid from executing transactions
| Metric | Description |
|--------|-------------|
| `fees_total` | The sum of all fees paid from executing transactions. |
| `fees_total_usd` | The sum of all fees paid from executing transactions, calculated in USD. |
| `fees_block_mean` | The average fee per block. |
| `fees_block_mean_usd` | The average fee per block, calculated in USD. |

## Query parameters

- `window` string
- `from` string
- `to` string
- `limit` integer
- `format` string

## Response `200`

Successful response.

- object
  - `status` object, required — The status object is return with most of requests and indicates if the request was successful. If it is not successful, error information is included.
    - `code` integer, required — HTTP status code
    - `message` string, required — Text description of the error or success.
  - `result` object, required
    - `window` string, required — The size of window. This metric supports only day resolution.
    - `data` object[], required
      - `date` string — The date in YYYY-DD-MM. This optional field only appears when window=day is used.
      - `fees_total` number, required — The total fees.
      - `fees_total_usd` number, required — The total fees in USD.
      - `fees_block_mean` number, required — The mean fees per block.
      - `fees_block_mean_usd` number, required — The mean fees per block in USD.

---

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