L402 for Streaming and WebSocket APIs (Premium Guide)
https://api.lightningenable.com/api/l402/content/l402-streaming-websocketOverview
Monetize real-time data feeds and persistent connections with L402. Token refresh patterns, metered streaming (per minute / message / MB), WebSocket L402 handshake, Server-Sent Events with periodic re-auth, prepaid credit model, complete market data feed example.
Protocol
L402
Price
$3.00
Payment Asset
BTC
Payment Network
Lightning
Category
guides
Provider
Lightning Enable
Source
self-registered
Indexed
2026-05-01 23:26:00
Health
Status
healthy
Latency (p50)
1424ms
Uptime (30d)
100.0%
Reliability Score
85/100
Last Checked
2026-05-24 11:38:09
Last Healthy
2026-05-24 11:38:09
Consecutive Failures
0
Macaroon Format
Format
V0 Text (libmacaroons)
lnget Compatible
No — V0 text format (parser support pending)
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-05-24 11:38:09 | healthy | 402 | 1302ms | |
| 2026-05-23 23:07:21 | healthy | 402 | 3447ms | |
| 2026-05-23 16:21:52 | healthy | 402 | 1726ms | |
| 2026-05-23 03:34:11 | healthy | 402 | 955ms | |
| 2026-05-22 20:19:51 | healthy | 402 | 1055ms | |
| 2026-05-22 15:42:49 | healthy | 402 | 1834ms | |
| 2026-05-21 20:39:29 | healthy | 402 | 1424ms | |
| 2026-05-21 19:50:16 | healthy | 402 | 846ms |