Bitcoin Sahi API LIVE

Public REST API for Bitcoin fee data, market context, and the UTXO cost model. No authentication required.

Endpoints

GET/tools/live_data.json Free

Current Bitcoin market data snapshot. Updated daily.

{
  "btc_price": 63853,
  "fees": { "fastestFee": 4, "economyFee": 2 },
  "mempool": { "unconfirmed_tx": 107649 },
  "block_height": 960009,
  "hash_rate": 803200288612,
  "difficulty": 126231507121868
}
GET/tools/fee_history.json Free

14-day rolling fee history with BTC price and mempool size per day. Array of daily snapshots.

GET/tools/fee_forecast.json Free

3-day fee forecast from linear regression on historical data. Trend direction (rising/falling/stable).

GET/tools/alerts.json Free

Active alerts for high fees, low fees, and fee spikes. Empty array if all nominal.

GET/tools/fee_history.csv Free

CSV export of fee history for analysis in spreadsheets. Columns: date, fastestFee, halfHourFee, hourFee, economyFee, btc_price, mempool_tx.

Rate Limits

Public endpoints: no rate limit currently. If you need higher throughput, open an issue.

Example: cURL

curl https://bitcoinsahi.com/tools/live_data.json

Example: Python

import requests, json
data = requests.get('https://bitcoinsahi.com/tools/live_data.json').json()
print(f"Fastest fee: {data['fees']['fastestFee']} sat/vB")

Example: JavaScript

const data = await fetch('https://bitcoinsahi.com/tools/live_data.json').then(r => r.json());
console.log(`BTC: $${data.btc_price}`);

API v1 — Bitcoin Sahi. Data refreshes daily. back to bitcoinsahi.com →