# Blockchair API reference

> Blockchair's API serves blockchain data per chain. The Bitcoin dashboard endpoints return an address, several addresses, a transaction or a block in one call, so an investigator can follow funds from an address or a transaction hash. Calls go to https://api.blockchair.com/{chain}/... (for example…

Source: https://osinttools.io/apis/blockchair/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/blockchair/

- Base URL: https://api.blockchair.com
- Authentication: API key in the `key` query parameter. Get a key: https://blockchair.com/api/plans Optional for occasional use; do not expose the key in client-side code.
- Rate limits: Historically 30 requests per minute without a key; some options add request points (transaction_details=true adds 1). Keyed clients get a parallel-request limit only under sustained overload.
- Vendor docs: https://blockchair.com/api/docs

## Overview

Blockchair's API serves blockchain data per chain. The Bitcoin dashboard endpoints return an address, several addresses, a transaction or a block in one call, so an investigator can follow funds from an address or a transaction hash.

Calls go to `https://api.blockchair.com/{chain}/...` (for example `bitcoin`). Responses have a `data` object and a `context` object; `context` holds the latest block state, the request cost and `market_price_usd`. A key is optional for occasional use and is passed as the `key` query parameter.

This page was written from Blockchair's official API changelog on GitHub, because the main reference page at blockchair.com/api/docs refused automated access (HTTP 401). Only fields the changelog names are listed; read the [full reference](https://blockchair.com/api/docs) for the rest.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Bad request, for example an unsupported parameter |
| 402 | Too many requests per minute on the free tier |
| 404 | Endpoint not found or removed |
| 429 | IP banned for one hour after repeated 402 responses |
| 430 | Abusive or resource-heavy use, automatic ban |
| 435 | A keyed client exceeded the parallel request limit |
| 500 | Back-end error |

## Bitcoin dashboards

### Balance, transactions and unspent outputs of one Bitcoin address.

`GET /bitcoin/dashboards/address/{address}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Returns the address data with a utxo array. list sizes are set with limit and offset; limit=0 returns summary statistics only.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `address` | path | string | yes | Bitcoin address Example: bc1qexample0000000000000000000000000000 |
| `limit` | query | string | no | List size; A,B sets transactions and UTXOs separately. Default 100, maximum 10,000 Example: 10 |
| `offset` | query | string | no | Pagination, same A,B form. Default 0, maximum 1,000,000 Example: 0 |
| `transaction_details` | query | boolean | no | Adds hash, time and balance_change to each transaction item (1 extra request point) Example: true |
| `state` | query | string | no | latest excludes unconfirmed data Example: latest |

Response fields:

- `data` (object): Address data, keyed by address, with transactions and a utxo array
- `context.state` (integer): Latest block
- `context.request_cost` (integer): Request points used
- `context.market_price_usd` (number): Market price in USD

```bash
curl 'https://api.blockchair.com/bitcoin/dashboards/address/bc1qexample0000000000000000000000000000?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {
    "bc1qexample0000000000000000000000000000": {
      "utxo": [
        {
          "block_id": 800000,
          "transaction_hash": "aa11bb22cc33dd44ee55ff66aa11bb22cc33dd44ee55ff66aa11bb22cc33dd44",
          "index": 0,
          "value": 150000
        }
      ]
    }
  },
  "context": {
    "state": 800010,
    "request_cost": 1,
    "market_price_usd": 35000
  }
}
```

### Data for up to 100 Bitcoin addresses in one call.

`GET /bitcoin/dashboards/addresses/{addresses}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Addresses are comma-separated.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `addresses` | path | string | yes | Comma-separated addresses, up to 100 Example: bc1qexample0000000000000000000000000000,bc1qexample1111111111111111111111111111 |
| `limit` | query | string | no | List size Example: 10 |

Response fields:

- `data` (object): Per-address data
- `context.state` (integer): Latest block

```bash
curl 'https://api.blockchair.com/bitcoin/dashboards/addresses/bc1qexample0000000000000000000000000000%2Cbc1qexample1111111111111111111111111111?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {},
  "context": {
    "state": 800010,
    "request_cost": 2
  }
}
```

### Details of one Bitcoin transaction.

`GET /bitcoin/dashboards/transaction/{hash}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Inputs and outputs include scripthash_type for multisig; transactions include is_rbf.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | yes | Transaction hash Example: aa11bb22cc33dd44ee55ff66aa11bb22cc33dd44ee55ff66aa11bb22cc33dd44 |

Response fields:

- `data` (object): Transaction data keyed by hash
- `context.market_price_usd` (number): Market price in USD

```bash
curl 'https://api.blockchair.com/bitcoin/dashboards/transaction/aa11bb22cc33dd44ee55ff66aa11bb22cc33dd44ee55ff66aa11bb22cc33dd44?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {},
  "context": {
    "state": 800010,
    "request_cost": 1,
    "market_price_usd": 35000
  }
}
```

### Details of one Bitcoin block by hash or height.

`GET /bitcoin/dashboards/block/{id}`

- Footprint: passive (the target is not contacted)

The block data includes a list of its transaction hashes.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Block hash or height Example: 800000 |

Response fields:

- `data` (object): Block data including transaction hashes
- `context.state` (integer): Latest block

```bash
curl 'https://api.blockchair.com/bitcoin/dashboards/block/800000?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {},
  "context": {
    "state": 800010,
    "request_cost": 1
  }
}
```

### Data for an extended public key.

`GET /bitcoin/dashboards/xpub/{xpub}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Dashboard for an xpub.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `xpub` | path | string | yes | Extended public key Example: xpub0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |

Response fields:

- `data` (object): xpub data
- `context.state` (integer): Latest block

```bash
curl 'https://api.blockchair.com/bitcoin/dashboards/xpub/xpub0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {},
  "context": {
    "state": 800010,
    "request_cost": 1
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
