API: Intraday Data

Get Intraday Data

Gets intraday data for an individual symbol.

https://www.marketgrind.com/request?apikey={your apikey}&query=getintradaydata&symbol={symbol}&startdate={start date}&enddate={end data}&timeframe={1min|5min|10min|20min|1hour|4hour}&format={CSV|JSON|XML}

Parameters

NameTypeDescription
apikeyStringYour API Key
queryStringgetintradaydata
symbolStringSymbol
startdateStringStart Date (format yyyy-MM-dd)
enddataStringEnd Date (format yyyy-MM-dd)
timeframeStringTimeframe 1min, 5min, 10min, 20min, 1hour, 4hour
formatStringCSV, JSON, or XML format

Examples

CURL example:

   curl "https://www.marketgrind.com/request?apikey=abcdefghijkl&query=getintradaydata&symbol=AAPL&startdate=2016-10-10&enddate=2016-10-10&timeframe=1min&format=CSV"

Success Response

Success-Response (example):

   date,ticker,open,high,low,close,volume
   2016-10-10 09:00:00,115.3600,115.4100,115.3600,115.4000,3915.0000
   2016-10-10 09:01:00,115.4000,115.4400,115.4000,115.4300,13700.0000
   2016-10-10 09:02:00,115.4300,115.4900,115.4200,115.4900,12161.0000
   2016-10-10 09:03:00,115.4900,115.5000,115.4400,115.4400,4675.0000
   2016-10-10 09:04:00,115.4700,115.4700,115.4200,115.4400,15025.0000
   2016-10-10 09:05:00,115.4100,115.4800,115.4000,115.4800,7865.0000
   2016-10-10 09:06:00,115.4800,115.4900,115.3600,115.3600,5352.0000
   2016-10-10 09:07:00,115.3600,115.3700,115.3500,115.3700,450.0000
   2016-10-10 09:08:00,115.3500,115.3600,115.3500,115.3600,1900.0000
   2016-10-10 09:09:00,115.3400,115.3900,115.3400,115.3400,1310.0000
   2016-10-10 09:10:00,115.3100,115.3200,115.3000,115.3200,2193.0000
   2016-10-10 09:12:00,115.3400,115.4100,115.3300,115.4100,4784.0000
   2016-10-10 09:13:00,115.4200,115.4200,115.4200,115.4200,2348.0000
   2016-10-10 09:14:00,115.4500,115.4500,115.3900,115.3900,5189.0000
   2016-10-10 09:15:00,115.4000,115.4000,115.3800,115.4000,600.0000
   .
   .
   .

Error Response

Error-Response (example):

   Invalid API Key