---
title: "Get the best block height of BRC20 data."
method: GET
path: "/v1/indexer/brc20/bestheight"
tags: ["BRC-20"]
---

# Get the best block height of BRC20 data.

`GET /v1/indexer/brc20/bestheight`

Get the best block height of BRC20 data. This value will be consistent with the latest block height a short time after the block has been confirmed.

## Response `200`

Successful operation

- object
  - `code` 0 | -1
  - `msg` string
  - `data` object
    - `height` integer — best block height of brc20
    - `total` integer — total number of brc20 tickers

## Other responses

- `401` — Invalid API Key

---

[API](https://skmtc.net/unisat/apis/unisat-wallet-openapi.md) · [All operations](https://skmtc.net/unisat/apis/unisat-wallet-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unisat/unisat-wallet-openapi/revisions/68de350419c7/schema)
