Discover/Blockchair API
live

Blockchair APIblockchair.com

Access Bitcoin blockchain stats, multi-chain data for Ethereum, Dogecoin, Litecoin, and more, plus aggregated crypto news via the Blockchair API.

Endpoint health
verified 1d ago
get_all_chains_stats
get_news
get_bitcoin_stats
3/3 passing latest checkself-healing
Endpoints
3
Updated
26d ago

What is the Blockchair 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.

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.
Call it over HTTPgrab 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'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace blockchair-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Blockchair SDK — blockchain stats and crypto news, bounded."""
from parse_apis.blockchair_blockchain_api import Blockchair, RateLimited

client = Blockchair()

# Get current Bitcoin network snapshot — single round-trip, no params.
btc = client.bitcoinstatses.get()
print(f"BTC block height: {btc.best_block_height}, price: ${btc.market_price_usd:,.0f}")
print(f"  mempool: {btc.mempool_transactions} txs, fee: {btc.suggested_transaction_fee_per_byte_sat} sat/byte")

# Multi-chain overview — compare pricing across chains in one call.
chains = client.chainsoverviews.get()
print(f"ETH: ${chains.ethereum.market_price_usd:,.2f} (dominance {chains.ethereum.market_dominance_percentage}%)")
print(f"LTC: ${chains.litecoin.market_price_usd:,.2f}, DOGE: ${chains.dogecoin.market_price_usd}")

# Latest crypto news — limit caps total items returned.
for article in client.newsarticles.list(limit=3):
    print(f"[{article.source}] {article.title} ({article.time})")

# Typed error handling — RateLimited fires when the API throttles.
try:
    stats = client.bitcoinstatses.get()
    print(f"Confirmed BTC difficulty: {stats.difficulty}")
except RateLimited as exc:
    print(f"Rate limited: {exc}")

print("exercised: bitcoinstatses.get / chainsoverviews.get / newsarticles.list")
All endpoints · 3 totalmissing one? ·

Retrieve current Bitcoin blockchain statistics including block height, transaction counts, mempool data, mining difficulty, hashrate, market price, and suggested transaction fees. Returns a single snapshot of the Bitcoin network state — no parameters, one round-trip.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "blocks": "integer, total number of blocks in the blockchain",
    "difficulty": "number, current mining difficulty",
    "volume_24h": "integer, transaction volume in the last 24 hours in satoshis",
    "hashrate_24h": "string, network hashrate over last 24 hours",
    "transactions": "integer, total number of transactions",
    "market_cap_usd": "number, total market capitalization in USD",
    "best_block_time": "string, timestamp of the latest block",
    "market_price_usd": "number, current Bitcoin price in USD",
    "transactions_24h": "integer, transactions in the last 24 hours",
    "best_block_height": "integer, height of the latest block",
    "hodling_addresses": "integer, number of addresses holding Bitcoin",
    "mempool_transactions": "integer, number of unconfirmed transactions in mempool",
    "market_dominance_percentage": "number, Bitcoin dominance percentage",
    "suggested_transaction_fee_per_byte_sat": "integer, recommended fee in satoshis per byte"
  },
  "sample": {
    "data": {
      "blocks": 953184,
      "difficulty": 138955357012247.3,
      "volume_24h": 72552911610082,
      "hashrate_24h": "892090753320784957360",
      "transactions": 1374159613,
      "market_cap_usd": 1242327730133,
      "best_block_time": "2026-06-11 02:57:20",
      "market_price_usd": 62009,
      "transactions_24h": 589588,
      "best_block_height": 953183,
      "hodling_addresses": 59140048,
      "mempool_transactions": 76542,
      "market_dominance_percentage": 55.84,
      "suggested_transaction_fee_per_byte_sat": 2
    },
    "status": "success"
  }
}

About the Blockchair API

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.

Reliability & maintenanceVerified

The Blockchair API is a managed, monitored endpoint for blockchair.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when blockchair.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official blockchair.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
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,000100 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 →
theblock.co API
Access real-time cryptocurrency prices, breaking news, and in-depth research articles from The Block's crypto intelligence platform. Search and browse news by category, discover articles from expert authors, and learn about blockchain topics all in one place.
bitcointreasuries.net API
Track which companies, governments, and ETFs hold Bitcoin and monitor their portfolio sizes in real-time. Get current BTC prices, detailed entity holdings, financial metrics, and latest news across public companies, private companies, and government treasuries all in one place.
bitcointalk.org API
Access BitcoinTalk forum data to browse boards, search threads, read posts, and view user profiles all in one place. Quickly find recent discussions and explore community activity without visiting the forum directly.
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.
cryptocraft.com API
Track real-time cryptocurrency prices across 20+ exchanges, analyze historical OHLC data and coin fundamentals, and stay informed with upcoming economic events and market news. Monitor thousands of coins and instruments to make data-driven investment decisions.
bloomberg.com API
Track stock indices, commodities, currencies, and bonds in real-time, while monitoring market movers and staying updated with the latest financial news. Get comprehensive Bloomberg market data to make informed investment decisions across multiple asset classes.
cryptoslate.com API
Track real-time cryptocurrency prices and rankings, access detailed coin information and market overviews, and discover industry companies and key people in the crypto space. Stay informed with the latest cryptocurrency news articles and search across all available data to monitor assets and trends.
bitcoin-only.com API
Discover Bitcoin events, educational resources, and tools with access to upcoming and past conferences, local and international meetups, learning materials, wallets, podcasts, dev tools, job listings, and privacy solutions. Find everything you need to learn about Bitcoin, connect with the community, and manage your Bitcoin activities in one place.