Bitcoin.com

Explorer API

Read any block, transaction or address with one call.

JSON on every record page

Add ?format=json to a transaction, block or address page, or send Accept: application/json. The response carries the same data as the page, plus the page’s own plain-English sentence as explanation.

  • Get a transaction

    GET /explorer/btc/tx/{txid}/

    Has this payment arrived, how much moved, and what fee did it pay?

    curl -s 'https://www.bitcoin.com/explorer/btc/tx/a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d/?format=json'
  • Get a block

    GET /explorer/btc/block/{id}/

    When was this block mined, how many transactions does it hold, and what did miners earn in fees?

    curl -s 'https://www.bitcoin.com/explorer/btc/block/840000/?format=json'
  • Get an address

    GET /explorer/btc/address/{address}/

    How much does this address hold, and how much has it ever received?

    curl -s 'https://www.bitcoin.com/explorer/btc/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa/?format=json'

Rate limits

Each IP address may make 60 uncached requests per minute. Over the limit, the response is 429 with a Retry-After header. No key is needed.

For agents and tools

MCP server

A remote MCP server (Streamable HTTP) with read-only tools over the same data. Add it to an MCP client by URL; no package to install.

https://www.bitcoin.com/api/explorer/mcp/
{
  "mcpServers": {
    "bitcoin-com-explorer": {
      "type": "http",
      "url": "https://www.bitcoin.com/api/explorer/mcp/"
    }
  }
}
  • get_transaction(txid)

    A Bitcoin transaction by txid, with a plain-English explanation of what it did and whether it confirmed.

  • get_block(id)

    A Bitcoin block by height or hash, with a plain-English explanation.

  • get_address(address)

    Balance and totals for a Bitcoin address, with a plain-English explanation.

  • get_chain_tip()

    The latest Bitcoin block: height, hash and when it was mined.

  • search(query)

    Resolve a block height, block hash, txid, address or xpub to the record it names, with its explorer URL.