No subscriptions. No API keys. Pay per request with Lightning Network using the L402 protocol. Bitcoin data for developers, traders, and AI agents — starting at 2 sats.
Send a GET request to any endpoint. No headers, no auth, no setup required. The server responds with HTTP 402.
Pay with any Lightning wallet — Phoenix, Alby — or programmatically using WebLN, LNC, or any Lightning library.
Retry the request with the payment hash as query param. The server verifies proof of payment and returns the data.
L402 is a machine-native payment protocol developed by Lightning Labs that repurposes HTTP's 402 "Payment Required" status code. It enables micropayments directly in the HTTP layer — no accounts, no sessions, no billing system.
The payment hash returned after paying the Lightning invoice acts as cryptographic proof of payment. The server verifies it without any database lookup — stateless, instant, and global.
As of 2025, Cloudflare processes over 1 billion L402 responses per day. AI agents and automated systems are the fastest-growing consumers of L402 APIs — the protocol is purpose-built for machine-to-machine commerce.