Skip to content

Finnworlds-Financial-data-API/Historical-Stock-Price-OHLC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Historical Stock Price OHLC API - Finnworlds

The Historical Stock Price OHLC API is a data source to get structured historical stock price data in JSON format. The stock price data includes open, high, low, close (OHLC), adjusted close, and trade volume. You can get decades worth of historical stock price data in daily and monthly intervals to display OHLC. The data also includes dividend and stock split fields which are populated on the days these events took place.

The REST structure of the Historical Stock Price OHLC API simplifies integration and allows you to build decades of historical price data easily. Historical stock data is ideal for trading platforms, research tools, backtesting strategies, portfolio analytics, and financial dashboards requiring accurate historical market information with its global coverage across different markets and regions.

The API is suitable for hobbyists, fintech developers, analysts, traders, and enterprise applications that need detailed historical stock pricing for analysis, modeling, and reporting.

Common Use Cases

– Analyze historical stock price movements using OHLC data
– Build candlestick charts and visualizations by utilizing the daily and monthly intervals
– Backtest trading strategies using historical market data
– Calculate returns, volatility, and other technical indicators
– Monitor historical dividends and stock splits
– Integrate historical price data into investment dashboards and analytics tools

API Features

  • OHLC Data – Open, High, Low, Close prices for each trading day
  • Adjusted Close – Prices adjusted for dividends and stock splits
  • Trade Volume – Daily trading volume to analyze liquidity
  • Stock Splits & Dividends – Includes split and dividend rate fields
  • Custom Date Ranges – Retrieve data for specific periods, including decades of historical prices
  • REST JSON – Standard JSON responses for seamless integration

Access today by getting your API key on the Finnworlds website.
Looking for academic or non-profit use? Send us an email to start the conversation.

How to access the data

  • JSON REST API
  • Excel CSV download
  • PDF reports
  • Email link

Documentation

Our documentation includes input parameters, output objects with descriptions. We also have SDKs for Javascript, JQuery, VueJS, Angular, JAVA, PHP, NodeJS, Python, Go, Ruby, C#, R, Strest, Rust, Swift and Scala.

Examples

https://api.finnworlds.com/api/v1/historicalcandlestick?key=APIKEY&ticker=AAPL&date_from=2000-03-20&date_to=2000-03-23

{
    "status": {
        "code": 200,
        "message": "OK",
        "details": ""
    },
    "result": {
        "basics": {
            "ticker": "AAPL",
            "date_start": "2000-03-23",
            "date_end": "2000-03-20"
        },
        "output": {
            "daily_stock_data": [
                {
                    "date": "2000-03-23",
                    "opentime": 953803800,
                    "open": "1.2678569555282593",
                    "high": "1.3426339626312256",
                    "low": "1.25",
                    "close": "1.261718988418579",
                    "closetime": 953827200,
                    "adjusted_close": "1.0605548620224",
                    "trade_volume": "562564800",
                    "stock_split": "",
                    "dividend_rate": ""
                },
                {
                    "date": "2000-03-22",
                    "opentime": 953717400,
                    "open": "1.1855469942092896",
                    "high": "1.2890629768371582",
                    "low": "1.1746649742126465",
                    "close": "1.2873879671096802",
                    "closetime": 953740800,
                    "adjusted_close": "1.082131028175354",
                    "trade_volume": "567996800",
                    "stock_split": "",
                    "dividend_rate": ""
                },
                {
                    "date": "2000-03-21",
                    "opentime": 953631000,
                    "open": "1.0943080186843872",
                    "high": "1.2209819555282593",
                    "low": "1.0859379768371582",
                    "close": "1.2047990560531616",
                    "closetime": 953654400,
                    "adjusted_close": "1.0127100944519043",
                    "trade_volume": "524328000",
                    "stock_split": "",
                    "dividend_rate": ""
                },
                {
                    "date": "2000-03-20",
                    "opentime": 953544600,
                    "open": "1.1026790142059326",
                    "high": "1.1272319555282593",
                    "low": "1.0926339626312256",
                    "close": "1.098214030265808",
                    "closetime": 953568000,
                    "adjusted_close": "0.9231183528900146",
                    "trade_volume": "204489600",
                    "stock_split": "",
                    "dividend_rate": ""
                }
            ]
        }
    }
}

Customer Support

Need help, have questions? Get in touch with Support.

Legal

Use of the Finnworlds website, services like API and database are subject to the Finnworlds Terms & Conditions.

About

Historical daily OHLC price and trade volume data of stocks traded on global exchanges, going back decades.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published