Hi All I have try below API using post method and get error. API URL : https://api.kite.trade/parameters?api_key=xxxx Error : {"status": "error", "message": "Route not found", "error_type": "GeneralException"}
Hi @parthiv, You can check out login flow on this webinar and php client documentation here. There is no websockets in php client, I would suggest using other client for websockets.
@sujith I am getting an error after getting the request token as "Authentication failed: SSL certificate problem: self signed certificate in certificate chain"
You can use websockets for live market data
Thanks for your replace.
I need to call below API ?
var ws = new WebSocket("wss://websocket.kite.trade/?api_key=xxx&user_id=AB0012&public_token=xxxx");
If yes then how to get User_id and public_token ?
Can you please help.
Thanks
Parthiv shah
As per documentation we need to call 1st
(1) https://kite.trade/connect/login?api_key=xxx
A successful login comes back with a request_token
(2)After that we need to call user->Authentication
then we will get access_token and public_token
Please conform
I ma not able to call 1st api
Thanks
Parthiv shah
You can check out login flow on this webinar and php client documentation here. There is no websockets in php client, I would suggest using other client for websockets.
I am getting an error after getting the request token as "Authentication failed: SSL certificate problem: self signed certificate in certificate chain"
I am using http://127.0.0.1 as my redirect URL.
Please advise.