Skip to main content

GET /api/v2/feestats/{block_id} - Blockbook REST API

Returns fee statistics for a block, including transaction count, total fees, average fee per kilobyte, and the fee-per-kilobyte distribution by decile.

Updated on
Aug 09, 2026
Please note that this REST method requires the Zcash Blockbook enabled on your Quicknode endpoint.

Path Parameters

block_id
string
REQUIRED

The block height or block hash to query.

Query Parameters

Returns

txCount
integer

Number of transactions in the block.

totalFeesSat
string

Total fees paid in the block, in satoshis.

averageFeePerKb
integer

Average fee per kilobyte across the block, in satoshis.

decilesFeePerKb
array

Fee-per-kilobyte distribution split into deciles (11 values, lowest to highest), in satoshis.

Request
Response
1
{
2
"txCount": 0,
3
"totalFeesSat": "0",
4
"averageFeePerKb": 0,
5
"decilesFeePerKb": [
6
0,
7
0,
8
0,
9
0,
10
0,
11
0,
12
0,
13
0,
14
0,
15
0,
16
0
17
]
18
}
1
{
2
"txCount": 0,
3
"totalFeesSat": "0",
4
"averageFeePerKb": 0,
5
"decilesFeePerKb": [
6
0,
7
0,
8
0,
9
0,
10
0,
11
0,
12
0,
13
0,
14
0,
15
0,
16
0
17
]
18
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free