DhanHQ API
Access Data and Trading via APIs
IP whitelisting is a mandatory security requirement for API access and cannot be disabled.
All API requests must originate from the IP address that has been whitelisted on your account. If you are operating from a dynamic IP and the IP address changes, you will need to update the whitelisted IP accordingly before making API requests.
For uninterrupted API access, we recommend using a server, VPS, or internet connection that provides a static IP address. This ensures that your API requests continue to originate from a consistent and whitelisted IP.
If you require assistance with IP setup or whitelisting, please contact our support team at apihelp@dhan.co
Related FAQs

