THIS API ENDPOINT IS AVAILABLE TO EOD HISTORICAL DATA — ALL WORLD, EOD+INTRADAY — ALL WORLD EXTENDED AND ALL-IN-ONE PACKAGE SUBSCRIPTION PLANS, FREE SUBSCRIPTIONS HAVE ACCESS TO IT AS WELL. EACH REQUEST TO THIS API ENDPOINT CONSUMES 1 API CALL PER TICKER.

With this API endpoint, you are able to get delayed (15-20 minutes) information about almost all stocks on the market.

Major features

  • We support almost all symbols and exchanges all around the world.
  • Prices are provided with 15-20 minutes delay.
  • We provide only a 1-minute interval within this API, then you will get prices only with 1-minute frequency.
  • Multiple tickers with one request.
  • Supports Excel WEBSERVICE.

Examples

Here is an example of live (delayed) stock prices API for AAPL (Apple Inc), please notice, that API token ‘demo’ works only for AAPL.US symbol:

View
https://eodhd.com/api/real-time/AAPL.US?fmt=json&&api_token=demo

The output for the URL above will be like this:

Live Stock Output

Timestamp field explanation

We use Unix time for our timestamp field. It is a system for describing a point in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970. You can easily check and convert all our timestamps here: http://www.onlineconversion.com/unix_time.htm.

For example, for output above 1509733800 it will be Fri, 03 Nov 2017 18:30:00 GMT.

Multiple Tickers with One Request

Just add “s=” parameter to your URL and you will be able to get data for multiple tickers at one request, all tickers should be separated with a comma. For example, you can get data for AAPL.US, VTI, and EUR.FOREX with the following request:

View
https://eodhd.com/api/real-time/AAPL.US?fmt=json&s=VTI,EUR.FOREX&api_token=demo

Please note, that AAPL.US used here at the beginning and additional tickers with the parameter “s=”.

We do not recommend using more than 15-20 tickers per request.

Excel WEBSERVICE support

If you need only one field, just use the ‘filter=FIELDNAME’ parameter. For examples, if you use the following URL:

View
https://eodhd.com/api/real-time/AAPL.US?=demo?fmt=json&filter=close&api_token=demo

Then only one number will be returned: 172.5. Which is very useful for Excel WEBSERVICE function like this:

=WEBSERVICE("https://eodhd.com/api/real-time/AAPL.US?api_token=demo&fmt=json&filter=close")

We support live (delayed) stock prices data both in JSON and CSV format, if you want to get a CSV output, just change ‘fmt=json’ to ‘fmt=csv’ or simply remove this parameter.

We have API limits 100 000 requests per day. Each symbol request costs 1 API call. For example, multiple tickers request with 10 symbols costs 10 API calls.

Enjoy!

Register & Get Data