Skip to content
Home/Brokers/Dhan/Trading API
TRADING API · DHAN

DhanHQ Trading and Data APIs

REST + WebSocket

Free trading API plus Data API with live feed, 20/200-level depth, option chain with Greeks and historical data.

Features confirmed
11
#1 of 13The most of the 13 trading apis we checked
Runs on
Browser
Compared with
+6
12 other brokers’ trading apis, feature by featureSee the comparison ↓

Data as of features checked: 5 Dec 2026 · NSE clients: 31 Oct 2026

EVERY FEATURE

What you can do on DhanHQ Trading and Data APIs

Each item is from Dhan’s own help pages, product pages or store listing; the link opens the source. ✓ offered · – the broker says it is not offered. Features its pages don’t mention are left out.

Order types

  • ✓
    Market
  • ✓
    Limit
  • ✓
    Stop-loss (limit)
  • ✓
    GTT (good till triggered)Forever Order, single or OCO, valid for 1 year
  • ✓
    Bracket orderSuper Order: entry, stop-loss and up to 4 targets
  • ✓
    OCO (one cancels other)Stop-loss and target together for positional trades
  • ✓
    Auto order slicingIceberg+ order slicing, also through the API

Options tools

  • ✓
    GreeksGreeks in the option chain

Market tools

  • ✓
    Market depthUp to 200-level market depth on Dhan Charts

Account and safety

  • ✓
    Margin trading (MTF)4x on 1,700+ stocks from 12.49% a year, no holding limit

Integrations

  • ✓
    Trading APIFree trading API; Data API with 20/200-level depth and historical data
HOW IT COMPARES

Trading APIs, feature by feature

The same checklist at other brokers. ✓ offered · – not offered · blank: not stated on that broker’s pages.