Can AI agents pay with Bitcoin?
Yes. An AI agent can pay with Bitcoin on its own, with no person approving each payment. There are four ways, listed below, and the counts come from our checked data as of 2026-10-24.
The 4 ways an agent pays with Bitcoin
- 1Lightning and L402
The agent calls an API, gets an HTTP 402 answer with a Lightning invoice, pays it in sats, and retries with the proof. Instant, and no on-chain fee.
132 live L402 APIs · 123 Lightning wallets · 15 MCP servers · L402 APIs · Lightning guide
- 2Nostr Wallet Connect (NWC)
A person connects a Lightning wallet to the agent once, with a spending budget. The agent then pays within that budget.
1 YES services · 40 NWC wallets · Lightning wallets
- 3On-chain Bitcoin
The agent pays a normal Bitcoin invoice at checkout. Best for larger buys like servers, domains and VPNs.
153 YES merchants (132 direct or BTCPay) · 138 on-chain wallets · YES merchants
- 4Cashu ecash (NUT-24)
The agent sends a bearer ecash token in a request header. Small amounts only, because every Cashu mint is custodial.
41 verified in /cashu (17 mints, 1 live NUT-24 API) · /cashu · free /try402 sandbox
Services that take Bitcoin from agents
17 of 18 services on Bitcoin rails are verified YES from their own docs or a live unpaid 402 probe. The first 8:
- L402 (Lightning HTTP 402) YES l402lightning
- Lightning Labs agent tools YES lightningl402
- Alby MCP (Nostr Wallet Connect) YES lightningnwc
- Lightning Enable YES l402lightning
- Sats4AI YES l402lightning
- Fewsats MCP YES lightningl402
- Routstr YES ecashlightning
- PayPerQ (PPQ.ai) YES lightning
All Bitcoin and Lightning services →
Merchants that accept Bitcoin
153 of 231 merchants take Bitcoin directly. Some developer and infrastructure examples:
- Vultr YES ·
- Hostinger YES ·
- NordVPN YES ·
- Namecheap YES ·
- Proton (Mail, VPN, Drive) YES ·
- Mullvad VPN YES ·
- Njalla YES ·
- Kagi Search YES ·
All 153 YES merchants → · Full 231-merchant directory →
Top Bitcoin wallets for agents
Top 8 of 183 by verified agent features (out of 7):
- Agent402 · score 7 / 7 · x402stablecoinonchain
- Alby Hub + NWC · score 7 / 7 · lightning
- AbaPay · score 6 / 7 · x402stablecoinonchain
- mcp · score 6 / 7 · x402stablecoinonchain
- nostrpulse-full · score 6 / 7 · lightningecashnwconchain
- agentic-wallet-guardian-v3 · score 5 / 7 · x402stablecoinonchain
- bolthub-sdk · score 5 / 7 · lightningnwcx402
- leashd · score 5 / 7 · lightningecashnwcx402stablecoinonchain
Full 204-wallet leaderboard → · 15 Bitcoin/Lightning MCP servers →
Cheapest pay-per-call APIs in sats
The 8 cheapest of 132 APIs that answered our unpaid probe with an L402 challenge. Nothing was paid:
- Loop Gateway · 1 sat (≈ $0.0008) · Loop XXI LLC
- Raikiri: your first L402 purchase (1 sat test endpoint) · 1 sat (≈ $0.0008) · Raikiri
- parsebit-lnd.fly.dev: Code explanation endpoint that accepts code or a code-file URL and r · 1 sat (≈ $0.0008) · parsebit-lnd.fly.dev
- parsebit-lnd.fly.dev: L402 · 1 sat (≈ $0.0008) · parsebit-lnd.fly.dev
- Air Quality Index: Current · 2 sat (≈ $0.0016) · Lightning Enable
- Convert HTML to Markdown or plain text (nothing fetched) (Tanod) · 2 sat (≈ $0.0016) · tanod
- Convert a color between hex, RGB, HSL and OKLCH and check WCAG contrast (Tanod) · 2 sat (≈ $0.0016) · tanod
- Count word and n-gram frequencies in a text (Tanod) · 2 sat (≈ $0.0016) · tanod
All 132 L402 APIs → · Compare L402, x402, MPP and NUT-24 →
Plain-English meanings
- Lightning
- Bitcoin’s fast, cheap payment layer: payments settle in seconds and can cost a fraction of a cent.
- L402
- A way for an API to say “pay first”: it replies with a Lightning invoice, the agent pays a few sats, then gets its answer.
- NWC
- Nostr Wallet Connect: lets an app or agent spend from your Lightning wallet within limits you set.
- Cashu
- An ecash system for Bitcoin: you deposit sats with a mint and get back bearer tokens you can send like a file. Fast and cheap, but you must trust the mint.
- NUT-24
- The Cashu standard for paying over HTTP 402: the server answers 402 with an X-Cashu payment request, then the agent retries with a Cashu token in the X-Cashu header.
- HTTP 402
- “Payment Required”: a web status code a server sends when a request has to be paid for first.
- Self-custody
- You hold the keys to the money, not a company.
- sats
- A satoshi (sat) is one hundred-millionth of a bitcoin.
Data as of 2026-10-24. How we check: /method.