As Peter Said, Google Finance API was to shut down on October 2012. Google left the servers functioning without supporting or monitoring them. They will turn off the servers when a major bug or security hole is discovered as mentioned by Jeff Nelson here.
You can use Yahoo finance to get the prices for multiple stock symbols as follow :http://finance.yahoo.com/d/quotes.csv?s=AAPL+GOOG+MSFT&f=snbaopl1
Google Ticker:
https://finance.google.com/finance?q=NASDAQ:AAPL&output=json
Or you can use Google Realtime Intraday Backfill Data.
This is an overview about the above google api since it is a litile tricky.
I will use the url you wrote in the comment:
https://www.google.com/finance/getprices?q=.NSEI&x=NSE&i=600&p=1d&f=d,o,h,l,c,v
Here the parameter i(interval) = 600 seconds = 10 minutes.
One tricky bit with the first column(date) has the full and partial timestamp.(Please check the notes in image )
The first row has timestamp = 1504669800. The second row in the data set in image has an interval of 1. You can multiply this number by our interval size (600 s, in this example) and add it to the last Unix Timestamp. That gives you the date for the current row. (So our second row is 10 minutes after the first row. Easy.)
1504669800 + (1 * 600) = 1504670400 -> timestamp for second row
1504670400 + (2 * 600) = 1504671600 -> timestamp for Third row ... and so on.
The last row (in the bottom) has the highest date and the latest tick.
It is easy to convert the unix time stamp to formatted date in any programming language, php example:
<?php
$timestamp=1504669800;
echo gmdate("Y-m-d\TH:i:s\Z", $timestamp);
?>
Online Convertor Here
Hope this help.