Get Share Dividends

To get dividends for any ticker use the following URL:

https://eodhistoricaldata.com/api/div/AAPL.US?api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX&from=2017-01-01

Let’s take a closer look on this URL and explain all parts in details.

  • 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.
  • from – date from with format “Y-m-d”
  • to – date to with format “Y-m-d”
  • api_token – API Key, we will send you after you subscribe to our services.

If you skip “from” or “to”, then you’ll get the maximum available data for the symbol. For testing purposes you can try the following API Key (works only for AAPL.US ticker): OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX

Get Share Splits

To get splits for any tickers use the following URL:

https://eodhistoricaldata.com/api/splits/AAPL.US?api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX&from=2017-01-01

  • 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.
  • from – date from with format “Y-m-d”
  • to – date to with format “Y-m-d”
  • api_token – API Key, we will send you after you subscribe to our services.

If you skip “from” or “to”, then you’ll get the maximum available data for the symbol. For testing purposes you can try the following API Key (works only for AAPL.US ticker): OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX

We hope it will work for you! Enjoy!

Comments

  1. Bob Kaye

    Is there a query parameter that will allow the return of the historical price for a specific date for each of several stocks? Yahoo used …….in(“orcl”, “msft”, “aapl”)…… to accomplish this for it’s historical database…

    1. EOD Historical Data Support Article Author

      You can use “from” and “to” parameters with the following format: “Y-m-d”.
      We have no endpoint for bunch update yet, but we are working on it and will update our API Documentation soon.

Leave a Reply