---
title: "Rescan the blockchain"
method: POST
path: "/cryptos/{cryptoCode}/rescan"
tags: ["Blockchain"]
---

# Rescan the blockchain

`POST /cryptos/{cryptoCode}/rescan`

Initiates a rescan of the blockchain for the specified cryptocurrency to update the state of tracked addresses and transactions.

## Path parameters

- `cryptoCode` string, required

## Request body

- object
  - `startHeight` integer — The block height from which to start the rescan.

## Response `200`

Rescan initiated successfully.

- object
  - `status` string

## Changes

- **2024-11-25** `6b9539137e6a` — 1 warning, 4 info
  - removed the request property `transactions`
  - api tag `Blockchain` added
  - added the new optional request property `startHeight`
  - added the media type `application/json` for the response with the status `200`
  - …1 more
- **2024-11-18** `b5092f204599` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/changes/cryptos/:cryptoCode/rescan/post.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/7a96af40bbcc/schema)
