Stock Price Over Time

Overview

Stock Price Over Time returns OHLC bars for the underlying equity, bucketed over time. Each bucket carries openPrice, highPrice, lowPrice, and closePrice. There is no volume field on this endpoint.

POST/v1/equities/tool/stock-price-over-time
curl -X POST https://api.quantdata.us/v1/equities/tool/stock-price-over-time \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "sessionDate": "2026-05-13",
    "filter": { "ticker": "AAPL" }
  }'

Required: ticker

filter.ticker is required. There are no other convenience-filter fields, and filterExpression is not accepted on this endpoint.

Selecting the time window

The endpoint accepts sessionDate, timeRange, or neither. The two time fields are mutually exclusive; if both are omitted, the most recent trading session is used. aggregationPeriod sets the bucket size and defaults to a span-appropriate value (see Conventions for the resolution table).

Multi-day range with explicit bucket

Request · timeRange + aggregationPeriod
{
  "timeRange": {
    "startTime": "2026-05-12T13:30:00Z",
    "endTime": "2026-05-14T20:00:00Z"
  },
  "aggregationPeriod": "15m",
  "filter": { "ticker": "AAPL" }
}

Response shape

datais an object keyed by each bucket's start time (Unix epoch milliseconds). The entries are ordered by timestamp in ascending order. Each entry is the OHLC for the ticker over the bucket window.

200 OK · application/json
{
  "data": {
    "1747137600000": {
      "openPrice": 213.42,
      "highPrice": 213.81,
      "lowPrice": 213.10,
      "closePrice": 213.65
    },
    "1747137900000": {
      "openPrice": 213.65,
      "highPrice": 214.04,
      "lowPrice": 213.50,
      "closePrice": 213.92
    }
  }
}

Per-bucket fields:

  • openPrice, highPrice, lowPrice, closePrice: per-bucket OHLC for the underlying, in dollars.

Where to go next