---
title: "BTC Memory pool Statistics by relative fee range"
method: GET
path: "/btc/mempool/stats-by-relative-fee"
tags: ["BTC Mempool Statistics"]
---

# BTC Memory pool Statistics by relative fee range

`GET /btc/mempool/stats-by-relative-fee`

Mempool Statistics contains three metrics related to transactions waiting to be confirmed. You can see metrics for the number of transactions, the total amount of fees, and the aggregate size in bytes of transactions. Each metric was calculated based on fee level.

<br>

### Supported Metrics
| Metric Type  |   Description   |
|--------------|--------------------------------------------------------|
| `tx_count*`  | The total number of unconfirmed transactions (Number)  |
| `total_size` | The aggregated size in bytes of transactions  (Megabyte)|
| `total_fee`  | The total fee of unconfirmed transactions    (BTC)     |

> (*) Default
<br>

### Supported Windows

| Supported Windows |
|-------------------|
| `hour`, `day*`    |

> (*) Default

## Query parameters

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

## Response `200`

BTC Mempool Stats by relative fee

- 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. It can be day or hour, and it depends on the user request.
    - `data` object[], required
      - `date` string, required — The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=block is used.
      - `metric_type` string, required — metric type.
      - `metric_unit` string, required — an unit of the retrieved metric.
      - `relative_fee_range_0_1` number — calculated metrics from unconfirmed transactions which are contained in Fee level 0 ~ 1 (sat.vByte).
      - `relative_fee_range_1_2` number — calculated metrics from unconfirmed transactions which are contained in Fee level 1 ~ 2 (sat.vByte).
      - `relative_fee_range_2_3` number — calculated metrics from unconfirmed transactions which are contained in Fee level 2 ~ 3 (sat.vByte).
      - `relative_fee_range_3_4` number — calculated metrics from unconfirmed transactions which are contained in Fee level 3 ~ 4 (sat.vByte).
      - `relative_fee_range_4_5` number — calculated metrics from unconfirmed transactions which are contained in Fee level 4 ~ 5 (sat.vByte).
      - `relative_fee_range_5_6` number — calculated metrics from unconfirmed transactions which are contained in Fee level 5 ~ 6 (sat.vByte).
      - `relative_fee_range_6_7` number — calculated metrics from unconfirmed transactions which are contained in Fee level 6 ~ 7 (sat.vByte).
      - `relative_fee_range_7_8` number — calculated metrics from unconfirmed transactions which are contained in Fee level 7 ~ 8 (sat.vByte).
      - `relative_fee_range_8_10` number — calculated metrics from unconfirmed transactions which are contained in Fee level 8 ~ 10 (sat.vByte).
      - `relative_fee_range_10_12` number — calculated metrics from unconfirmed transactions which are contained in Fee level 10 ~ 12 (sat.vByte).
      - `relative_fee_range_12_14` number — calculated metrics from unconfirmed transactions which are contained in Fee level 12 ~ 14 (sat.vByte).
      - `relative_fee_range_14_17` number — calculated metrics from unconfirmed transactions which are contained in Fee level 14 ~ 17 (sat.vByte).
      - `relative_fee_range_17_20` number — calculated metrics from unconfirmed transactions which are contained in Fee level 17 ~ 20 (sat.vByte).
      - `relative_fee_range_20_25` number — calculated metrics from unconfirmed transactions which are contained in Fee level 20 ~ 25 (sat.vByte).
      - `relative_fee_range_25_30` number — calculated metrics from unconfirmed transactions which are contained in Fee level 25 ~ 30 (sat.vByte).
      - `relative_fee_range_30_40` number — calculated metrics from unconfirmed transactions which are contained in Fee level 30 ~ 40 (sat.vByte).
      - `relative_fee_range_40_50` number — calculated metrics from unconfirmed transactions which are contained in Fee level 40 ~ 50 (sat.vByte).
      - `relative_fee_range_50_60` number — calculated metrics from unconfirmed transactions which are contained in Fee level 50 ~ 60 (sat.vByte).
      - `relative_fee_range_60_70` number — calculated metrics from unconfirmed transactions which are contained in Fee level 60 ~ 70 (sat.vByte).
      - `relative_fee_range_70_80` number — calculated metrics from unconfirmed transactions which are contained in Fee level 70 ~ 80 (sat.vByte).
      - `relative_fee_range_80_100` number — calculated metrics from unconfirmed transactions which are contained in Fee level 80 ~ 100 (sat.vByte).
      - `relative_fee_range_100_120` number — calculated metrics from unconfirmed transactions which are contained in Fee level 100 ~ 120 (sat.vByte).
      - `relative_fee_range_120_140` number — calculated metrics from unconfirmed transactions which are contained in Fee level 120 ~ 140 (sat.vByte).
      - `relative_fee_range_140_170` number — calculated metrics from unconfirmed transactions which are contained in Fee level 140 ~ 170 (sat.vByte).
      - `relative_fee_range_170_200` number — calculated metrics from unconfirmed transactions which are contained in Fee level 170 ~ 200 (sat.vByte).
      - `relative_fee_range_200_250` number — calculated metrics from unconfirmed transactions which are contained in Fee level 200 ~ 250 (sat.vByte).
      - `relative_fee_range_250_300` number — calculated metrics from unconfirmed transactions which are contained in Fee level 250 ~ 300 (sat.vByte).
      - `relative_fee_range_300_400` number — calculated metrics from unconfirmed transactions which are contained in Fee level 300 ~ 400 (sat.vByte).
      - `relative_fee_range_400_500` number — calculated metrics from unconfirmed transactions which are contained in Fee level 400 ~ 500 (sat.vByte).
      - `relative_fee_range_500_600` number — calculated metrics from unconfirmed transactions which are contained in Fee level 500 ~ 600 (sat.vByte).
      - `relative_fee_range_600_700` number — calculated metrics from unconfirmed transactions which are contained in Fee level 600 ~ 700 (sat.vByte).
      - `relative_fee_range_700_800` number — calculated metrics from unconfirmed transactions which are contained in Fee level 700 ~ 800 (sat.vByte).
      - `relative_fee_range_800_1000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 800 ~ 1000 (sat.vByte).
      - `relative_fee_range_1000_1200` number — calculated metrics from unconfirmed transactions which are contained in Fee level 1000 ~ 1200 (sat.vByte).
      - `relative_fee_range_1200_1400` number — calculated metrics from unconfirmed transactions which are contained in Fee level 1200 ~ 1400 (sat.vByte).
      - `relative_fee_range_1400_1700` number — calculated metrics from unconfirmed transactions which are contained in Fee level 1400 ~ 1700 (sat.vByte).
      - `relative_fee_range_1700_2000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 1700 ~ 2000 (sat.vByte).
      - `relative_fee_range_2000_2500` number — calculated metrics from unconfirmed transactions which are contained in Fee level 2000 ~ 2500 (sat.vByte).
      - `relative_fee_range_2500_3000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 2500 ~ 3000 (sat.vByte).
      - `relative_fee_range_3000_4000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 3000 ~ 4000 (sat.vByte).
      - `relative_fee_range_4000_5000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 4000 ~ 5000 (sat.vByte).
      - `relative_fee_range_5000_6000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 5000 ~ 6000 (sat.vByte).
      - `relative_fee_range_6000_7000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 6000 ~ 7000 (sat.vByte).
      - `relative_fee_range_7000_8000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 7000 ~ 8000 (sat.vByte).
      - `relative_fee_range_8000_10000` number — calculated metrics from unconfirmed transactions which are contained in Fee level 8000 ~ 10000 (sat.vByte).
      - `relative_fee_range_10000_inf` number — calculated metrics from unconfirmed transactions which are contained in Fee level 10000 ~ inf (sat.vByte).

---

[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)
