☰
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
14K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.