---
title: "Get fee statistics for a block."
method: GET
path: "/api/v2/feestats/{blockId}"
tags: ["Fees"]
---

# Get fee statistics for a block.

`GET /api/v2/feestats/{blockId}`

Returns fee statistics for transactions in one block.

Load estimate: Medium to high; grows with the number of transactions
in the requested block.

## Path parameters

- `blockId` string, required

## Response `200`

Fee statistics.

- FeeStats
  - `txCount` integer, required
  - `totalFeesSat` string — Integer amount in the lowest chain denomination, encoded as a string.
  - `averageFeePerKb` number, required
  - `decilesFeePerKb` number[], required

## Other responses

- `default` — Public API error. Public validation errors are HTTP 400; internal errors are HTTP 500.

---

[API](https://skmtc.dev/trezor/apis/blockbook-api.md) · [All operations](https://skmtc.dev/trezor/apis/blockbook-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trezor/blockbook-api/revisions/01c375da86bc/schema)
