# BlockCypher API reference

> The BlockCypher API returns blockchain data over HTTP: balances and transaction references of an address, full transaction records, single transactions and blocks. It supports Bitcoin and several other chains (Litecoin, Dash, Dogecoin and a test chain). Ethereum has a separate API with its own…

Source: https://osinttools.io/apis/blockcypher/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/blockcypher/

- Base URL: https://api.blockcypher.com/v1
- Authentication: No key needed. GET requests need no token; an optional token query parameter raises limits and is needed for POST/DELETE, webhooks and confidence lookups.
- Free tier: yes
- Rate limits: Free tier: up to 3 requests per second and 100 per hour for classic requests; 10 confidence lookups per hour. Hourly limits reset at the top of the hour UTC; exceeding a limit returns 429.
- Vendor docs: https://www.blockcypher.com/dev/

## Overview

The BlockCypher API returns blockchain data over HTTP: balances and transaction references of an address, full transaction records, single transactions and blocks. It supports Bitcoin and several other chains (Litecoin, Dash, Dogecoin and a test chain). Ethereum has a separate API with its own docs. An investigator uses it to follow coins between addresses.

Calls go to `https://api.blockcypher.com/v1/$COIN/$CHAIN`; Bitcoin mainnet is `btc/main`. The docs say `GET` requests need no token; a `token` URL parameter is needed for `POST` and `DELETE` calls, confidence lookups, webhooks and payments. Values are always in satoshis, the smallest unit of each coin.

This reference shows Bitcoin mainnet. Several identifiers can be batched with semicolons (up to 100). Free-tier limits are listed in the rate limit field.

## Errors

| Status | Meaning |
| --- | --- |
| 429 | Rate limit exceeded |

## Addresses

### Balance and transaction counts of a Bitcoin address, without transaction details.

`GET /btc/main/addrs/{address}/balance`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Returns the Address object without transaction details. `omitWalletAddresses` only matters when querying a Wallet or HDWallet.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `address` | path | string | yes | Bitcoin address Example: 1ExampleAddressXXXXXXXXXXXXXXXXXXX |
| `omitWalletAddresses` | query | boolean | no | Only relevant for Wallets and HDWallets Example: false |

Response fields:

- `address` (string): The address
- `total_received` (integer): Total satoshis received
- `total_sent` (integer): Total satoshis sent
- `balance` (integer): Confirmed balance in satoshis
- `unconfirmed_balance` (integer): Unconfirmed balance in satoshis
- `final_balance` (integer): Balance including unconfirmed transactions
- `n_tx` (integer): Confirmed transaction count
- `unconfirmed_n_tx` (integer): Unconfirmed transaction count
- `final_n_tx` (integer): Transaction count including unconfirmed

```bash
curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX/balance'
```

Example response (200):

```json
{
  "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
  "total_received": 5000000,
  "total_sent": 3000000,
  "balance": 2000000,
  "unconfirmed_balance": 0,
  "final_balance": 2000000,
  "n_tx": 4,
  "unconfirmed_n_tx": 0,
  "final_n_tx": 4
}
```

### Balance of a Bitcoin address with its transaction references.

`GET /btc/main/addrs/{address}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Returns the balance fields plus `txrefs` and `unconfirmed_txrefs`, each pointing at a transaction input or output. Page with `before` when `hasMore` is true.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `address` | path | string | yes | Bitcoin address Example: 1ExampleAddressXXXXXXXXXXXXXXXXXXX |
| `unspentOnly` | query | boolean | no | Return only unspent outputs Example: false |
| `includeScript` | query | boolean | no | Include raw scripts in the references Example: false |
| `includeConfidence` | query | boolean | no | Include the confidence attribute Example: false |
| `before` | query | integer | no | Only references before this block height Example: 800000 |
| `after` | query | integer | no | Only references after this block height Example: 700000 |
| `limit` | query | integer | no | Maximum references returned; maximum 2000 Example: 200 |
| `confirmations` | query | integer | no | Minimum confirmations Example: 1 |
| `confidence` | query | integer | no | Minimum confidence percentage Example: 90 |

Response fields:

- `address` (string): The address
- `balance` (integer): Confirmed balance in satoshis
- `final_balance` (integer): Balance including unconfirmed
- `n_tx` (integer): Confirmed transaction count
- `txrefs[].tx_hash` (string): Transaction hash
- `txrefs[].block_height` (integer): Block height
- `txrefs[].tx_input_n` (integer): Input index, or -1 for an output
- `txrefs[].tx_output_n` (integer): Output index, or -1 for an input
- `txrefs[].value` (integer): Value in satoshis
- `txrefs[].ref_balance` (integer): Address balance after this reference
- `txrefs[].spent` (boolean): Whether the output is spent
- `txrefs[].confirmations` (integer): Confirmations
- `txrefs[].double_spend` (boolean): Whether a double spend was detected
- `hasMore` (boolean): More references exist; page with before
- `tx_url` (string): Base URL for transaction lookups

```bash
curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX'
```

Example response (200):

```json
{
  "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
  "balance": 2000000,
  "final_balance": 2000000,
  "n_tx": 4,
  "txrefs": [
    {
      "tx_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "block_height": 700001,
      "tx_input_n": -1,
      "tx_output_n": 0,
      "value": 2000000,
      "ref_balance": 2000000,
      "spent": false,
      "confirmations": 100,
      "double_spend": false
    }
  ],
  "hasMore": false,
  "tx_url": "https://api.blockcypher.com/v1/btc/main/txs/"
}
```

### Balance of a Bitcoin address with its full transaction records.

`GET /btc/main/addrs/{address}/full`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Returns the balance fields plus `txs`, full transaction records with inputs and outputs. Page with `before` when `hasMore` is true.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `address` | path | string | yes | Bitcoin address Example: 1ExampleAddressXXXXXXXXXXXXXXXXXXX |
| `before` | query | integer | no | Only transactions before this block height Example: 800000 |
| `after` | query | integer | no | Only transactions after this block height Example: 700000 |
| `limit` | query | integer | no | Transactions returned; default 10, maximum 50 Example: 10 |
| `txlimit` | query | integer | no | Cap on inputs and outputs returned per transaction Example: 20 |
| `confirmations` | query | integer | no | Minimum confirmations Example: 1 |
| `includeHex` | query | boolean | no | Include the raw hex-encoded transaction Example: false |

Response fields:

- `address` (string): The address
- `balance` (integer): Confirmed balance in satoshis
- `n_tx` (integer): Confirmed transaction count
- `txs[].hash` (string): Transaction hash
- `txs[].block_height` (integer): Block height
- `txs[].addresses[]` (string): Addresses involved
- `txs[].total` (integer): Total output value in satoshis
- `txs[].fees` (integer): Fees in satoshis
- `txs[].confirmed` (string): Time of confirmation
- `txs[].received` (string): Time first seen
- `txs[].double_spend` (boolean): Whether a double spend was detected
- `txs[].inputs[]` (object): Transaction inputs
- `txs[].outputs[]` (object): Transaction outputs
- `hasMore` (boolean): More transactions exist; page with before

```bash
curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX/full'
```

Example response (200):

```json
{
  "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
  "balance": 2000000,
  "n_tx": 1,
  "txs": [
    {
      "hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "block_height": 700001,
      "addresses": [
        "1ExampleAddressXXXXXXXXXXXXXXXXXXX"
      ],
      "total": 2000000,
      "fees": 1000,
      "confirmed": "2024-01-01T00:00:00Z",
      "received": "2024-01-01T00:00:00Z",
      "double_spend": false,
      "inputs": [],
      "outputs": []
    }
  ],
  "hasMore": false
}
```

## Transactions and blocks

### Full details of a Bitcoin transaction by hash.

`GET /btc/main/txs/{hash}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Returns the transaction record. `block_height` is -1 while unconfirmed.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | yes | Transaction hash Example: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |

Response fields:

- `hash` (string): Transaction hash
- `block_height` (integer): Block height; -1 if unconfirmed
- `block_hash` (string): Hash of the containing block
- `addresses[]` (string): Addresses involved
- `total` (integer): Total output value in satoshis
- `fees` (integer): Fees in satoshis
- `size` (integer): Size in bytes
- `vsize` (integer): Virtual size
- `confirmations` (integer): Confirmations
- `confirmed` (string): Time of confirmation
- `double_spend` (boolean): Whether a double spend was detected
- `inputs[]` (object): Transaction inputs
- `outputs[]` (object): Transaction outputs

```bash
curl 'https://api.blockcypher.com/v1/btc/main/txs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
```

Example response (200):

```json
{
  "hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "block_height": 700001,
  "block_hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "addresses": [
    "1ExampleAddressXXXXXXXXXXXXXXXXXXX"
  ],
  "total": 2000000,
  "fees": 1000,
  "size": 225,
  "vsize": 225,
  "confirmations": 100,
  "confirmed": "2024-01-01T00:00:00Z",
  "double_spend": false,
  "inputs": [],
  "outputs": []
}
```

### Block details by hash or height.

`GET /btc/main/blocks/{block}`

- Footprint: passive (the target is not contacted)

Returns the block with its first transaction hashes; page through them with `txstart` and `limit`. A block height is only a safe identifier when the block's depth is above 10.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `block` | path | string | yes | Block hash or height Example: 700000 |
| `txstart` | query | integer | no | Return transaction hashes after this index Example: 0 |
| `limit` | query | integer | no | Transaction hashes returned; maximum 500 Example: 20 |

Response fields:

- `hash` (string): Block hash
- `height` (integer): Block height
- `depth` (integer): Confirmations of the block
- `chain` (string): Chain name
- `total` (integer): Total value in satoshis
- `fees` (integer): Fees in satoshis
- `size` (integer): Size in bytes
- `time` (string): Block time
- `n_tx` (integer): Transaction count
- `prev_block` (string): Previous block hash
- `mrkl_root` (string): Merkle root
- `txids[]` (string): Transaction hashes (first 20 by default)
- `next_txids` (string): URL of the next page of transaction hashes

```bash
curl 'https://api.blockcypher.com/v1/btc/main/blocks/700000'
```

Example response (200):

```json
{
  "hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "height": 700000,
  "depth": 100,
  "chain": "BTC.main",
  "total": 100000000,
  "fees": 50000,
  "size": 1000000,
  "time": "2024-01-01T00:00:00Z",
  "n_tx": 2,
  "prev_block": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
  "mrkl_root": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
  "txids": [
    "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
