How to fetch details of more than one stock with single call?

sudhir
Using the below code in PHP, I am able to fetch the LTP details of only one stock INFY.
I have to put below code in a loop and call it for every stock. It is taking more time.
I am trying to fetch details of many stocks in just one call. Could you please me with this?

PHP Code:
url = "https://api.kite.trade/instruments/NSE/INFY?api_key=XXX&access_token=YYY
$response = file_get_contents($url);
print_r($response);

Thanks.
  • Vivek
    @sudhir Currently you can fetch only one scrip per call but in upcoming release soon we are going to introduce this feature.
Sign In or Register to comment.