Directory / api.lightningenable.com
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 hardening (replay prevention, rate limiting, key management).
# 1. Ask the endpoint what it costs (no payment, no wallet needed): curl -i -X GET 'https://api.lightningenable.com/api/l402/content/monetize-your-api-in-10-minutes' # -> HTTP/1.1 402 Payment Required # the response carries the price, asset and pay-to address. # 2. Pay and retry with any x402 client: npx x402-fetch 'https://api.lightningenable.com/api/l402/content/monetize-your-api-in-10-minutes'
Endpoint: https://api.lightningenable.com/api/l402/content/monetize-your-api-in-10-minutes. Operated by api.lightningenable.com, not by Animica. Price and availability were correct at the last probe on 2026-08-30 and are set by the operator, who may change them.
The complete economics guide for AI agents that earn more than they spend. Cost modeling, pricing strategies, budget policy implementations, real P&L examples, …
Production-grade NWC patterns for agents that pay at scale. Custom relay (strfry), throughput orchestration, NIP-04 vs NIP-44 v2 encryption compatibility (incl.…
Parse a BOLT11 Lightning invoice into network, amount (sats and msat), payment hash, payment secret, description, timestamp, expiry, min final CLTV, and payee p…
Public L402 test endpoint. Pay 1 sat to verify your L402 integration works. Returns pong on successful payment. No API key required.