15 years of daily end-of-day OHLCV history across U.S.-listed stocks — enough depth to backtest through multiple market cycles, not just the last 12 months.
A strategy that only sees a bull-market slice of data will look great and fail live. 15 years of daily bars reaches back through multiple drawdowns and recoveries, enough for walk-forward validation, regime-conditional backtests, and multi-year seasonality studies — not just a curve-fit to the last few quarters.
curl -H "X-Api-Key: YOUR_API_KEY" \ "https://www.stashgamma.com/api/dataapi/v1/eod/QQQ?from=2011-01-01&to=2026-08-01"
Omit from/to and you get the trailing 30 days instead — useful for a quick sanity check before pulling the full history for a backtest run.
Walk-forward test entries/exits across multiple regimes instead of one lucky window.
Day-of-week, month-of-year, and multi-year cyclical patterns need years of bars, not weeks.
New to the API? Start with the quickstart guide to get a key and make your first request, or see the OHLCV data reference for the exact field shapes.
Free forever, no credit card — get a key and pull 15 years of bars today.
Get Started FreeFree Stock Data API
Start here — the free tier, no card required, 300 requests/hour.
EOD Data API Quickstart Guide
Get a key and pull your first end-of-day bars in under 5 minutes.
Free Stock Market APIs Compared
How the free tier stacks up against Alpha Vantage, IEX, and others.
OHLCV Data API
What OHLCV data is and exactly how the response is shaped.
MCP Server for Stock Data
Connect Claude, OpenAI, ChatGPT, or another MCP-capable agent directly to the data.
Full API Documentation
Auth, endpoint reference, rate-limit headers, and error codes.
Ready to try it? Get your free API key — no card required.