How to use this Smart API
-
How to use Smart API for coding and creating app
-
@vishant Thanks
-
Hi @sahisavings ,
Please find below the documentation URL for the API which you are trying.
https://smartapi.angelbroking.com/docs/OrdersAs mentioned in the Docs, You need to pass the below data in the header field to get a successful result.
'Authorization': 'Bearer AUTHORIZATION_TOKEN', 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-UserType': 'USER', 'X-SourceID': 'WEB', 'X-ClientLocalIP': 'CLIENT_LOCAL_IP', 'X-ClientPublicIP': 'CLIENT_PUBLIC_IP', 'X-MACAddress': 'MAC_ADDRESS', 'X-PrivateKey': 'API_KEY'
-
@vishant I am trying to use this API - https://apiconnect.angelbroking.com/order-service/rest/secure/angelbroking/order/v1/getLtpData
But I keep getting error as Invalid Token.
Kindly assist. -
Hi @RANALA78,
You can refer to API Docs. You will get pretty much idea.
https://smartapi.angelbroking.com/docs