30-10-2025 02:28 PM: Getting zeros as LTP values for all my scrips.

divakar620
Getting zeros as LTP values for all my scrips. returns success but wrong ltp values returned. anythign wrong here?

var instrumentKeys = scripExchanges.Select(se => $"i={se.Exchange}:{se.ScripCode}").ToArray();
var instrumentsParam = string.Join("&", instrumentKeys);
var _baseUrl = "https://api.kite.trade";
var client = new RestClient($"{_baseUrl}/quote/ltp");
var request = new RestRequest();
request.Method = Method.Get;
request.AddHeader("X-Kite-Version", "3");
request.AddHeader("Authorization", $"token {_apiKey}:{_accessToken}");
request.AddParameter("i", instrumentsParam);

var response = await client.ExecuteAsync(request);
if (response.IsSuccessful)
{
  • nagavenij
    We tried fetching the data using the quote LTP endpoint, and it appears to be working fine. You may try fetching it again from your end. In case of any discrepancies, please share the instrument token so we can verify it from our side.
Sign In or Register to comment.