# Blockchair Blockchain Explorer API

> Bitcoin, Ethereum and 15+ chains: network stats, address balances and transactions from Blockchair

- Vendor: `blockchairblockchainexplorerap` · version 1.0 · category Blockchain · tags blockchain explorer api, bitcoin api, ethereum api, address balance api, crypto transactions api, mempool api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/blockchairblockchainexplorerap
- This document: https://apiclay.com/docs/blockchairblockchainexplorerap.md
- OpenAPI 3.1: https://apiclay.com/api/blockchairblockchainexplorerap/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `blockchairblockchainexplorerap`
- Updated: 2026-11-18

## About

## Blockchair Blockchain Explorer API

Blockchain data from Blockchair for Bitcoin, Ethereum, Litecoin, Dogecoin, Bitcoin Cash and other chains: network stats (blocks, transactions, mempool, fees, hashrate, price, market cap), an address's balance and transactions, and a transaction's inputs and outputs.

Data comes from **blockchair.com** (https://blockchair.com). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/stats?chain=bitcoin`, `/address?chain=bitcoin&amp;address=...`, `/transaction?chain=bitcoin&amp;hash=...`.

### Routes

#### GET `/stats` - Network stats
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| chain | path | string | yes | `bitcoin`, `ethereum`, `litecoin`, `dogecoin`, `bitcoin-cash`... |

Returns: `data` with `blocks`, `transactions`, `mempool_transactions`, `average_transaction_fee_usd_24h`, `hashrate_24h`, `market_price_usd`, `market_cap_usd`.

#### GET `/address` - Address
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| chain | path | string | yes | Chain. |
| address | path | string | yes | Address. |

Returns: `data..address` (`balance`, `received`, `spent`, `transaction_count`) and `transactions[]`.

#### GET `/transaction` - Transaction
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| chain | path | string | yes | Chain. |
| hash | path | string | yes | Tx hash. |

Returns: `data..transaction`, `inputs[]`, `outputs[]`.

### Caveats

- Blockchair's free tier is rate-limited per IP.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by blockchair.com.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /stats — Network stats
- Gateway: `GET https://api.apiclay.com/v1/api/blockchairblockchainexplorerap/stats`
- Public query params: `chain` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /address — Address
- Gateway: `GET https://api.apiclay.com/v1/api/blockchairblockchainexplorerap/address`
- Public query params: `chain` (string, required), `address` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /transaction — Transaction
- Gateway: `GET https://api.apiclay.com/v1/api/blockchairblockchainexplorerap/transaction`
- Public query params: `chain` (string, required), `hash` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/blockchairblockchainexplorerap/stats?chain=<chain>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
