Pay once to receive a short-lived WebSocket ticket for the live Bitcoin mempool stream
Pay once to receive a short-lived WebSocket ticket for the live Bitcoin mempool stream.
5000 (raw units)
price
10
calls / 30d
7
unique payers
2026-09-17
updated
Provider
api.nativebtc.org · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0300E73759B357ceeE5A248d1801eCb8abf7A1d4",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x0300E73759B357ceeE5A248d1801eCb8abf7A1d4",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x0300E73759B357ceeE5A248d1801eCb8abf7A1d4",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:480",
"payTo": "0x0300E73759B357ceeE5A248d1801eCb8abf7A1d4",
"asset": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"expiresAt": 1783720000000,
"success": true,
"ticket": "fp_ws_ticket_example",
"websocket": "wss://api.nativebtc.org/v1/mempool/stream?ticket=fp_ws_ticket_example"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.nativebtc.org/v1/mempool/stream-ticket" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.nativebtc.org/v1/mempool/stream-ticket");
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://api.nativebtc.org/v1/mempool/stream-ticket")
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/1479.json, and this resource appears in /discovery/resources and /discovery/search.