# NativeBTC Mempool Stream Ticket

> NativeBTC Mempool Stream Ticket is a paid API for AI agents from api.nativebtc.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Issues a short-lived WebSocket authentication ticket granting access to the live Bitcoin mempool data stream.

## Facts

- Endpoint: GET https://api.nativebtc.org/v1/mempool/stream-ticket
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nativebtc-mempool-stream-ticket-59fc03a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hrC2mVmTX2Li079jJgt2S

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nativebtc-mempool-stream-ticket-59fc03a2
```

Example prompt: Get me a WebSocket ticket for the live Bitcoin mempool stream so I can watch unconfirmed transactions in real time.

## When to prefer this

Use this endpoint when you need real-time, low-latency access to the Bitcoin mempool via WebSocket and are willing to pay a micro-fee per session ticket. Prefer this over polling-based alternatives when you need a continuous live stream of unconfirmed transactions rather than periodic snapshots.

## Known failure modes

- Payment not processed — 402 response requiring x402 payment of $0.005 USDC before ticket is issued
- Ticket expiry — ticket is short-lived and may expire before WebSocket connection is established
- Invalid or malformed GET request — 400 response if request structure does not match schema
- Server unavailability — 503 if the mempool stream backend is temporarily offline

## How this service works

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

## Output

A short-lived WebSocket ticket (authentication credential) that the caller can use to open a live WebSocket connection to the Bitcoin mempool stream and receive real-time unconfirmed transaction data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nativebtc-mempool-stream-ticket-59fc03a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.nativebtc.org](https://www.zero.xyz/host/api.nativebtc.org/llms.txt)
