# Bitcoin Price API

> Bitcoin Price fetches the current Bitcoin price, recent movement direction, and update timestamps in USD. Paid plans can quote across 172 currencies and add market cap, 24-hour volume, supply, all-time highs, 1-hour to 1-year changes, 30-day stats, and hourly and 30-day daily history.

**Endpoint:** `GET https://api.apiverve.com/v1/bitcoin`  
**Category:** Finance  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/bitcoin

## Overview

A Bitcoin API for apps that need the BTC price as JSON. Bitcoin Price works by fetching the latest market data for Bitcoin from multiple reliable sources. It returns the current price and its movement direction; paid plans add market capitalization, 24-hour trading volume, 24-hour percentage change, and quotes in any supported currency. Paid plans also get 1-hour, 7-day, 30-day and 1-year changes, market-cap rank, circulating and maximum supply, fully diluted valuation, and the all-time high and low with their dates and the distance from the high. The data is refreshed hourly. The last 30 daily closes are stored too: paid plans get the 30-day high, low, average and volatility, and daily=true returns the closes themselves, each converted at that day's exchange rate.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/bitcoin?currency=USD&hourly=true&daily=true" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | No | The currency to get the price in. Prices of 1 or more round to 2 decimals; smaller ones (quoted in BTC or XAU) keep 6 significant digits. default USD. Premium field |
| `hourly` | boolean | No | Include hourly price data for the past 24 hours. default false. Premium field |
| `daily` | boolean | No | Include the daily closing price, market cap and volume for the last 30 days. default false. Premium field |

## Response fields

- `price` — number · Current Bitcoin price in specified currency
- `marketCap` — number · Total market capitalization in specified currency · (premium)
- `volume24h` — number · 24-hour trading volume in specified currency · (premium)
- `change24h` — number · Percentage price change over the last 24 hours · (premium)
- `currency` — string · Currency code in which price is quoted
- `lastUpdated` — string · ISO 8601 timestamp of the last price update
- `high24h` — number · Highest price in the last 24 hours · (premium)
- `low24h` — number · Lowest price in the last 24 hours · (premium)
- `changeAmount24h` — number · Price change over the last 24 hours in the requested currency; null when unavailable · (premium)
- `change1h` — number · Percentage price change over the last hour; null when unavailable · (premium)
- `change7d` — number · Percentage price change over the last 7 days; null when unavailable · (premium)
- `change30d` — number · Percentage price change over the last 30 days; null when unavailable · (premium)
- `change1y` — number · Percentage price change over the last year; null when unavailable · (premium)
- `marketCapRank` — number · Bitcoin's rank among all cryptocurrencies by market capitalization; null when unavailable · (premium)
- `circulatingSupply` — number · Bitcoin currently in circulation; null when unavailable · (premium)
- `totalSupply` — number · Total Bitcoin supply in existence; null when unavailable · (premium)
- `maxSupply` — number · Maximum Bitcoin that will ever exist (21 million); null when unavailable · (premium)
- `fullyDilutedValuation` — number · Market capitalization if the maximum (or total) supply were in circulation, in the requested currency; null when unavailable · (premium)
- `allTimeHigh` — number · All-time high price in the requested currency; null when unavailable · (premium)
- `allTimeHighDate` — string · ISO 8601 date of the all-time high; null when unavailable · (premium)
- `percentFromAllTimeHigh` — number · How far the current price is below (negative) the all-time high, in percent; null when unavailable · (premium)
- `allTimeLow` — number · All-time low price in the requested currency; null when unavailable · (premium)
- `allTimeLowDate` — string · ISO 8601 date of the all-time low; null when unavailable · (premium)
- `high30d` — number · Highest daily close over the last 30 days, in the requested currency; null until two days are stored · (premium)
- `low30d` — number · Lowest daily close over the last 30 days, in the requested currency; null until two days are stored · (premium)
- `average30d` — number · Mean daily close over the last 30 days, in the requested currency; null until two days are stored · (premium)
- `volatility30d` — number · Standard deviation of the daily percent changes over the last 30 days (not annualized); null until two days are stored · (premium)
  - `daily.0.date` — string · UTC date of the close (YYYY-MM-DD) · (premium)
  - `daily.0.price` — number · Closing price, converted at that day's exchange rate · (premium)
  - `daily.0.marketCap` — number · Market capitalization at the close; null when unavailable · (premium)
  - `daily.0.volume24h` — number · 24-hour trading volume at the close; null when unavailable · (premium)
- `changeDirection` — string · Price movement direction: up, down, or unchanged
- `formatted` — object · Price, market cap and volume as human-readable strings
  - `formatted.price` — string · Formatted price with currency symbol and thousands separator · (premium)
  - `formatted.marketCap` — string · Formatted market cap in human-readable units (T, B, M) · (premium)
  - `formatted.volume` — string · Formatted 24-hour volume in human-readable units · (premium)
  - `formatted.priceWords` — string · Price written out in English words for accessibility; null for prices below 1 · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "price": 80621,
    "marketCap": 1620852883292,
    "volume24h": 23453847279,
    "change24h": 0.52,
    "currency": "USD",
    "lastUpdated": "2026-10-27T17:41:09.843Z",
    "high24h": 80621,
    "low24h": 79416,
    "changeAmount24h": 417.2,
    "change1h": 0.07,
    "change7d": -2.45,
    "change30d": -4.65,
    "change1y": -29.97,
    "marketCapRank": 1,
    "circulatingSupply": 20104350,
    "totalSupply": 20104409,
    "maxSupply": 21000000,
    "fullyDilutedValuation": 1620857639990,
    "allTimeHigh": 126080,
    "allTimeHighDate": "2025-10-06T10:57:42.000Z",
    "percentFromAllTimeHigh": -36.06,
    "allTimeLow": 67.81,
    "allTimeLowDate": "2013-07-05T16:00:00.000Z",
    "high30d": 86489.73,
    "low30d": 80029.43,
    "average30d": 82773.02,
    "volatility30d": 1.3193,
    "daily": [
      {
        "date": "2026-09-28",
        "price": 83479.25,
        "marketCap": 1677138373123.67,
        "volume24h": 41541721154.86
      },
      {
        "date": "2026-09-29",
        "price": 83640.1,
        "marketCap": 1680405670009.95,
        "volume24h": 29007802596.08
      },
      {
        "date": "2026-09-30",
        "price": 83576.13,
        "marketCap": 1679120514824.05,
        "volume24h": 35066512389.82
      },
      {
        "date": "2026-10-01",
        "price": 84841.67,
        "marketCap": 1704652759050.2,
        "volume24h": 33100807361.31
      },
      {
        "date": "2026-10-02",
        "price": 84506.47,
        "marketCap": 1697953579634.35,
        "volume24h": 45423081877.15
      },
      {
        "date": "2026-10-03",
        "price": 84742.79,
        "marketCap": 1702737315286.27,
        "volume24h": 14790418116.02
      },
      {
        "date": "2026-10-04",
        "price": 86489.73,
        "marketCap": 1737878978541.3,
        "volume24h": 17426360350.68
      },
      {
        "date": "2026-10-05",
        "price": 85770.87,
        "marketCap": 1723479563822.4,
        "volume24h": 31361712130.87
      },
      {
        "date": "2026-10-06",
        "price": 85540.09,
        "marketCap": 1718883142480.07,
        "volume24h": 26923752236.97
      },
      {
        "date": "2026-10-07",
        "price": 83282.05,
        "marketCap": 1673545872851.79,
        "volume24h": 39447580075.09
      },
      {
        "date": "2026-10-08",
        "price": 81685.89,
        "marketCap": 1641512859266.02,
        "volume24h": 42759290795.71
      },
      {
        "date": "2026-10-09",
        "price": 82564.29,
        "marketCap": 1659200907954.54,
        "volume24h": 26322309482.27
      },
      {
        "date": "2026-10-10",
        "price": 82917.9,
        "marketCap": 1666346379048.68,
        "volume24h": 14844875004.31
      },
      {
        "date": "2026-10-11",
        "price": 83690.87,
        "marketCap": 1681917572795.23,
        "volume24h": 15154188868.08
      },
      {
        "date": "2026-10-12",
        "price": 81794.85,
        "marketCap": 1643852506928,
        "volume24h": 27710289641.52
      },
      {
        "date": "2026-10-13",
        "price": 83115.1,
        "marketCap": 1670428029173.6,
        "volume24h": 31216634003.01
      },
      {
        "date": "2026-10-14",
        "price": 81603.65,
        "marketCap": 1640092365666.06,
        "volume24h": 33806769353.61
      },
      {
        "date": "2026-10-15",
        "price": 82155.54,
        "marketCap": 1651229242068.2,
        "volume24h": 40395142289.56
      },
      {
        "date": "2026-10-16",
        "price": 81523.66,
        "marketCap": 1638531203401.84,
        "volume24h": 28327794739.93
      },
      {
        "date": "2026-10-17",
        "price": 81408.35,
        "marketCap": 1636213549330.08,
        "volume24h": 14193438779.83
      },
      {
        "date": "2026-10-18",
        "price": 82019.58,
        "marketCap": 1648498719891.2,
        "volume24h": 20233776355.03
      },
      {
        "date": "2026-10-19",
        "price": 81875.26,
        "marketCap": 1645598075026.09,
        "volume24h": 25801005531.15
      },
      {
        "date": "2026-10-20",
        "price": 82943.83,
        "marketCap": 1667075047131.56,
        "volume24h": 27926195682.99
      },
      {
        "date": "2026-10-21",
        "price": 84082.27,
        "marketCap": 1689956272727.96,
        "volume24h": 32168983739.06
      },
      {
        "date": "2026-10-22",
        "price": 81328.21,
        "marketCap": 1634863330362.04,
        "volume24h": 33259629772.86
      },
      {
        "date": "2026-10-23",
        "price": 81102.31,
        "marketCap": 1630357952779.02,
        "volume24h": 24080202631.04
      },
      {
        "date": "2026-10-24",
        "price": 80810.57,
        "marketCap": 1624538623440.71,
        "volume24h": 21863053585.99
      },
      {
        "date": "2026-10-25",
        "price": 80048.85,
        "marketCap": 1609254730125.75,
        "volume24h": 14036774037.12
      },
      {
        "date": "2026-10-26",
        "price": 80029.43,
        "marketCap": 1608907416309.57,
        "volume24h": 28524432511.52
      },
      {
        "date": "2026-10-27",
        "price": 80621,
        "marketCap": 1620852883292,
        "volume24h": 23453847279
      }
    ],
    "changeDirection": "up",
    "formatted": {
      "price": "$80,621.00",
      "marketCap": "$1.62T",
      "volume": "$23.45B",
      "priceWords": "eighty thousand, six hundred twenty-one dollars"
    }
  }
}
```

## Use cases

- **Crypto Wallet Balances** — Multi-currency wallets convert satoshi balances into current fiat valuations using real-time price quotes and update timestamps.
- **Checkout Invoice Settlement** — To calculate exact payment totals, merchant gateways lock in fiat-to-BTC amounts based on the latest price quote before generating payment QR codes.
- **Trading Terminal Indicators** — When market trends shift, charting dashboards update visual ticker arrows directly from price movement direction indicators.
- **Accounting Ledger Conversions** — Reconcile treasury holdings by attaching the exact timestamped Bitcoin valuation to every balance sheet entry at the close of business.

## SDKs

- **npm** — `npm install @apiverve/bitcoin` (https://www.npmjs.com/package/@apiverve/bitcoin)
- **NuGet** — `dotnet add package APIVerve.API.BitcoinPrice` (https://www.nuget.org/packages/APIVerve.API.BitcoinPrice)
- **Source** — https://github.com/apiverve/bitcoin-api

## More

- Full reference: https://docs.apiverve.com/ref/bitcoin
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
