Discover/blockchair.com API
live

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.

Endpoints
3
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/b3b047ed-9dd9-45a3-b990-ee85182c6e35/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/b3b047ed-9dd9-45a3-b990-ee85182c6e35/get_bitcoin_stats' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Retrieve current Bitcoin blockchain statistics including block height, transaction counts, mempool data, mining difficulty, hashrate, market price, and suggested transaction fees.

Input

No input parameters required.

Response
{
  "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.

Common use cases
  • Display live Bitcoin mempool congestion and suggested fee estimates in a wallet application using mempool_transactions and suggested_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_stats call.
  • Monitor Bitcoin mining difficulty changes over time by polling difficulty and hashrate_24h from get_bitcoin_stats.
  • Aggregate cryptocurrency news by source domain and language tag using the source, language, and tags fields from get_news.
  • Track Bitcoin market cap and price movements alongside on-chain data by combining market_price_usd and market_cap_usd with block and transaction metrics.
  • Feed a crypto alerting system that triggers when mempool_transactions crosses a configurable threshold.
  • Populate a crypto research portal with recent multilingual news articles using the permalink and description fields from get_news.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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.

Frequently asked questions
Does Blockchair have an official developer API?+
Yes. Blockchair provides an official public API documented at https://blockchair.com/api/docs. It covers a broader set of endpoints including address lookups, transaction details, and block data across many chains.
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?+
The 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?+
Not currently. The three endpoints cover aggregate chain statistics, multi-chain summaries, and news. Individual address lookups and transaction-level data are not included. You can fork this API on Parse and revise it to add an address or transaction endpoint drawing on Blockchair's broader data.
How fresh is the data from `get_bitcoin_stats`?+
The endpoint reflects near-real-time blockchain state, including the current 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.
Page content last updated . Spec covers 3 endpoints from blockchair.com.
Related APIs in Crypto Web3See all →
opensea.io API
Search NFT collections and discover detailed stats, browse individual items, and track collection activity all in one place. Get real-time insights into collection performance and find the NFTs you're looking for on OpenSea.
ens.vision API
Search and explore ENS domains across the marketplace, discover owner portfolios and activity feeds, and resolve names to addresses with complete text records. Get domain details, browse categories, view offers and recommendations, and track all marketplace listings in one place.
nseindia.com API
Track live NSE stock prices, monitor indices, analyze option chains, and access corporate announcements with real-time market data from India's National Stock Exchange. View equity quotes with full order books, identify top gainers/losers, analyze 52-week highs/lows, and explore historical price trends all in structured JSON format.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
studio.glassnode.com API
Access comprehensive on-chain and market analytics for cryptocurrencies, including asset fundamentals, supply dynamics, futures data, and profit/loss metrics. Search and analyze assets with historical chart data and market overview information to track crypto performance and trends.
crypto-fundraising.info API
Track cryptocurrency fundraising activity by searching projects and investors, viewing deal details, and staying updated with the latest crypto funding news and top active venture funds. Monitor major fundraising rounds, explore investor portfolios, and research emerging crypto projects all in one place.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.