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):  demo.

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=demo&order=d&fmt=json&from=2017-08-01

Fundamental Data API via CURL

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

WGET Stock Data API

Stock End of Day Data API with WGET

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

Fundamental Data API with WGET

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