Bitcoin fee estimate API (sat/vB) and mempool status

$0.002 per call · failed calls are never charged · no account needed: a card key or USDC

Current Bitcoin network fee rates in sat/vB for next-block, half-hour, one-hour and economy confirmation, the estimated cost in sats of a typical payment, mempool size and total pending fees, and the latest block height. Use before sending a Bitcoin transaction or to decide whether to wait for lower fees.

When to use it

Guide: Bitcoin fee estimate API

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://lex.glyphcall.com/btc-fees?format=json"

Or one of your 3 free calls, no key:

curl "https://lex.glyphcall.com/btc-fees?format=json&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Live result

The real answer to the request above, read 2026-11-17 20:38 UTC and refreshed every 15 minutes.

{
  "network": "bitcoin",
  "unit": "sat/vB",
  "fees": {
    "nextBlock": 4,
    "halfHour": 3,
    "hour": 3,
    "economy": 2,
    "minimum": 1
  },
  "typicalPaymentSats": {
    "nextBlock": 564,
    "hour": 423
  },
  "typicalPaymentVbytes": 141,
  "source": "https://mempool.space/api",
  "limitations": [
    "Estimates do not guarantee confirmation time",
    "141 vB assumes one input and two outputs in a typical SegWit payment; actual transaction size varies",
    "Source endpoints are fetched concurrently, not as an atomic snapshot"
  ],
  "mempool": {
    "transactions": 81244,
    "vsize": 35601913,
    "totalFeesBtc": 0.11022228
  },
  "blockHeight": 976318,
  "checkedAt": "2026-11-17T20:38:02.020Z"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is btc_fees, and the first 25 successful calls are free:

https://lex.glyphcall.com/mcp

Questions

Where do the numbers come from?

The mempool.space API, at call time.

How do I pay?

Each successful call costs $0.002; failed calls are not charged. The first 3 calls are free (25 through an MCP client). Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.

Related tools