{
  "name": "Tollgate demo data API",
  "about": "Live U.S. public data, paid per call over HTTP 402 with NEAR payment channel vouchers.",
  "payment": {
    "scheme": "near-channel",
    "network": "near-testnet",
    "contract": "channels.tollgate-busel.testnet",
    "seller": "seller.tollgate-busel.testnet",
    "how": "Call any product. A 402 answer describes the price and the voucher format. Open a channel on the contract once, then send X-PAYMENT with each call."
  },
  "products": [
    {
      "path": "/v1/quakes",
      "price_near": "0.001",
      "description": "Recent earthquakes worldwide from the USGS FDSN event API",
      "params": {
        "min_magnitude": "number, default 4.5",
        "hours": "lookback, default 24",
        "limit": "1-50, default 10"
      }
    },
    {
      "path": "/v1/complaints",
      "price_near": "0.002",
      "description": "Newest CFPB consumer complaints, filterable by company and product",
      "params": {
        "company": "exact CFPB company name, e.g. CAPITAL ONE FINANCIAL CORPORATION",
        "product": "e.g. Credit card",
        "size": "1-25, default 5"
      }
    },
    {
      "path": "/v1/sec/facts",
      "price_near": "0.003",
      "description": "Latest annual headline financials (revenue, net income, assets, cash, R&D) from SEC EDGAR XBRL",
      "params": {
        "ticker": "e.g. NVDA, default AAPL"
      }
    }
  ],
  "free": [
    "/",
    "/tollgate/health",
    "/tollgate/receipts",
    "/tollgate/channels",
    "POST /tollgate/close"
  ]
}