---
title: "BTC Memory pool Statistics (Sum)"
method: GET
path: "/btc/mempool/stats-in-total"
tags: ["BTC Mempool Statistics"]
---

# BTC Memory pool Statistics (Sum)

`GET /btc/mempool/stats-in-total`

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.

<br>

### Supported Metrics
| Metric Type  |   Description   |
|--------------|--------------------------------------------------------------------------------------|
| `tx_count*`  | The average number of unconfirmed transactions in selected time range (Number)       |
| `total_size` | The average aggregate size in bytes of transactions in selected time range (Megabyte)|
| `total_fee`  | The average total fee of unconfirmed transactions in selected time range (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 (Sum)

- 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.
      - `result` number, required — calculated metrics from unconfirmed transactions in Memory pool.

---

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