☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.