Blockchair API
Multi-blockchain explorer API covering Bitcoin, Ethereum and many more chains.
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
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 -s "https://api.blockchair.com/bitcoin/dashboards/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" curl -s "https://api.blockchair.com/bitcoin/stats"
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.balance | Address balance (chain’s smallest unit) |
| data.<id>.transactions[] | Recent transaction hashes for the address |
| context.api.request_cost | How much of your quota this call used |
| context.code | Mirrors the HTTP status |
| data (stats) | Chain-wide metrics: blocks, difficulty, mempool, market price |
Common errors
| 402 | Free daily budget exhausted — wait for reset or add a key. |
| 429 | Too many requests in a short window. |
| 400 | Malformed 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.