L402 API Registry

Directory of APIs that accept Lightning payments via the L402 protocol.
Perfect for testing AI agents and building pay-per-request integrations.

Submit Your API

What is L402?

L402 (formerly LSAT) is a protocol that enables APIs to charge per-request using Bitcoin's Lightning Network. When you call an L402-protected endpoint:

  1. 1 Server returns HTTP 402 Payment Required with a Lightning invoice
  2. 2 Client pays the invoice (~milliseconds)
  3. 3 Client retries request with proof of payment
  4. 4 Server returns the requested data

Our AI Agent Wallet MCP handles this automatically - just call pay_l402_api().

Available L402 APIs

Lightning Faucet Demo APIs

Active
Lightning Faucet Demo/Test
GET Fortune API 10-50 sats
https://lightningfaucet.com/api/l402/fortune

Get a random fortune cookie message

GET Joke API 10-50 sats
https://lightningfaucet.com/api/l402/joke

Get a random joke

GET Quote API 10-50 sats
https://lightningfaucet.com/api/l402/quote

Get an inspirational quote

Visit Lightning Faucet →

Stock Market Data API

Active
L402 Protocol Finance
GET Stock Ticker ~100 sats/credit
https://stock.l402.org/ticker/{SYMBOL}

Real-time stock data (price, P/E, revenue)

Auth: Bearer {user_id} from /signup

Requires pre-registration. Not a pure L402 flow.

Visit L402 Protocol →

Test These APIs with Our MCP Server

Our AI Agent Wallet MCP server can automatically pay L402 APIs:

// Configure Claude Code or any MCP client
{
  "mcpServers": {
    "lightning-faucet": {
      "command": "npx",
      "args": ["lightning-faucet-mcp"]
    }
  }
}

// Then just call:
pay_l402_api({
  url: "https://lightningfaucet.com/api/l402/fortune",
  max_payment_sats: 100
})

List Your L402 API

Have an L402-enabled API? Submit it to our registry and get discovered by AI agents and developers.

Submit Your API

L402 Resources