Examples to get access to our API via CURL or WGET. For testing purposes, you can try the following API Key (works only for MCD.US and VTI.US tickers):  OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX.

Learn more about our End of Day and Fundamental Data APIs.

CURL Stock Data API

Stock End of Day Data API via CURL

curl https://eodhistoricaldata.com/api/eod/AAPL.US?api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX&order=d&fmt=json&from=2017-08-01

Fundamental Data API via CURL

curl https://eodhistoricaldata.com/api/fundamentals/AAPL.US?api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX

WGET Stock Data API

Stock End of Day Data API with WGET

wget https://eodhistoricaldata.com/api/eod/AAPL.US?api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX&order=d&fmt=json&from=2017-08-01

Fundamental Data API with WGET

wget https://eodhistoricaldata.com/api/fundamentals/AAPL.US?api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.