v1

latestOpenAPI 3.1.0raw.githubusercontent.com2025-04-25361217.6 KB
Charts

Get Historical Intraday Chart Data

Fetches historical intraday chart data for a specific company stock symbol and timeframe. Optional query parameters allow specifying a date range ('from', 'to') and requesting extended hours data ('extended').

get/charts/{symbol}/{timeframe}

Path parameters

symbolstring required

The stock symbol of the company (e.g., AAPL). Notation Guide:

  • U.S. Stocks: All caps (e.g. AAPL)
  • Intl. Stocks: All caps + "." + exchange (e.g. MC.PA, 9988.HK)
  • Crypto: Ticker + "USD" (e.g. BTCUSD, DOGEUSD)
  • Futures: Append "=F", all caps (e.g. ES=F, GC=F)
timeframe'1min' | '5min' | '15min' | '30min' | '1hour' | '4hour' required

The time interval for the chart data. Allowed values: 1min, 5min, 15min, 30min, 1hour, 4hour.

Query parameters

fromstring date

The starting date for the historical data (YYYY-MM-DD).

tostring date

The ending date for the historical data (YYYY-MM-DD).

extendedboolean

Include extended trading hours data (true/false). Defaults to false.

Response

Successful response with an array of historical chart data points (keys in kebab-case).

datestring date-time
opennumber
highnumber
lownumber
closenumber
volumenumber

Example response

[
  {
    "date": "2023-09-10 15:55:00",
    "open": 175.45,
    "high": 175.55,
    "low": 175.4,
    "close": 175.5,
    "volume": 15000
  }
]