☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.2K
All Categories
0
Incidents
127
Node JS client
38
Go client
769
.Net API client
362
Kite Publisher
532
.Net / VBA / Excel (3rd party)
437
Algorithms and Strategies
966
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
General
In this Discussion
February 2017
adhuf
February 2017
sujith
Unable to get historical data.
adhuf
February 2017
edited February 2017
in
Java client
I am trying to get 30mintue data of infosys for interval 8th to 9th Feb 2017. But I am getting error as session expired. tried same from DH Client (browser REST client) and got token exception.
GET Request:
https://api.kite.trade/instruments/historical/408065/30minute?from=2017-02-08&to=2017-02-09&api_key=YYY&access_token=XXX
Response:
Code : 403 Forbidden
BODY:
{
"status": "error",
"error_type": "TokenException",
"message": "Invalid API credentials"
}
Whereas using same access token other APIs (like api.kite.trade/portfolio/holdings) are working.
I think we should be able to access data up to a year old without subscribing for historical API. is is correct?
Tagged:
historical API
java
sujith
February 2017
Hi
@adhuf
,
Historical API access requires an add on subscription. Please go to developers console and go to app details page and subscribe for it.
adhuf
February 2017
After subscribing it is working. Thanks
This discussion has been closed.
Historical API access requires an add on subscription. Please go to developers console and go to app details page and subscribe for it.