Animica x402 Directory

Directory / api.lightningenable.com

api.lightningenable.com/api/l402/tools/decode-bolt11

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, testnet, regtest, signet.

Call it

# 1. Ask the endpoint what it costs (no payment, no wallet needed):
curl -i -X GET 'https://api.lightningenable.com/api/l402/tools/decode-bolt11'

# -> 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/tools/decode-bolt11'

Endpoint: https://api.lightningenable.com/api/l402/tools/decode-bolt11. 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.

Other endpoints on api.lightningenable.com

api.lightningenable.com/api/l402/content/building-revenue-positive-agents

The complete economics guide for AI agents that earn more than they spend. Cost modeling, pricing strategies, budget policy implementations, real P&L examples, …

GET · $3.0

api.lightningenable.com/api/l402/content/monetize-your-api-in-10-minutes

Implement the L402 protocol yourself, no platform required. Protocol deep dive (macaroons, payment hashes, preimages), full implementations in Node.js / Python …

GET · $3.0

api.lightningenable.com/api/l402/content/nwc-wallet-integration

Production-grade NWC patterns for agents that pay at scale. Custom relay (strfry), throughput orchestration, NIP-04 vs NIP-44 v2 encryption compatibility (incl.…

GET · $3.0

api.lightningenable.com/l402/test/ping

Public L402 test endpoint. Pay 1 sat to verify your L402 integration works. Returns pong on successful payment. No API key required.

GET · $0.000772

All 5 endpoints on api.lightningenable.com →