Stock market data infrastructure
Historical stock price data API
Use stored daily and weekly OHLCV history with explicit adjustment basis, currencies, source attribution, and availability checks.
Documentation revised
Price history for ingestion and charts
Request daily bars or weekly resampling through the company prices route. Available history depends on stored observations. The range is measured from the latest available bar, so a full-looking chart window does not establish that collection is current.
Use the correct adjusted series
Daily and weekly OHLC prices are adjusted for splits and dividends; close_split_adjusted preserves the split-only close basis used by quotes. Corporate actions can revise earlier observations. Store adjustment and source with exported values, and refresh history when maintaining a consistent basis matters.
Check timing before use
Price data is delayed or end-of-day according to the dataset. Intraday collection has narrower universe and tier restrictions and is not a real-time guarantee. An empty bars array should remain an explicit availability state in your application.