blockchair.com APIblockchair.com ↗
Access Bitcoin blockchain stats, multi-chain data for Ethereum, Dogecoin, Litecoin, and more, plus aggregated crypto news via the Blockchair API.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/b3b047ed-9dd9-45a3-b990-ee85182c6e35/get_bitcoin_stats' \ -H 'X-API-Key: $PARSE_API_KEY'
Retrieve current Bitcoin blockchain statistics including block height, transaction counts, mempool data, mining difficulty, hashrate, market price, and suggested transaction fees.
No input parameters required.
{
"type": "object",
"fields": {
"blocks": "integer, total number of blocks in the blockchain",
"difficulty": "number, current mining difficulty",
"hashrate_24h": "string, network hashrate over last 24 hours",
"transactions": "integer, total number of transactions",
"market_cap_usd": "number, total market capitalization in USD",
"market_price_usd": "number, current Bitcoin price in USD",
"best_block_height": "integer, height of the latest block",
"mempool_transactions": "integer, number of unconfirmed transactions",
"suggested_transaction_fee_per_byte_sat": "integer, recommended fee in satoshis per byte"
},
"sample": {
"data": {
"blocks": 947377,
"difficulty": 135594876535260,
"hashrate_24h": "883726191538845964881",
"transactions": 1348728691,
"market_cap_usd": 1541888255299,
"market_price_usd": 77010,
"best_block_height": 947376,
"hodling_addresses": 59072635,
"mempool_transactions": 1069,
"suggested_transaction_fee_per_byte_sat": 2
},
"status": "success"
}
}About the blockchair.com API
The Blockchair API exposes 3 endpoints covering Bitcoin blockchain statistics, cross-chain metrics for over five networks, and aggregated cryptocurrency news. The get_bitcoin_stats endpoint alone returns 9 fields including current block height, mempool transaction count, 24-hour hashrate, and a suggested fee in satoshis per byte. For teams monitoring multiple chains, get_all_chains_stats returns all supported networks in a single call.
Bitcoin Blockchain Statistics
The get_bitcoin_stats endpoint returns a snapshot of the current state of the Bitcoin network. Fields include best_block_height (the latest confirmed block), mempool_transactions (unconfirmed transaction count), difficulty, and hashrate_24h as a string. It also exposes market_price_usd and market_cap_usd for market context, and suggested_transaction_fee_per_byte_sat — a recommended fee in satoshis per byte useful for fee-estimation tooling. No input parameters are required.
Multi-Chain Coverage
The get_all_chains_stats endpoint returns a single object keyed by chain name. Covered chains include bitcoin, ethereum, litecoin, dogecoin, and bitcoin-cash. Each key maps to a stats object with the same structure used for the dedicated Bitcoin endpoint. This makes it straightforward to compare metrics across chains without issuing separate requests per network.
Cryptocurrency News Feed
The get_news endpoint returns aggregated articles from multiple sources, sorted by publication time descending. Each record includes title, description, source (the originating domain), link (direct URL to the article), time (UTC timestamp), language (two-letter ISO code), tags (comma-separated topic strings), and a permalink to the Blockchair-hosted version. An optional limit integer parameter controls how many items are returned. Articles span multiple languages, so the language field is relevant when filtering for specific audiences.
- Display live Bitcoin mempool congestion and suggested fee estimates in a wallet application using
mempool_transactionsandsuggested_transaction_fee_per_byte_sat. - Build a multi-chain dashboard comparing block heights and hashrates across Bitcoin, Ethereum, Litecoin, and Dogecoin from a single
get_all_chains_statscall. - Monitor Bitcoin mining difficulty changes over time by polling
difficultyandhashrate_24hfromget_bitcoin_stats. - Aggregate cryptocurrency news by source domain and language tag using the
source,language, andtagsfields fromget_news. - Track Bitcoin market cap and price movements alongside on-chain data by combining
market_price_usdandmarket_cap_usdwith block and transaction metrics. - Feed a crypto alerting system that triggers when
mempool_transactionscrosses a configurable threshold. - Populate a crypto research portal with recent multilingual news articles using the
permalinkanddescriptionfields fromget_news.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Blockchair have an official developer API?+
What does `get_all_chains_stats` return compared to `get_bitcoin_stats`?+
get_bitcoin_stats is scoped to Bitcoin and returns fields like suggested_transaction_fee_per_byte_sat and hashrate_24h. get_all_chains_stats returns a keyed object covering Bitcoin, Ethereum, Litecoin, Dogecoin, and Bitcoin Cash in one response, but the per-chain objects may not include every Bitcoin-specific field like fee suggestions, since not all chains share the same fee model.Can I filter the news feed by language or topic tag?+
get_news endpoint accepts a limit parameter to control result count, but does not currently expose filter parameters for language or tags. The returned records include both fields, so filtering must be done client-side after retrieval. You can fork this API on Parse and revise it to add server-side filtering by language or tag.Does the API cover individual address balances or transaction history?+
How fresh is the data from `get_bitcoin_stats`?+
best_block_height and live mempool_transactions count. However, market fields like market_price_usd may lag slightly depending on upstream data refresh cadence and are not a substitute for a dedicated market-data feed.