F

FastPath Bitcoin API · Bitcoin Insight

by FastPath Bitcoin API

POSTBaseArbitrumPolygonWorld Chain

$0.01

per call · USD Coin on Base

Unified Bitcoin transaction analysis: fee verdict, mempool state, RBF bump plan, and Core v31 template check.

Endpoint

POST https://api.nativebtc.org/v1/bitcoin/insight

1

Calls / 30d

1

Unique payers / 30d

Aug 12

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://api.nativebtc.org/v1/bitcoin/insight", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "action": "analyze",
    "targetBlocks": 6,
    "txid": "81c97a6c5b98a1019095de132727cda868694fb5d92534ebb07e475619e38325"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.nativebtc.org/v1/bitcoin/insight" \
  -H "Content-Type: application/json" \
  -d '{"action":"analyze","targetBlocks":6,"txid":"81c97a6c5b98a1019095de132727cda868694fb5d92534ebb07e475619e38325"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "bump": {
    "additionalFeeSats": 110,
    "available": true,
    "method": "rbf_signed_replacement",
    "signsOrCustodiesFunds": false
  },
  "success": true,
  "summary": "Effective fee rate 2 sat/vB is at or above the 1 sat/vB target.",
  "templateCheck": {
    "inBaselineTemplate": false,
    "inOptimizedTemplate": false,
    "mode": "live_cached",
    "source": "core_v31_optimizer_cache"
  },
  "verdict": "healthy_for_target"
}

Payment details

Pay to0x0300e73759b357ceee5a248d1801ecb8abf7a1d4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon, World Chain
Schemesexact

Is this your API?

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

Get featured →

More from FastPath Bitcoin API & similar services