Historical Data

Learn to get the trends of a security for a specified interval.

We can use the YH Finance API to retrieve historical data about securities for a specified interval. This historical data can help us show the trend of that particular security to traders.

The base URL https://yfapi.net/v8/finance/spark is used to get this data.

Get hands-on with 1400+ tech skills courses.