Quick Start

To get historical stock price data use the following URL:


  • AAPL.US consists of two parts: {SYMBOL_NAME}.{EXCHANGE_ID}, then you can use, for example, AAPL.MX for Mexican Stock Exchange. or AAPL.US for NASDAQ. Check the list of supported exchanges to get more information about stock markets we do support.
  • api_token – your own API KEY, which you will get after you subscribing to our services.
  • period – use ‘d’ for daily, ‘w’ for weekly and ‘m’ for monthly prices. By default daily prices will be shown.
  • order – use ‘a’ for ascending dates (from old to new) and ‘d’ for descending dates (from new to old). By default dates are shown in ascending order.

Register & Get Data

For testing purposes you can try the following API Key (works only for AAPL.US ticker):  OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX:


As a result you will get the following data in CSV format:


Stock Prices Data API with Dates Support

We support two formats for historical data dates.

EOD Historical Data

Here you can use ‘from’ and ‘to’ parameters with format ‘YYYY-MM-DD’. For example, if you need to get data only from Jan 5, 2017 to Feb 10 2017, you need to use from=2017-01-05 and to=2017-02-10. Then the final URL will be:


Filter fields. WEBSERVICE and YAHOO Support

We also support ‘=WEBSERVICE’ Excel function, to get only last value, just add ‘filter=last_close’ or ‘filter=last_volume’ with ‘fmt=json’ and you will get only one number which perfectly works with WEBSERVICE function. For example, with this URL:


You will get one value – last price of AAPL.

Yahoo Finance API Support

To support clients who used Yahoo Finance non-official API which doesn’t work now (URL: ichart.finance.yahoo.com), we also support yahoo-style for dates. Here there will be 6 parameters.

  • First of all, for yahoo-style you need to use another endpoint: https://eodhistoricaldata.com/api/table.csv.
  • For symbol you should use s, then for AAPL it will be: s=AAPL.US.
  • For ‘from date’ you should use a, b, c for month, day, year. Then 2017-01-05 will be: a=00, b=05, c=2017.
  • For ‘to date’ you should use d, e, f for month, day, year. Then 2017-02-10 will be: d=01, e=10, f=2017.
  • Please note, that in Yahoo! Finance API first months is 0 and last month (December) is 11. Then you need to substract 1 from months.
  • For ‘period’ you should use g. Possible values are d for daily, w for weekly and m for montly.

BE CAREFUL, date used here in American notation: MONTH, DAY, YEAR.

And the final URL will be:


We hope it will be very useful for you.

JSON Output Support

We support JSON output as well if you need it for your PHP, Python, Java or Perl applications. All you need is to add a special parameter: “fmt=json” to your query, then the final query will be:


EOD Historical Data JSON Output

JSON output doesn’t work for Yahoo-like style.

We have API limits 100 000 requests per day. Each symbol request costs 1 API call.

Register & Get Data