E

eu-verify · BTC Fees

by eu-verify

GETBase

$0.001

per call · USD Coin on Base

Recommended Bitcoin transaction fee rates in sat/vB (fastest, half-hour, hour, economy, minimum) from mempool.space, computed from the live mempool. Optional ?include=difficulty adds the current difficulty retarget estimate (change %, remaining blocks/time). No required params; served with a 60s cache.

Endpoint

GET https://data.greeneris.io/v1/btc/fees

130

Calls / 30d

1

Unique payers / 30d

Aug 28

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://data.greeneris.io/v1/btc/fees", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://data.greeneris.io/v1/btc/fees?include=difficulty" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "difficulty_adjustment": {
    "difficulty_change_percent": -2.74,
    "estimated_retarget_date_ms": 1753728000000,
    "progress_percent": 11.06,
    "remaining_blocks": 1793,
    "remaining_time_ms": 1093000000
  },
  "fees_sat_per_vb": {
    "economy": 1,
    "fastest": 2,
    "half_hour": 1,
    "hour": 1,
    "minimum": 1
  },
  "source": "mempool.space (live mempool snapshot)"
}

Payment details

Pay to0x6ab8efe305cce67daa48c97bde29c04402822dff
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from eu-verify & similar services