L402 API Catalog › Premium Services
Registry Submit L402 API
Submit your own L402 endpoint to the public registry. Auto-verified by a probe payment, so budget the probe cost on top.
1000 sats per call, paid over the Lightning Network. No API key and no signup: the request returns 402 Payment Required, the caller pays the invoice, and retries with the proof of payment.
l402_registry_submit
1000 sats
Parameters
name API name
provider Who operates it
contact_email Valid email for the listing
endpoint_url Your L402 URL
Call it with curl
The first call answers 402 with a Lightning invoice in the WWW-Authenticate header. Pay it from any Lightning wallet, then repeat the call with the L402 token and preimage.
curl -X POST https://lightningfaucet.com/api/ \
-H "Content-Type: application/json" \
-H "Authorization: L402 $MACAROON:$PREIMAGE" \
-d '{"action":"l402_registry_submit","name":"Tide Table API","provider":"Coastal Data Co","contact_email":"api@example.com","endpoint_url":"https://api.example.com/l402/tides"}'
All Premium Services endpoints · How L402 authentication works · List your own API on the gateway