# Bitcoin Address Scraper — Balance & Transactions (`hipersoft/bitcoin-address-scraper`) Actor

Look up Bitcoin address balances and on-chain activity in bulk: current balance, total received/sent, transaction count, unconfirmed balance and recent transactions. Optional network stats (fees, block height). One row per address as JSON, CSV or Excel.

- **URL**: https://apify.com/hipersoft/bitcoin-address-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0005 / address scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bitcoin Address Scraper — Balance & Transactions

Look up **Bitcoin address balances and on-chain activity** in bulk with the **Bitcoin Address Scraper**. Paste any list of BTC addresses — **legacy, SegWit or Taproot** — and get each one's **current balance, total received and sent, transaction count, unconfirmed balance and recent transactions**, exported as **JSON, CSV or Excel**.

Built for **crypto portfolio tracking, wallet monitoring, on-chain research, compliance/AML checks and accounting**, it turns raw addresses into a clean, structured balance sheet without running a node.

### What it does

- 💰 **Balances in bulk** — current balance in BTC and satoshis for every address.
- 📥 **Received & sent totals** — lifetime received and sent amounts, plus funded/spent output counts.
- 🔢 **Transaction count** — how many transactions each address has taken part in.
- ⏳ **Unconfirmed activity** — pending (mempool) balance and transaction count.
- 🧾 **Recent transactions (optional)** — the latest transactions per address with txid, confirmation status, block height, time and fee.
- 📡 **Network stats (optional)** — a summary row with current recommended fees (sat/vB) and the latest block height.
- 📤 **Export anywhere** — JSON, CSV or Excel, or straight into a sheet, dashboard or accounting tool.

### Example output

```json
{
  "address": "bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97",
  "found": true,
  "balanceBtc": 130010.079,
  "totalReceivedBtc": 5307759.838,
  "totalSentBtc": 5177749.759,
  "txCount": 339,
  "unconfirmedBalanceBtc": 0,
  "unconfirmedTxCount": 0
}
```

### How to use it

1. Paste one or more **Bitcoin addresses**.
2. Optionally enable **recent transactions** and/or a **network stats** row.
3. Set **Max addresses** and run. Download the results as **JSON, CSV or Excel**.

### Input fields

| Field | Description |
|-------|-------------|
| **Bitcoin addresses** | Addresses to look up (legacy, SegWit, Taproot). |
| **Include recent transactions** | Add up to 25 recent transactions per address. |
| **Include network stats** | Add a row with recommended fees and block height. |
| **Max addresses** | Maximum addresses to process (0 = no limit). |

### Output fields

`address`, `found`, `balanceBtc`, `balanceSats`, `totalReceivedBtc`, `totalSentBtc`, `txCount`, `fundedTxoCount`, `spentTxoCount`, `unconfirmedBalanceBtc`, `unconfirmedTxCount`, `recentTransactions`, plus `blockHeight` and fee fields on the optional network-stats row.

### Popular use cases

- **Portfolio & wallet tracking** — monitor balances across many addresses.
- **On-chain research** — study address activity, inflows and outflows.
- **Compliance & AML** — check balances and transaction history for review.
- **Accounting & tax** — pull received/sent totals for reporting.
- **Alerting** — schedule runs to watch for balance or unconfirmed-activity changes.

### FAQ

**Do I need an account or key?**
No. Paste your addresses and run.

**Which address types are supported?**
Legacy (1…), SegWit (bc1q…) and Taproot (bc1p…) Bitcoin addresses.

**Are amounts in BTC or satoshis?**
Both — balances are provided in BTC and in satoshis so you can use whichever you need.

**Can I see each address's transactions?**
Yes — enable "Include recent transactions" to get the latest transactions (txid, confirmation, block, fee) per address.

**Can I export to Excel or Google Sheets?**
Yes — results download as JSON, CSV or Excel and integrate with Sheets, dashboards and accounting tools.

***

Bulk **Bitcoin address balances and transaction history** — BTC & sats, received/sent totals, recent transactions — clean and export-ready for tracking, research and compliance.

# Actor input Schema

## `addresses` (type: `array`):

One or more Bitcoin addresses to look up (legacy, SegWit or Taproot). Each returns its balance and activity.

## `includeTransactions` (type: `boolean`):

Also include each address's most recent transactions (up to 25) with txid, confirmation, block and fee.

## `includeNetworkStats` (type: `boolean`):

Add one summary row with current recommended fees (sat/vB) and the latest block height.

## `maxItems` (type: `integer`):

Maximum number of addresses to process (0 = no limit).

## Actor input object example

```json
{
  "addresses": [
    "bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97"
  ],
  "includeTransactions": false,
  "includeNetworkStats": false,
  "maxItems": 0
}
```

# Actor output Schema

## `results` (type: `string`):

The results as dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "addresses": [
        "bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/bitcoin-address-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "addresses": ["bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97"] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/bitcoin-address-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "addresses": [
    "bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97"
  ]
}' |
apify call hipersoft/bitcoin-address-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/bitcoin-address-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/saF7T1VPdOTQtuXAx/builds/JVrT3G1INnIZwh0LX/openapi.json
