---
title: "Mempool feerates (deprecated)"
method: GET
path: "/timeseries/mempool-feerates"
tags: ["Timeseries"]
---

# Mempool feerates (deprecated)

`GET /timeseries/mempool-feerates`

## Request

- Base URL: `https://api.coinmetrics.io/v4`
- URL: `https://api.coinmetrics.io/v4/timeseries/mempool-feerates`
- Auth: API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/docs/timeseries/mempool-feerates/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns mempool feerates for the specified assets.<br/> This endpoint is useful for those who want to explore the history of the feerate distribution and potentially select the time period with the lowest commissions.<br/> Results are ordered by `(asset, time)`.<br/> To fetch the next page of results use the `next_page_url` JSON response field.

## Query parameters

- `assets` string[], required
- `start_time` string
- `end_time` string
- `start_inclusive` boolean
- `end_inclusive` boolean
- `timezone` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `pretty` boolean
- `format` 'json' | 'csv'
- `next_page_token` string

## Response `200`

Mempool feerates.

- MempoolFeeratesResponse: Mempool feerates response.
  - `data` MempoolFeerate[], required
    - `asset` string, required: Name of the asset.
    - `time` string, required: The time in ISO 8601 date-time format. Always with nanoseconds precision.
    - `feerates` MempoolFeerateBand[], required
      - `feerate` string, required: Rounded feerate value used to aggregate the transactions into the current mempool feerate band. Unit is sat/vB.
      - `count` string, required: Amount of transactions included into the current mempool feerate band.
      - `consensus_size` string, required: Consensus sizes summed up for all the transactions included into the current mempool feerate band. vSizes sum can be derived as 'vSize = consensusSize / 4'.
      - `physical_size` string: Physical sizes summed up for all the transactions included into the current mempool feerate band.
      - `fees` string, required: Fees summed up for all the transactions included into the current mempool feerate band. Unit is BTC.
  - `next_page_token` string: Token of the next page results for a given request.
  - `next_page_url` string: URL of the next page results for a given request.

## Other responses

- `400`: Asset not found.
- `401`: Requested resource requires authorization.
- `403`: Requested resource is not available with supplied credentials.
- `414`: Provided URI is too long. It must not be greater than 10000 symbols.

---

[API](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4.md) - [All operations](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/revisions/774268c0a4fe?raw)
