API: EOD Data

Get EOD Data

Gets eod data for an individual symbol.

https://www.marketgrind.com/request?apikey={your apikey}&query=geteoddata&symbol={symbol}&startdate={start date}&enddate={end data}&format={CSV|JSON|XML}

Parameters

NameTypeDescription
apikeyStringYour API Key
queryStringgeteoddata
symbolStringSymbol
startdateStringStart Date (format yyyy-MM-dd)
enddataStringEnd Date (format yyyy-MM-dd)
formatStringCSV, JSON, or XML format

Examples

CURL example:

   curl "https://www.marketgrind.com/request?apikey=abcdefghijkl&query=geteoddata&symbol=AAPL&startdate=2001-10-10&enddate=2012-10-10&format=CSV"

Success Response

Success-Response (example):

   date,ticker,open,high,low,close,volume
   10-10-2001,AAPL,16.10,16.85,15.95,16.82,5495700
   10-11-2001,AAPL,16.92,17.74,16.85,17.74,5967200
   10-12-2001,AAPL,17.31,18.08,16.86,18.01,5139500
   10-15-2001,AAPL,17.95,18.38,17.95,17.99,5692000
   10-16-2001,AAPL,18.09,18.20,17.77,18.01,3624100
   10-17-2001,AAPL,18.34,18.41,16.96,16.99,5098900
   10-18-2001,AAPL,17.29,18.23,17.29,18.00,10938800
   10-19-2001,AAPL,17.94,18.40,17.88,18.30,2978400
   10-22-2001,AAPL,18.21,19.07,18.09,19.02,6998900
   10-23-2001,AAPL,19.12,19.42,17.87,18.14,12231800
   10-24-2001,AAPL,18.06,19.09,17.75,18.95,6686200
   .
   .
   .

Error Response

Error-Response (example):

   Invalid API Key