{
  "service": "NoJunk Stocks",
  "description": "Stock, ETF, index, FX and commodity quotes, OHLCV history and computed statistics (returns, volatility, drawdown, RSI, moving averages). Pay per call with USDC on Base (x402). No API key.",
  "openapi": "https://nojunk-stocks.mick8511.workers.dev/openapi.json",
  "health": "https://nojunk-stocks.mick8511.workers.dev/health/data",
  "price": {
    "/quote": "$0.001 USDC on Base per successful request (x402)",
    "/quotes": "$0.003 USDC on Base per successful request (x402)",
    "/history": "$0.002 USDC on Base per successful request (x402)",
    "/stats": "$0.002 USDC on Base per successful request (x402)"
  },
  "endpoints": {
    "/quote": {
      "methods": [
        "GET",
        "POST"
      ],
      "url": "https://nojunk-stocks.mick8511.workers.dev/quote",
      "price_usd": "0.001000",
      "example": "https://nojunk-stocks.mick8511.workers.dev/quote?symbol=AAPL",
      "description": "One symbol -> latest price, change, previous close, day high/low, volume, 52-week high/low, currency, exchange, name, market state."
    },
    "/quotes": {
      "methods": [
        "GET",
        "POST"
      ],
      "url": "https://nojunk-stocks.mick8511.workers.dev/quotes",
      "price_usd": "0.003000",
      "example": "https://nojunk-stocks.mick8511.workers.dev/quotes?symbols=AAPL%2CMSFT%2CBTC-USD",
      "description": "Up to 20 symbols in one call -> the same quote fields per symbol, fetched in parallel; unknown symbols come back as {ok: false, error: \"not found\"}."
    },
    "/history": {
      "methods": [
        "GET",
        "POST"
      ],
      "url": "https://nojunk-stocks.mick8511.workers.dev/history",
      "price_usd": "0.002000",
      "example": "https://nojunk-stocks.mick8511.workers.dev/history?symbol=AAPL&range=1mo&interval=1d",
      "description": "One symbol -> OHLCV candles for a range (1d to max) and interval (1m to 1mo), adjusted close, dividends, splits and a summary (first, last, change %, high, low, average volume)."
    },
    "/stats": {
      "methods": [
        "GET",
        "POST"
      ],
      "url": "https://nojunk-stocks.mick8511.workers.dev/stats",
      "price_usd": "0.002000",
      "example": "https://nojunk-stocks.mick8511.workers.dev/stats?symbol=AAPL",
      "description": "One symbol -> statistics computed from one year of daily bars: 1w/1m/3m/6m/1y returns, annualized volatility, max drawdown, SMA 20/50/200 with price-above flags, RSI 14, 52-week high/low distance, 30-day average volume."
    }
  },
  "params": {
    "/quote": {
      "symbol": "required, 1-12 characters of A-Z 0-9 . ^ = - e.g. AAPL, BRK-B, ^GSPC, BTC-USD, EURUSD=X, GC=F"
    },
    "/quotes": {
      "symbols": "required, comma list or JSON array, 1-20 symbols"
    },
    "/history": {
      "symbol": "required",
      "range": "1d|5d|1mo|3mo|6mo|1y|2y|5y|max, default 1mo",
      "interval": "1m|5m|15m|1h|1d|1wk|1mo, default 1d; 1m only for 1d/5d, other intraday only up to 1mo"
    },
    "/stats": {
      "symbol": "required"
    }
  },
  "source": "Yahoo Finance",
  "notice": "Data provided for informational use only, not investment advice. Quotes may be delayed by the exchange.",
  "limits": {
    "timeout_seconds": 8,
    "max_symbols": 20,
    "max_request_bytes": 16384,
    "cache_seconds": {
      "1m": 15,
      "intraday": 60,
      "daily_and_longer": 300
    }
  },
  "no_charge_on": [
    "400 invalid input",
    "404 symbol not found / no data",
    "413 request too large",
    "502 data source unavailable"
  ],
  "configured": true,
  "facilitator": "cdp"
}