Unverified against a live captureField names above follow the standard Noren candle schema (into/inth/intl/intc = open/high/low/close, v = cumulative volume) but haven't been diffed against a fresh debug log for this specific endpoint. Confirm before publishing.
Error handling
Code
Meaning
Invalid_Input
Unrecognized token/exch pair, or st is later than et.
(non-list response)
The SDK treats any non-list JSON body as an error and returns None — check stat/emsg on the raw response if you're not using the SDK.
Best practices
Request the widest interval that still satisfies your strategy — a 1-minute pull over a full session is a lot heavier than a 5-minute one for the same lookback.
Cache the response locally within the trading day; re-requesting the same st–et window repeatedly wastes your rate limit.
Python example
python
from api_helper import NorenApiPy
api = NorenApiPy()
api.injectOAuthHeader(cred["Access_token"], cred["UID"], cred["Account_ID"])
# 5-minute candles for the current session, from session start
ret = api.get_time_price_series(exchange="NSE", token="2885")
print(len(ret))
print(ret[0]) # earliest candleprint(ret[-1]) # latest candle
Notes
Candles are returned in a flat list, not wrapped in a values key like some other market-data endpoints — index into it directly. If the SDK call returns None, the response body wasn't a JSON list (i.e. an error payload), not an empty result set.
Parameters
NSE.1, 3, 5, 10, 15, 30, 60, 120, 240. Defaults to1.Request example
Response example
Error handling
token/exchpair, orstis later thanet.None— checkstat/emsgon the raw response if you're not using the SDK.Best practices
st–etwindow repeatedly wastes your rate limit.Python example
Notes
Candles are returned in a flat list, not wrapped in a
valueskey like some other market-data endpoints — index into it directly. If the SDK call returnsNone, the response body wasn't a JSON list (i.e. an error payload), not an empty result set.