# Historical Bitcoin Price on Specific Dates — Accounting

**Use case:** 

The Bitcoin price in EUR (or USD, GBP, CAD, CHF, AUD, JPY) on chosen past dates, plus the current price in all seven currencies, from the mempool.space price index. For accountants and treasuries valuing BTC holdings or transactions on the day they happened. Change the currency and the list of dates to your reporting periods.

## Input

```json
{
  "mode": "price",
  "network": "mainnet",
  "addresses": [
    "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
  ],
  "txLimit": 25,
  "includeMempoolTxs": true,
  "includeUtxos": false,
  "txids": [],
  "includeRbf": true,
  "blocks": [],
  "blocksLimit": 15,
  "includeBlockTxids": false,
  "blockTxidsLimit": 25,
  "projectedBlocks": 3,
  "recentTxLimit": 10,
  "includeReplacements": false,
  "interval": "1w",
  "poolsLimit": 20,
  "lightningRanking": "capacity",
  "lightningLimit": 20,
  "lightningQueries": [],
  "currency": "EUR",
  "dates": [
    "2025-01-01",
    "2026-06-01"
  ],
  "fields": [],
  "requestDelayMs": 100
}
```

## Output

```json
{
  "kind": {
    "label": "Row kind",
    "format": "string"
  },
  "id": {
    "label": "Row id",
    "format": "string"
  },
  "found": {
    "label": "Found",
    "format": "boolean"
  },
  "blockHeight": {
    "label": "Block height",
    "format": "number"
  },
  "fastestFee": {
    "label": "Fee: next block",
    "format": "number"
  },
  "halfHourFee": {
    "label": "Fee: ~30 min",
    "format": "number"
  },
  "hourFee": {
    "label": "Fee: ~1 hour",
    "format": "number"
  },
  "economyFee": {
    "label": "Fee: economy",
    "format": "number"
  },
  "congestion": {
    "label": "Congestion",
    "format": "string"
  },
  "mempoolTxCount": {
    "label": "Mempool transactions",
    "format": "number"
  },
  "priceUsd": {
    "label": "BTC price USD",
    "format": "number"
  },
  "hashrateEh": {
    "label": "Hashrate (EH/s)",
    "format": "number"
  },
  "difficultyChangePct": {
    "label": "Next difficulty change %",
    "format": "number"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "balanceBtc": {
    "label": "Balance (BTC)",
    "format": "number"
  },
  "txid": {
    "label": "Txid",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "fetchedAt": {
    "label": "Fetched at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Bitcoin Scraper — Fees, Mempool, Blocks, Address Balance](https://apify.com/yadroo/bitcoin-mempool.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/bitcoin-mempool.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/yadroo/bitcoin-mempool.md

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`).
