{"status":"ok","service":"yahoo-finance-proxy","usage":"GET /?ticker=AAPL&range=1y&interval=1d","endpoints":{"chart":"GET /?ticker=AAPL&range=1y&interval=1d  — historical OHLCV","sector":"GET /sector?ticker=AAPL  — the sector ETF: Yahoo, else an AI reading the company's name and industry (v7.31)","fundamentals":"GET /fundamentals?ticker=AAPL  — revenue, margins, P/E, cash, beta (requires FINNHUB_API_KEY env var)","scan":"GET /scan  — v5: last scheduled-scan result","evening":"GET /evening?step=status|scan|warming|brain|earnings|pivot|options&key=  — v7.32: tonight's lists by hand, one step at a time (replaced /cron-test); v7.40: RSI(2) retired","backupTick":"GET /backup-tick  — v7.32: the backup timer in Supabase calls this; it acts only while Cloudflare's timer is quiet","companyNews":"GET /company-news?ticker=AAPL&days=7  — recent headlines (requires FINNHUB_API_KEY env var)","status":"GET /status  — v5.11: cron heartbeat, last-scan time, last-scan result (phone-checkable)","newsScan":"GET /news-scan?key=  — v7.38: what the next hourly news check would post (a preview: posts nothing)","config":"GET /config  — v5.13: Supabase URL + anon key from env vars (the app reads these instead of hard-coding)"},"params":{"ticker":"required, e.g. AAPL, SPY, MSFT","range":"optional, default 1y. one of: 1mo, 3mo, 6mo, 1y, 2y, 5y, max","interval":"optional, default 1d. one of: 1d, 1wk, 1mo"}}