Dhan API

Five-year active-instrument history and rolling expired options.

Historical candles

YES

Daily and intraday endpoints; intraday requests cover at most 90 days.

Official source ↗

1-minute data

YES

Native 1, 5, 15, 25 and 60-minute intervals.

Official source ↗

Options & futures

YES

Active derivative instruments are supported.

Official source ↗

Expired options

LIMITED

Separate rolling ATM-relative series, not fixed-contract history. Up to five years; 30 days per call.

Official source ↗

Open interest

YES

Optional OI for futures and options.

Official source ↗

API pricing

TESTING

Confirm the current Data API subscription and entitlement with Dhan.

Official source ↗

WebSocket

YES

Separate live market feed API.

Official source ↗

Intervals & authentication

1 min · 5 min · 15 min · 25 min · 60 min · Daily

Personal Dhan access token entered in the protected web workspace; an active Data API entitlement may be required.

Documentation reviewed 2026-09-26. Availability still depends on your broker account, API plan, contract and date range.