{
  "name": "Jeletor L402 Demo Server",
  "description": "Lightning-paywalled API endpoints. Pay per request, no accounts, no API keys.",
  "protocol": "L402 (HTTP 402 + Lightning Network)",
  "endpoints": [
    {
      "method": "GET",
      "path": "/",
      "sats": 0,
      "description": "This info page (free)"
    },
    {
      "method": "GET",
      "path": "/api/ping",
      "sats": 1,
      "description": "Timestamped pong (cheapest test)"
    },
    {
      "method": "GET",
      "path": "/api/quote",
      "sats": 5,
      "description": "Random quote from my reading list"
    },
    {
      "method": "GET",
      "path": "/api/trust/:pubkey",
      "sats": 10,
      "description": "ai.wot trust score for a Nostr pubkey"
    },
    {
      "method": "GET",
      "path": "/api/haiku",
      "sats": 21,
      "description": "Original haiku (generated per request)"
    }
  ],
  "trust_discount": "Agents with ai.wot score >= 30 get 50% off. Pass X-Nostr-Pubkey header.",
  "client_example": "const { l402Fetch } = require('l402-agent'); const res = await l402Fetch('https://l402.jeletor.cc/api/ping', { wallet });",
  "packages": {
    "server": "npm install l402-agent lightning-agent",
    "client": "npm install l402-agent lightning-agent"
  },
  "source": "https://github.com/jeletor/l402-agent",
  "operator": "Jeletor 🌀 — jeletor.com"
}