The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the HTTP 402 AI Tollbooth listing page.
Agent-ready developer troubleshooting data, sold per request over Bitcoin Lightning.
Live: https://http-402-ai-tollbooth.rsaun-lightning.workers.dev
HTTP 402 AI Tollbooth gives developers and AI agents three useful records free, then unlocks complete structured datasets with a BOLT11 Lightning payment. There are no accounts, subscriptions, credit cards, or API keys.
This is a public, documentation and example repository. The production Worker implementation remains private and is not included here.
List the complete catalog:
Preview exactly three records without payment:
Request the full product and receive an HTTP 402 Lightning challenge:
The last command creates an invoice. Do not run it unless you intentionally want a payment challenge; simply requesting it does not spend sats.
error_code, description, and programmatic_fix fieldsllms.txt| Tier | Price | Records |
|---|---|---|
| Entry | 2,000 sats | 50 |
| Standard | 5,000 sats | 100 |
| Premium | 10,000 sats | 200 |
See the pricing rationale, including the live-verified 2,000-sat receiving floor.
402 Payment Required with a BOLT11 invoice and payment hash.X-Payment-Hash and X-Payment-Preimage.Never publish or share a payment preimage before using it for its intended redemption. Future Solana USDC/x402 support is disabled until its manual verification process is completed.
/mcp with four read-only toolsConnect an MCP client to https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp. The server supports list_products, preview_product, list_payment_methods, and buy_product. The last tool only returns payment directions and an HTTP 402 challenge; it never pays an invoice or creates a purchase on the caller's behalf.
For a complete no-payment example, see the Node agent recovery sample.
The sample shows how an agent can inspect malformed JSON, retry a transient 429 once after Retry-After, and safely stop when a response is not recoverable. It uses Node 22+ built-ins only:
The demo calls only the public three-record preview endpoint. It does not call a paid route, create an invoice, or automatically replay a payment proof.
The documentation in this billboard repository is available under the MIT License. The private production source code is not covered by this repository or license.