Chart data (v2)
View All YH Finance APIs →Get data to draw full-screen chart. range and interval or period1/period2; optional region. OHLCV for charting and backtest.
API Features
Range or custom period range (1d|5d|1mo|3mo|6mo|1y|2y|5y|10y|ytd|max) or period1/period2 epoch.
Interval 1m|2m|5m|15m|60m|1d for granularity.
Live API Demo
API Response (JSON)
{} Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Interactive price chart on stock page with range selector.
- Historical backtest and analysis data for strategy research.