Finance
Blockchain logo

Blockchain API

blockchain.com

Blockchain.com Explorer - transactions, wallet balances, blocks, and BTC price data.

Actions
9
Category
Finance
Login
Not required
Output
JSON

Call the Blockchain API

Submit a task, then poll the job until it settles. This example runs act_blockchain_com_address_balance.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_blockchain_com_address_balance",
    "params": {
      "wallet_address": "1KXsCAiAcXrgHNpAWrSq3uxTxeMtuZyntP"
    }
  }'

9 actions on blockchain.com

Read

  • Block Details

    act_blockchain_com_block_detail_ssrread2 credits / call

    Returns full block detail for a height including hash, miner, difficulty, fees, subsidy, and transaction count.

    block_height
    string · required
  • Block Listing

    act_blockchain_com_block_listing_ssrread2 credits / call

    Returns a paginated list of latest Bitcoin blocks with height, hash, miner, and fee summaries.

    page
    string · required
  • Explorer Homepage

    act_blockchain_com_explorer_homepage_ssrread1 credit / call

    Returns explorer homepage data with BTC price history, recent blocks, and recent transactions.

  • Latest Block Header

    act_blockchain_com_latest_block_headerread1 credit / call

    Returns the current best Bitcoin block header including hash, height, nonce, subsidy, and fees.

  • Search Token Catalog

    act_blockchain_com_search_token_catalogread1 credit / call

    Returns the searchable token and chain catalog used by explorer search autocomplete.

Write

Write actions change state on blockchain.com and run as the account you connect.

  • Address Balance

    act_blockchain_com_address_balancewrite2 credits / call

    Returns confirmed and unconfirmed balance, UTXO stats, and transaction count for a Bitcoin address.

    wallet_address
    string · required
  • Address Transaction History

    act_blockchain_com_address_transaction_historywrite2 credits / call

    Returns paginated transaction history for a Bitcoin address with amounts and block linkage.

    wallet_address
    string · required
    pagination_limit
    integer
    pagination_offset
    integer
  • Explorer Search

    act_blockchain_com_explorer_searchwrite2 credits / call

    Returns multi-chain search results resolving a height, hash, or address across BTC, BCH, ETH, and SOL.

    search_query
    string · required
  • Transaction Details

    act_blockchain_com_transaction_detailwrite2 credits / call

    Returns full Bitcoin transaction detail including inputs, outputs, fee, block height, and addresses.

    transaction_hash
    string · required

Blockchain API questions

Is there an API for Blockchain?
Blockchain does not offer a public data API for this, but Anakin Wire provides 9 maintained endpoints for blockchain.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Blockchain data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when blockchain.com changes its markup, Anakin updates the action.
Do I need a Blockchain account?
No. Every Blockchain action listed here runs anonymously — no account and no credentials required.
What does the Blockchain API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites