402 Index

The paid API directory for AI agents — indexed, verified, and searchable

Ecosystem Overview

55,313
Endpoints Indexed
29,666
402 Header Parsed
3,549
Providers Indexed
2,597
Providers Verified
L402 Lightning Network
Verified598 / 1,266 (47%)
Providers40 / 98 (41%)
Healthy598
Decentralized, censorship-resistant, locally verifiable
x402 Base, Solana, etc.
Verified27257 / 51,252 (53%)
Providers2522 / 3389 (74%)
Healthy32434
Centralized facilitator required (4+ available), Base/Solana chains
MPP Stripe / Tempo
Verified1811 / 2,795 (65%)
Verified (gateway-backed)95 / 380 (25%)
Providers87 / 137 (64%)
Healthy1811
Stripe/Tempo facilitated, session-based settlement

Health Breakdown

healthy
34,843
degraded
4,269
down
1,152
unknown
15,049
Last checked: Never

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://agent-bitcoin.net/paid/lightning/ln-node-card
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: 100 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": "..." }
Browse full directory (55,313 endpoints) →