Broker guide

Dhan

Your Servloci allocation is ready. Complete broker whitelisting and verification before using it for live orders.

Last verified2026-07-14
IP familyipv6
API scopeDhanHQ authentication and current static-IP request expectations.
Official sourceOpen source

API setup questions

Answers checked on 4 October 2026. Follow the linked broker documentation for current terms.

Where is the official Dhan API documentation?

Use the DhanHQ v2 documentation for authentication, order APIs, instruments and market data. Authenticate using your Dhan client ID and access token. Match examples to v2 rather than mixing fields from older API versions.

DhanHQ v2 documentation

What are the Dhan API rate limits?

DhanHQ lists Order APIs at 10 requests/second, 250/minute, 1,000/hour and 7,000/day. Per-second limits are 5 for Data APIs, 1 for Quote APIs and 20 for Non Trading APIs. Data APIs also have a 100,000/day limit; order modifications are capped at 25 per order. Check the endpoint category before setting your throttle.

DhanHQ rate-limit table

Compare broker APIs and free access

Prerequisites

  • Confirm the exact API product route you intend to use.
  • Prepare a request record rather than assuming self-service approval.

Individual-account instructions

  • Use the current official/static-IP support route if Dhan requires confirmation for your API product.
  • Track the request reference and the approved address in the panel.
  • Do not state the setup is complete until the broker confirms the route you need.

Family instructions

  • Treat family routing as broker-reviewed, not guaranteed.
  • Generate a support request and wait for approval evidence before testing.
Family sharing requires the broker’s documented approval. Servloci can prepare the setup or request, but cannot approve it on the broker’s behalf.

Servloci proxy configuration

shell
curl -s --socks5-hostname PROXY_USER:PROXY_PASS@comm.servloci.in:1080 https://api6.ipify.org

Allow the route to proceed only when the observed address matches the allocation shown in the portal.

Common errors

  • The account assumed one product route covered another route with different controls.