F

FastPath Bitcoin API · Mempool Stream Ticket

by FastPath Bitcoin API

GETBaseArbitrumPolygonWorld Chain

$0.005

per call · USD Coin on Base

Pay once to receive a short-lived WebSocket ticket for the live Bitcoin mempool stream.

Endpoint

GET https://api.nativebtc.org/v1/mempool/stream-ticket

13

Calls / 30d

7

Unique payers / 30d

Sep 8

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/mempool/stream-ticket", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.nativebtc.org/v1/mempool/stream-ticket" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "expiresAt": 1783720000000,
  "success": true,
  "ticket": "fp_ws_ticket_example",
  "websocket": "wss://api.nativebtc.org/v1/mempool/stream?ticket=fp_ws_ticket_example"
}

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