{
  "openapi": "3.1.0",
  "info": {
    "title": "Crypt0's News agent API, x402 paywall",
    "version": "1.0.0",
    "description": "Pay-per-call crypto data API. AI agents pay per endpoint in USDC on Base through the x402 protocol: 402 challenge, sign, retry with X-PAYMENT, facilitator verifies and settles, server returns JSON with a receipt. Buyer to treasury, zero human friction, no account required. Human overview at /agents.html, discovery at /.well-known/x402.json."
  },
  "servers": [
    {
      "url": "https://crypt0snews.com"
    }
  ],
  "paths": {
    "/api/x402/archive": {
      "get": {
        "summary": "Archive index, public video catalogue, JSON",
        "description": "Archive index, public video catalogue, JSON. Machine-payable: call unpaid to receive HTTP 402 with x402 payment requirements, pay 0.10 USDC on Base (6 decimals, amount 100000) and retry with the X-PAYMENT header. No account, no signup, no human anywhere.",
        "x-x402-payment": {
          "scheme": "exact",
          "asset": "USDC",
          "network": "base",
          "amount": "100000",
          "amountUsd": "0.10"
        },
        "responses": {
          "200": {
            "description": "Paid resource payload (JSON)"
          },
          "402": {
            "description": "Payment required, x402 settlement instructions in response headers"
          }
        }
      }
    },
    "/api/x402/brief": {
      "get": {
        "summary": "Daily brief feed \u2014 the 3 latest published stories, JSON",
        "description": "Daily brief feed \u2014 the 3 latest published stories, JSON. Machine-payable: call unpaid to receive HTTP 402 with x402 payment requirements, pay 0.02 USDC on Base (6 decimals, amount 20000) and retry with the X-PAYMENT header. No account, no signup, no human anywhere.",
        "x-x402-payment": {
          "scheme": "exact",
          "asset": "USDC",
          "network": "base",
          "amount": "20000",
          "amountUsd": "0.02"
        },
        "responses": {
          "200": {
            "description": "Paid resource payload (JSON)"
          },
          "402": {
            "description": "Payment required, x402 settlement instructions in response headers"
          }
        }
      }
    },
    "/api/x402/search-index": {
      "get": {
        "summary": "Full site search index, JSON",
        "description": "Full site search index, JSON. Machine-payable: call unpaid to receive HTTP 402 with x402 payment requirements, pay 0.05 USDC on Base (6 decimals, amount 50000) and retry with the X-PAYMENT header. No account, no signup, no human anywhere.",
        "x-x402-payment": {
          "scheme": "exact",
          "asset": "USDC",
          "network": "base",
          "amount": "50000",
          "amountUsd": "0.05"
        },
        "responses": {
          "200": {
            "description": "Paid resource payload (JSON)"
          },
          "402": {
            "description": "Payment required, x402 settlement instructions in response headers"
          }
        }
      }
    }
  }
}
