Api Endpoint

agent-data-tools.revmesh2074.workers.dev

Bitcoin fee rates. 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.

Open interactive test console

Offering

Provider
agent-data-tools.revmesh2074.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent-data-tools.revmesh2074.workers.dev/btc-fees
MIME type
application/json
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
bitcoin-fees, Bitcoin, Fees, mempool, BTC, Onchain

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6"
  }
]

Observed health

Status
Healthy
Latest latency
226 ms
Average latency
591 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "only": {
          "type": "string",
          "description": "Optional: comma-separated top-level result keys to keep, for a smaller answer (for example only=price,symbol); unknown keys are ignored and an empty match returns the full result",
          "examples": [
            ""
          ]
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "only": {
              "type": "string",
              "description": "Optional: comma-separated top-level result keys to keep, for a smaller answer (for example only=fastestFee,halfHourFee); unknown keys are ignored and an empty match returns the full result",
              "examples": [
                ""
              ]
            }
          },
          "required": []
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "required": [
            "network",
            "unit",
            "fees",
            "typicalPaymentSats",
            "typicalPaymentVbytes",
            "source",
            "limitations",
            "mempool",
            "blockHeight",
            "checkedAt"
          ],
          "properties": {
            "network": {
              "const": "bitcoin"
            },
            "unit": {
              "const": "sat/vB"
            },
            "fees": {
              "type": "object",
              "required": [
                "nextBlock",
                "halfHour",
                "hour",
                "economy",
                "minimum"
              ],
              "properties": {
                "nextBlock": {
                  "type": "number",
                  "minimum": 0
                },
                "halfHour": {
                  "type": "number",
                  "minimum": 0
                },
                "hour": {
                  "type": "number",
                  "minimum": 0
                },
                "economy": {
                  "type": "number",
                  "minimum": 0
                },
                "minimum": {
                  "type": "number",
                  "minimum": 0
                }
              }
            },
            "typicalPaymentSats": {
              "type": "object",
              "required": [
                "nextBlock",
                "hour"
              ],
              "properties": {
                "nextBlock": {
                  "type": "number",
                  "minimum": 0
                },
                "hour": {
                  "type": "number",
                  "minimum": 0
                }
              }
            },
            "typicalPaymentVbytes": {
              "const": 141,
              "description": "Illustrative transaction-size assumption; not the buyer's transaction size."
            },
            "source": {
              "const": "https://mempool.space/api"
            },
            "limitations": {
              "type": "array",
              "minItems": 1,
              "items": {
                "type": "string"
              }
            },
            "mempool": {
              "type": "object",
              "required": [
                "transactions",
                "vsize",
                "totalFeesBtc"
              ],
              "properties": {
                "transactions": {
                  "type": "integer",
                  "minimum": 0
                },
                "vsize": {
                  "type": "integer",
                  "minimum": 0
                },
                "totalFeesBtc": {
                  "type": "number",
                  "minimum": 0
                }
              }
            },
            "blockHeight": {
              "type": "integer",
              "minimum": 0
            },
            "checkedAt": {
              "type": "string",
              "description": "Server retrieval time in UTC. Upstream endpoints are not an atomic snapshot."
            }
          }
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "input"
  ]
}