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)
1283ms
Uptime (30d)
100.0%
Reliability Score
85/100
Last Checked
2026-10-03 06:33:49
Last Healthy
2026-10-03 06:33:49
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-10-03 06:33:49 | healthy | 402 | 583ms | |
| 2026-10-02 21:42:22 | healthy | 402 | 2049ms | |
| 2026-10-02 12:41:55 | healthy | 402 | 1067ms | |
| 2026-10-02 03:25:48 | healthy | 402 | 1467ms | |
| 2026-10-01 21:34:46 | healthy | 402 | 1283ms | |
| 2026-10-01 13:56:23 | healthy | 402 | 1609ms | |
| 2026-10-01 09:57:50 | healthy | 402 | 876ms | |
| 2026-10-01 02:59:35 | healthy | 402 | 673ms | |
| 2026-09-30 17:46:12 | healthy | 402 | 721ms | |
| 2026-09-30 08:44:55 | healthy | 402 | 1635ms |