Developers
Build on Dhurandhar
REST and WebSocket APIs for market data, orders and account events.
REST
HTTPS JSON
WS
Streaming
120
Req / min
Sandbox
Keys ready
Quotes & candles
Pull last prices and OHLCV for equities, FX, metals and crypto symbols.
Order lifecycle
Create, amend and cancel with clear status events over WebSocket.
Account stream
Balances, fills and risk events for monitoring bots.
Introduction
Base URL: https://api.dhurandhar.com/v1
All responses are JSON. Timestamps are ISO-8601 in UTC; desk UX displays GST.
Authentication
Pass Authorization: Bearer <api_key> on every request. Rotate keys from Settings → API.
REST examples
cURL
curl -H "Authorization: Bearer dh_live_xxx" \
https://api.dhurandhar.com/v1/quotes/AAPLPython
import requests
r = requests.get(
"https://api.dhurandhar.com/v1/quotes/AAPL",
headers={"Authorization": "Bearer dh_live_xxx"},
)
print(r.json())Node.js
const res = await fetch(
"https://api.dhurandhar.com/v1/quotes/AAPL",
{ headers: { Authorization: "Bearer dh_live_xxx" } }
);
console.log(await res.json());WebSockets
Subscribe
wss://stream.dhurandhar.com/v1
{ "op": "subscribe", "symbols": ["SPX", "BTCUSD", "EURUSD"] }Rate limits
120 requests / minute on REST. 5 concurrent WebSocket sessions per key. Burst headers:
X-RateLimit-Remaining.API key dashboard
| Name | Prefix | Last used |
|---|---|---|
| Prod bot | dh_live_9f2a | 2 hours ago |
| Sandbox | dh_test_11ac | Yesterday |
Need higher limits?
Institutional desks can request dedicated throughput from our Dubai partnerships team.
Ship your first integration
Create an account to provision sandbox keys.