402 Index
The paid API directory for AI agents — indexed, verified, and searchable
Ecosystem Overview
17,481
Endpoints Indexed
7,460
Payment-Verified
677
Providers Indexed
282
Providers Verified
L402 Lightning Network
Verified1030 / 1,286 (80%)
Providers44 / 75 (59%)
Healthy1030
Decentralized, censorship-resistant, locally verifiable
x402 Base, Solana, etc.
Verified6083 / 15,319 (40%)
Providers232 / 525 (44%)
Healthy13029
Centralized facilitator required (4+ available), Base/Solana chains
MPP Stripe / Tempo
Verified347 / 876 (40%)
Providers25 / 101 (25%)
Healthy347
Stripe/Tempo facilitated, session-based settlement
Agent Discovery
Search the directory like an AI agent would through the MCP server
MCP Tool Call
{
"tool": "search_services",
"arguments": {}
}
Start typing or adjust filters to search...
Live Endpoint Health Check
Paste any API URL to run a real-time health check — see the protocol handshake live
Payment Flow
How an agent pays for an API call — step by step
1
Agent Sends Request
Agent discovers endpoint via 402index and sends request
GET https://x402.robtex.com/api/v1/bitcoin_blockchain_stats
2
Server Returns 402
Server requires payment — returns 402 with payment instructions
WWW-Authenticate: L402 macaroon="AGIAJEem...", invoice="lnbc100n1..."
3
Agent Pays Invoice
Agent pays Lightning invoice automatically via lnget or wallet
Lightning BOLT11 invoice Amount: ? sats Expiry: 60 seconds
4
Agent Retries with Token
Agent retries request with proof of payment
Authorization: L402 <macaroon>:<preimage>
5
Server Returns 200
Server validates payment and returns the requested data
HTTP/1.1 200 OK
Content-Type: application/json
{ "data": "..." }