@rahim1021 As per the exchange guidelines, it is mandatory to show a pop up message of all the cautionary messages and to capture user's consent on the order flow after the user reads all the messages.
This cannot be done on an API level. So, we do not allow such scrips from API as of now.
You can place orders in such scrips via app and web of Angel One.
@v52717774 This error comes when the API key you are mentioning in the header of the API request is not the same as the one you have generated or using which you have logged in and created a JWT token.
Hey,
Issue still persist, I am not getting response from below URL
https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getLtpData
The requested URL was rejected. Please consult with your administrator.
Your support ID is: 13207413113617156603
[Go Back]
@himanshunishad As per SEBI's rules, users creating their own code will now have to get a static IP to use APIs.
You can get a static IP from your internet service provider (if you are hosting your code on a local machine) or from your cloud provider (if you are running your code from the cloud).
The static IP will be mandatory from 1st Oct 2025.
For now, if you want to run your code, you can go to your profile and choose My APIs instead of My APIs (new).
@kira2001 Please try to request again. We could get a response while testing.
Testing API request body is as follows:
{
"datatype":"PercOIGainers", // Type of Data you want(PercOILosers/PercOIGainers/PercPriceGainers/PercPriceLosers)
"expirytype":"NEAR" // Expiry Type (NEAR/NEXT/FAR)
}
and API endpoint is as follows:
https://apiconnect.angelone.in/rest/secure/angelbroking/marketData/v1/gainersLosers
@suryavenkat try to login via postman, login is working fine. The body of the request you sent looks problematic, we have 3 parameters - clientcode, password (not mpin) and TOTP. Please refer to the API doc of login for the same.