Skip to content

API Reference


API Reference / Constants / RATE_LIMITS

Variable: RATE_LIMITS

const RATE_LIMITS: object

Defined in: src/constants.ts:333

Published DhanHQ rate limits per API tier. Order APIs 10/sec, Data APIs 5/sec, Market Quote 1/sec, Option Chain one call every 3 seconds.

Type Declaration

order_api

readonly order_api: object

order_api.perSecond

readonly perSecond: 10 = 10

order_api.perDay

readonly perDay: 100000 = 100_000

data_api

readonly data_api: object

data_api.perSecond

readonly perSecond: 5 = 5

data_api.perDay

readonly perDay: 7000 = 7_000

quote_api

readonly quote_api: object

quote_api.perSecond

readonly perSecond: 1 = 1

quote_api.perDay

readonly perDay: number = Infinity

option_chain

readonly option_chain: object

option_chain.perSecond

readonly perSecond: number

option_chain.perDay

readonly perDay: 4800 = 4_800

non_trading_api

readonly non_trading_api: object

non_trading_api.perSecond

readonly perSecond: 20 = 20

non_trading_api.perDay

readonly perDay: number = Infinity

Community project — not affiliated with Dhan. MIT License.