Historical stocks

Historical stock data API with trades, bars, open-close, and indicators

Request historical stock trades, OHLC aggregates, grouped bars, open-close snapshots, and technical indicators with plan-aware lookback rules.

Quick answer

Free stock subscriptions include a 3-year lookback, Developer includes 7 years, and Expert or Commercial includes 10 years plus quote access.

Real-time dataHistorical market dataQuotes & tradesAggregates & indicators

Why teams use it

Build historical stock research from point-in-time REST endpoints

One account, two products

Use one CuteMarkets login and API keys while keeping options and stocks subscriptions independent.

Developer delayed access

The Developer stock plan includes 15-minute delayed data, unlimited requests, and a 7-year historical lookback.

Expert quote tier

Quote endpoints are available on Expert and Commercial for quote-heavy workflows.

Historical stock data

Historical stock workflows need bar policy and event windows

A historical stock data guide should be more precise than a promise of old prices. Developers need to know which object drives charting, which object drives tick review, and how those rows support an options workflow.

Bars for signals

Aggregates, grouped bars, open-close, and indicators are useful for signal context, but the strategy should still record timestamp windows and adjusted settings.

Trades for prints

Trade history helps debug market activity around a signal timestamp and compare bar-derived conclusions against actual prints.

Options handoff

Once the stock signal exists, options research should move into listed expirations, chains, contracts, quotes, and trades for selected legs.

Historical stock workflow

Historical stock data needs adjusted-state and timestamp context

Historical stock research should store the adjusted flag, timespan, multiplier, bar timestamp, session label, and pagination cursor. The detailed workflow lives in stock aggregates and indicators, market hours and timestamps, and historical market-data cache design.

When a stock signal becomes an options trade, the body of the workflow should link into stock and options data joins, options contract selection, and historical options replay so same-bar lookahead and stale quote fills are not hidden.

Endpoint map

Match stock endpoints to the workflow instead of saying stock price API

Use a concrete request order for watchlists, research screens, event studies, and options-aware workflows.

Endpoint layerUse it forAvoid this shortcut
Ticker referenceBuild symbol search, active ticker lists, ticker detail, and related-ticker flows.Assuming every typed ticker is active or mapped to the right security.
Snapshots and moversPopulate current watchlists, market panels, and high-level state.Using a snapshot as historical evidence for a past signal.
TradesInspect recent or historical prints around a signal timestamp.Treating last trade as a complete current market.
QuotesStudy bid/ask context and spread-aware panels on Expert or Commercial plans.Promising quote-aware behavior on plans that do not include quotes.
AggregatesBuild charts, OHLC backtests, grouped bars, and open-close reviews.Using bars as proof of executable bid/ask fills.
IndicatorsRequest SMA, EMA, MACD, and RSI for signal context.Treating indicator output as a trading system without timestamp and execution checks.

Use cases

What you can build with this stock market data API

Backtests

Use trades and bars with explicit date windows and signed cursor pagination for repeatable historical pulls.

Indicator studies

Fetch SMA, EMA, MACD, and RSI from the stock indicator endpoints.

Daily reviews

Use open-close records and grouped bars to review market sessions.

Developer examples

Two code paths teams usually need first

Historical trades
curl "https://api.cutemarkets.com/v1/stocks/trades/AAPL/?timestamp.gte=2026-05-06T13:30:00Z&limit=1000" \
  -H "Authorization: Bearer YOUR_API_KEY"
Aggregates
curl "https://api.cutemarkets.com/v1/stocks/aggs/AAPL/5/minute/2026-05-01/2026-05-06/?adjusted=true&limit=5000" \
  -H "Authorization: Bearer YOUR_API_KEY"

Open next

Docs and research for the next step

FAQ

Common questions about this stock data API

Does CuteMarkets now provide stock REST data?

Yes. CuteMarkets supports stock REST endpoints for snapshots, movers, ticker reference, trades, quotes, aggregates, open-close, and technical indicators.

Are stocks bundled with options?

No. Stocks and options are separate subscriptions with the same Free, Developer, Expert, and Commercial plan ladder, managed from the same CuteMarkets account.

Which stock plans include quotes?

Stock quote endpoints require the Expert or Commercial stock subscription. Developer includes unlimited delayed stock data but not quote endpoint access.

Pull historical stock data

Create a stock subscription when your workflow needs longer lookback, live access, or quotes.