← Back to marketplace

Satoshi API - Bitcoin Fee Intelligence for Apps and AI Agents

external

Know when to send Bitcoin and when to wait. Satoshi API gives apps and AI agents live fee recommendations, mempool context, and cost estimates. Free, open source.

by Bitcoinsapi10 endpoints98% uptime1432ms avg

Price

from $0.0050

up to $0.0100 per request

Network

base

Category

ai

On-chain txns

1

Uptime

98%

Avg latency

1432ms

Checks

130

Status

Healthy

Base URL

https://bitcoinsapi.com

Endpoints (10)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

GET/api/v1/ai/chat
base$0.0100

Satoshi API: /api/v1/ai/chat

GET/api/v1/ai/explain/block/%7Bhash_or_height%7D
base$0.0100

Satoshi API: /api/v1/ai/explain/block/{hash_or_height}

GET/api/v1/ai/explain/transaction/%7Btxid%7D
base$0.0100

Satoshi API: /api/v1/ai/explain/transaction/{txid}

GET/api/v1/ai/fees/advice
base$0.0100

Satoshi API: /api/v1/ai/fees/advice

POST/api/v1/broadcast
base$0.0100

Satoshi API: /api/v1/broadcast

GET/api/v1/fees/landscape
base$0.0050

Satoshi API: /api/v1/fees/landscape

GET/api/v1/fees/observatory/block-stats
base$0.0050

Satoshi API: /api/v1/fees/observatory/block-stats

GET/api/v1/fees/observatory/estimates
base$0.0050

Satoshi API: /api/v1/fees/observatory/estimates

GET/api/v1/fees/observatory/scoreboard
base$0.0050

Satoshi API: /api/v1/fees/observatory/scoreboard

GET/api/v1/mining/nextblock
base$0.0100

Satoshi API: /api/v1/mining/nextblock

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://bitcoinsapi.com \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://bitcoinsapi.com
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://bitcoinsapi.com", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.