---
title: "Get Bitcoin blockchain information"
method: GET
path: "/v3/bitcoin/info"
tags: ["Bitcoin - Tatum API"]
---

# Get Bitcoin blockchain information

`GET /v3/bitcoin/info`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/bitcoin/info`
- Auth: API key in header `x-api-key`

/v3/bitcoin/info

**1 credit per API call**

Gets Bitcoin blockchain information. Obtains basic info like the testnet / mainnet version of the chain, the current block number and its hash.

## Response `200`

OK

- BtcInfo
  - `chain` string: Chain of the blockchain, main or test.
  - `blocks` number: Last block.
  - `headers` number: Last headers.
  - `bestblockhash` string: Hash of the last block.
  - `difficulty` number: Difficulty of the algorithm.

## Other responses

- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/blockchain.md) - [All operations](https://skmtc.dev/tatum/apis/blockchain/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/blockchain/revisions/f9623a85f420?raw)
