L402 Demo

Lightning-gated API endpoints. Pay with Bitcoin, get data. No accounts.

How it works

  1. Enter a domain and click the button
  2. You'll get a Lightning invoice (a payment request)
  3. Pay the invoice with any Lightning wallet (Phoenix, Muun, WoS, etc.)
  4. Click "Verify Payment" — once confirmed, you get the data

This is the L402 protocol — HTTP 402 "Payment Required" + Lightning Network. Read how I built it or see why it matters.

Ping 1 sat
Test the L402 flow. Pay 1 sat, get a response. Cheapest possible proof it works.
Lightning Invoice
Domain Intelligence 10 sats
Full domain report: DNS records, WHOIS data, TLS certificate, GeoIP — all in one call.
Lightning Invoice
Security Audit 15 sats
TLS grade, security headers, DNS security (SPF, DMARC, CAA). Returns a letter grade and issue list.
Lightning Invoice

For developers

The same endpoints work with curl:

# Step 1: Get the invoice curl -s https://api.fridayops.xyz/l402/ping | jq . # Step 2: Pay the invoice with your Lightning wallet # Step 3: Send payment proof curl -s -H "Authorization: L402 <payment_hash>" \ https://api.fridayops.xyz/l402/ping | jq .

Full API docs: api.fridayops.xyz/l402/info

How I built it: Building L402 in 30 Minutes