api.lightningenable.com publishes 5 machine-payable endpoints over the x402 protocol, priced from $0.00 to $3.0 per call. Each was probed directly; the response code below is what it returned.
| Endpoint | Method | Price | Probe |
|---|---|---|---|
| /api/l402/content/building-revenue-positive-agents | GET | $3.0 | 200 |
| /api/l402/content/monetize-your-api-in-10-minutes | GET | $3.0 | 200 |
| /api/l402/content/nwc-wallet-integration | GET | $3.0 | 200 |
| /api/l402/tools/decode-bolt11 | GET | $0.00 | 200 |
| /l402/test/ping | GET | $0.000772 | 402 |
The complete economics guide for AI agents that earn more than they spend. Cost modeling, pricing strategies, budget policy implementations, real P&L examples, path to self-sustaining agents.
Implement the L402 protocol yourself, no platform required. Protocol deep dive (macaroons, payment hashes, preimages), full implementations in Node.js / Python / Go, LND integration, production harden…
Production-grade NWC patterns for agents that pay at scale. Custom relay (strfry), throughput orchestration, NIP-04 vs NIP-44 v2 encryption compatibility (incl. CoinOS silent-drop gotcha), multi-walle…
Parse a BOLT11 Lightning invoice into network, amount (sats and msat), payment hash, payment secret, description, timestamp, expiry, min final CLTV, and payee pubkey when encoded. Handles mainnet, tes…
Public L402 test endpoint. Pay 1 sat to verify your L402 integration works. Returns pong on successful payment. No API key required.