Logo

Try Finage Data Feeds Now!

linkedinStart Free Trial

Historical Stock Data API

3 min read • October 10, 2020

Article image

Share article

linkedinXFacebookInstagram

Introduction

Historical stock price data is the most popular financial data in 2020. Especially for trade applications, investment platforms, and wealth management platforms are using historical stock data as an analysis of users' portfolios.

Historical stock data spares at the two way trade and real-time. Every historical stock data has some time intervals like 1-minute data to 1-day data.

Finage offering seconds and milliseconds aggregate historical stock data via API and WebSocket connection. You can use these data for downloading, excel, or CVS also you can use directly at your platform.

Where is the usage area of Historical Stock Data API in 2020


Not old like ancient cities or old books but finage can offer up to 30 years of Us Stock data as an end of day data. You can use this data for bulk downloads as in your computer excel, CSV, and more. You can also use to take statistical way to analyze specific companies and make a future estimation by connecting to dots by looking at the past.

Historical stock data creates lots of options to offer an investment solution for your customers and users. In all in one package you can access stocks, forex, and crypto historical stock data at the same time: 

You can call our historical stock data EOD with the API given below:

https://api.finage.co.uk/history?currency=EURUSD&from=2015-01-05&to=2015-01-07&apikey=YOUR_API_KEY

  • Queries
    • currency = Requested currency
    • from = Start date (YYYY-MM-dd)
    • to = End date (YYYY-MM-dd)
    • apikey = Your API key


Response

An example response is given below when you make a historical API request.

1
2
3
4
5
[
    { "symbol":"EURUSD","ask":1.19454,"bid":1.19495,"timestamp":1420416000},
    { "symbol":"EURUSD","ask":1.19318,"bid":1.19344,"timestamp":1420502400},
    { "symbol":"EURUSD","ask":1.18889,"bid":1.18907,"timestamp":1420588800}
]


Historical Stock Data API (End of Day)

It’s simple to use Finage’s end of day historical stock data API. 

If you want to get a full U.S. coverage stock data package, please contact us via E-Mail or live chat. 

https://api.finage.co.uk/history/stock/open-close?stock=AAPL&date=2005-02-03&apikey=YOUR_API_KEY

  • Queries
    • stock = Requested stock
    • date = Requested date (YYYY-MM-dd)
    • apikey = Your API key


Response

1
2
3
4
5
6
7
8
9
10
11
[
    {
        "symbol":"AAPL",
        "open":79.1,
        "high":79.43,
        "low":77.33,
        "close":77.81,
        "volume":13089041,
        "from":"2005-02-03"
    }
]


Historical All Stock Data API

With this API, you can get a very single trade with one API request.

If you want to get a full U.S. coverage stock data package, please contact us via E-Mail or live chat. 

https://api.finage.co.uk/history/stock/all?stock=AAPL&date=2005-02-03&ts=1107347400000000000&te=1107347401000

000000&limit=5&apikey=YOUR_API_KEY

  • Queries
    • stock = Requested stock
    • date = Requested date (YYYY-MM-dd)
    • ts = Timestamp Start (optional)
    • te = Timestamp End (optional)
    • limit = Limit the number of prices
    • apikey = Your API key

TS and TE queries are used to restrict content.


Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[
    "results": [
        {
            "timestamp": 1107347400000000000,
            "ask": 77.6,
            "bid": 77.63,
            "bsize": 20,
            "asize": 2
        },
        {
            "timestamp": 1107347401000000000,
            "ask": 77.6,
            "bid": 78,
            "bsize": 1,
            "asize": 2
        }
  ]
]
  • Parameters
    • timestamp = SIP Unix Timestamp
    • ask = Ask price
    • bid = Bid price
    • bsize = Bid size [lots]
    • asize = Ask size [lots]


This is the examples of historical stock data usage by API and responses with finage you can get All US Stock market Historical Data over 25.000 symbols. We are also providing Forex with 1.300 symbols and Cryptocurrency over 15 years of milliseconds, seconds, minutes, and day aggregated historical data.

You can easily start to use our Historical Data API at the link given below:

Get your free Historical Stock Data API

Share article

linkedinXFacebookInstagram
Stock API apis for stock finage api free Stock API portfolio management financial data forex api crypto api market data tick data realtime Stock API realtime stocks

Claim Your Free API Key Today

Access stock, forex and crypto market data with a free API key—no credit card required.

Logo Pattern Desktop

Stay Informed, Stay Ahead

Finage Blog: Data-Driven Insights & Ideas

Discover company news, announcements, updates, guides and more

Finage Logo
TwitterLinkedInInstagramGitHubYouTubeEmail
Finage is a financial market data and software provider. We do not offer financial or investment advice, manage customer funds, or facilitate trading or financial transactions. Please note that all data provided under Finage and on this website, including the prices displayed on the ticker and charts pages, are not necessarily real-time or accurate. They are strictly intended for informational purposes and should not be relied upon for investing or trading decisions. Redistribution of the information displayed on or provided by Finage is strictly prohibited. Please be aware that the data types offered are not sourced directly or indirectly from any exchanges, but rather from over-the-counter, peer-to-peer, and market makers. Therefore, the prices may not be accurate and could differ from the actual market prices. We want to emphasize that we are not liable for any trading or investing losses that you may incur. By using the data, charts, or any related information, you accept all responsibility for any risks involved. Finage will not accept any liability for losses or damages arising from the use of our data or related services. By accessing our website or using our services, all users/visitors are deemed to have accepted these conditions.
Finage LTD 2025 © Copyright