API Directory › ₿ Cryptocurrency › Blockchair
API KeyHTTPSCORS

Blockchair API

Multi-blockchain explorer API covering Bitcoin, Ethereum and many more chains.

Auth
API Key
HTTPS
Yes
CORS
Yes
Open Blockchair docs ↗

What it does

Blockchair is a multi-blockchain explorer API covering Bitcoin, Ethereum, Litecoin, Bitcoin Cash, Dogecoin, Monero and many more through one consistent interface. It offers ‘dashboards’ (address, transaction, block), full-text search, stats and even SQL-like querying of blockchain data.

Base URL

https://api.blockchair.com

Authentication

Light use is free and key-less. An API key (paid) is sent as ?key=YOUR_KEY and raises the daily and per-minute limits. Paths are /{chain}/dashboards/{type}/{id}.

Code examples

curl
curl -s "https://api.blockchair.com/bitcoin/dashboards/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
curl -s "https://api.blockchair.com/bitcoin/stats"
Python
import requests

r = requests.get(
  "https://api.blockchair.com/ethereum/dashboards/address/"
  "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae", timeout=15)
d = r.json()["data"]
addr = next(iter(d))
print(d[addr]["address"]["balance"])

Rate limits & quotas

The free tier allows roughly 1,440 requests/day (about 1/minute sustained) with short bursts tolerated; exceed it and you get HTTP 429 or 402. Each response includes a context block with the server time, code and your remaining request budget.

Key response fields

data.<id>.address.balanceAddress balance (chain’s smallest unit)
data.<id>.transactions[]Recent transaction hashes for the address
context.api.request_costHow much of your quota this call used
context.codeMirrors the HTTP status
data (stats)Chain-wide metrics: blocks, difficulty, mempool, market price

Common errors

402Free daily budget exhausted — wait for reset or add a key.
429Too many requests in a short window.
400Malformed address/hash for that chain, or unknown chain slug.

When to use it (and alternatives)

The pick when you need one API across many chains with a uniform response shape. For a generous free single-chain Bitcoin explorer see Blockchain.com; for EVM-chain contract and log data use Etherscan or Blockscout.

FAQ

Which blockchains are supported?

Most major UTXO and account chains — Bitcoin, Ethereum, Litecoin, Bitcoin Cash, Dogecoin, Dash, Zcash, Monero, Ripple, Stellar and others. The chain slug goes first in the path.

How do I check my remaining free quota?

Read context.api.request_cost and the limit info in each response, or call /{chain}/stats which also returns your context.

Is there really an SQL interface?

Yes — the ?q= query language and CSV database dumps let you filter and aggregate blockchain data server-side. It is powerful but counts more heavily against your quota.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

Crypto PriceCryptoLarz app

Related Cryptocurrency APIs

← Back

More Cryptocurrency APIs · All 196 APIs