Returns the current fee rates for the usual confirmation targets together with the state o
Returns the current fee rates for the usual confirmation targets together with the state of the mempool behind them, and then does the part that is usually missing: it estimates the virtual size of the transaction you describe and computes the resulting total fee in satoshis for each target.
4000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-12
updated
Provider
finanz.halowerk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"input_type": "p2wpkh",
"inputs": 3,
"outputs": 2
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"input_type": {
"default": "p2wpkh",
"enum": [
"p2wpkh",
"p2tr",
"p2sh_p2wpkh",
"p2pkh"
],
"type": "string"
},
"inputs": {
"default": 1,
"description": "Number of inputs your transaction spends. This is what drives the cost.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"output_type": {
"default": "p2wpkh",
"enum": [
"p2wpkh",
"p2tr",
"p2sh",
"p2pkh"
],
"type": "string"
},
"outputs": {
"default": 2,
"description": "Number of outputs, usually recipient plus change.",
"maximum": 500,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://finanz.halowerk.com/v1/bitcoin-fee-forecast" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://finanz.halowerk.com/v1/bitcoin-fee-forecast");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://finanz.halowerk.com/v1/bitcoin-fee-forecast")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15351.json, and this resource appears in /discovery/resources and /discovery/search.