Path Parameters
| Name | Type | Example | Description |
|---|---|---|---|
| symbol | string | AAPL | Stock ticker |
Query Parameters
| Name | Type | Example | Description |
|---|---|---|---|
| start_date | string | 2024-01-01 | Start date in YYYY-MM-DD format. |
| end_date | string | 2024-12-31 | End date in YYYY-MM-DD format. |
Auth
headers: { 'Authorization': 'Replace with your API token' }
Examples
fetch('https://api.gurufocus.com/data/stocks/AAPL/price?start_date=2024-01-01&end_date=2024-12-31', { method: 'GET', headers: { 'Authorization': 'Replace with your API token' }})
Responses
Successful response. The exact payload fields depend on this endpoint.
Example Body (Field Reference)
[ { "date": "2026-01-12", "open": 259.16, "close": 260.25, "unadjusted_close": 260.25, "high": 261.3, "low": 256.8, "volume": 45263767 }]
Introduction
Returns historical price bars for a given stock. Each row includes open, high, low, close, unadjusted close, volume, trading date, and exchange session status.
What' Included
- OHLC price bars - Historical open, high, low, and close prices.
- Unadjusted close - The raw close price before split adjustment.
- Volume and session flag - Daily trading volume and whether the row is from an exchanged session.
- Optional date filtering - Use
start_dateandend_dateto narrow the returned range.
Use Cases
This dataset’s ideal for:
- Investment platforms - Power historical charts and performance views
- Fintech developers - Add clean price series to dashboards and analysis tools
- Quantitative research teams - Run backtests and trend studies on adjusted price data
- Institutional analysts - Compare price history across stocks and time periods
- Academic researchers - Study market behavior with standardized historical prices
Extend Your Capabilities
Combine the Price Dataset with other GuruFocus stock datasets:
- Profile Dataset - Company identity, valuation, and current price context
- Fundamental Dataset - Historical financial statement data
- Ranking Dataset - GF Score and proprietary ranking signals
- Historical Valuation and Ratios Dataset - Time-series multiples and risk metrics
All stock datasets follow a consistent structure and are accessible through unified API endpoints.
Response Reference
The response is an array of objects with these fields:
| Display Name | Field Name | Data Type |
|---|---|---|
| Date | date | date string |
| Open | open | number |
| High | high | number |
| Low | low | number |
| Close | close | number |
| Volume | volume | number |
| Unadjusted Close | unadjusted_close | number |
Example
[
{
"high": 261.3,
"low": 256.8,
"open": 259.16,
"close": 260.25,
"unadjusted_close": 260.25,
"volume": 45263767,
"date": "2026-01-12"
}
]