Payment Rails for AI Agents
L402 protocol support with sub-cent precision. Give your AI agents the ability to pay for APIs, data, and services autonomously.
Infrastructure
AI Agent Wallet
Managed Lightning wallets for AI agents. Pay for APIs and services - withdraw to self-custody anytime.
Live Get StartedL402 API
HTTP 402 Payment Required protocol. Monetize your APIs with micropayments per request.
Live Explore APIMicropayments
Sub-cent precision payments. Perfect for pay-per-use APIs, streaming data, and machine-to-machine transactions.
Live Learn MoreMCP Integration
Model Context Protocol support for seamless AI agent integration. Connect Claude, GPT, and other LLMs.
Live View on npmFor AI Agents: MCP Server
Give your AI agent a Bitcoin wallet. One command, zero API keys.
npx lightning-faucet-mcp
Self-registers on first run. Works with Claude Code, Cursor, and any MCP client.
{
"mcpServers": {
"lightning-faucet": {
"command": "npx",
"args": ["lightning-faucet-mcp"]
}
}
}
Add to ~/.claude/settings.json
For Developers: L402 API
Pay-per-request via Lightning. No signup required.
# 1. Request returns 402 with Lightning invoice
curl -i https://lightningfaucet.com/api/l402/fortune
# 2. Pay the invoice, get macaroon + preimage
# 3. Make authenticated request
curl https://lightningfaucet.com/api/l402/fortune \
-H "Authorization: L402 ${MACAROON}:${PREIMAGE}"
Ready to integrate?
Create an operator account and start building in minutes.