Developer-First Connectivity

Trading APIs & Broker Connectivity

The backbone of modern algos. Interact programmatically with brokers and market data providers through secured endpoints.

Market Data APIs

Stream real-time prices, historical candles, and volume data for analysis.

Order Management APIs

Place, modify, and cancel orders programmatically with millisecond precision.

Portfolio APIs

Fetch holdings, positions, margin limits, and P&L snapshots in real-time.

Developer Integration Workflow

Authenticate

Generate API Token using OAuth / TOTP flow.

Request

Send JSON payload with order parameters.

Process

Broker matches & executes request.

Response

Receive confirmation ID or error code.

Security & Reliability First

APIs are powerful, but require strict governance. Dhanyatri encourages best practices:

  • ✓ Secure Credential Storage
  • ✓ Rate Limit Handling
  • ✓ Error & Exception Logging
  • ✓ IP Whitelisting