---
title: "Estimate fee rate"
method: GET
path: "/v1/cryptos/{cryptoCode}/fees/{blockCount}"
tags: ["Blockchain"]
---

# Estimate fee rate

`GET /v1/cryptos/{cryptoCode}/fees/{blockCount}`

Estimates the fee rate required for a transaction to be confirmed within a certain number of blocks.

## Path parameters

- `cryptoCode` string, required
- `blockCount` integer, required

## Response `200`

Fee rate estimated successfully.

- object
  - `feeRate` number — The estimated fee rate in satoshis per vByte.
  - `blockCount` integer — The target number of blocks for confirmation.

## Other responses

- `400` — Fee estimation unavailable. Error code: `fee-estimation-unavailable`

## Changes

- **2024-11-25** `cfaf4efd4ea8` — 2 breaking, 3 info
  - the `code` response's property type/format changed from `integer`/`` to `string`/`` for status `400`
  - removed the required property `error` from the response with the `400` status
  - added the optional property `httpCode` to the response with the `400` status
  - added the optional property `message` to the response with the `400` status
  - …1 more
- **2024-11-25** `39cdf0993736` — 2 info
  - api tag `Blockchain` added
  - api tag `Fees` removed
- **2024-11-25** `72a2dfa26976` — 1 info
  - endpoint added
- **2024-11-18** `b5092f204599` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/changes/v1/cryptos/:cryptoCode/fees/:blockCount/get.md)

---

[API](https://skmtc.dev/btcpayserver/apis/nbxplorer-api.md) · [All operations](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/btcpayserver/nbxplorer-api/revisions/208cac39e31a/schema)
