GENKA 原価 · Docs / Ecosystem

Ecosystem All ecosystem services Dhan API docs ↗

Dhan API — built for speed

The lowest-latency retail order pipe in India, with free trading APIs and a flat-priced live data feed.

What it's great at. Dhan is engineered for execution speed: sub-100ms order latency, 25 orders/sec, 5,000 orders/day cap. Trading APIs are free for life; data APIs are a flat ₹499/mo (10 OHLC req/sec). If you're running an intraday algo loop inside their ecosystem, the price/perf is hard to beat. No first-party MCP yet. Compose with Genka for the read side: XBRL fundamentals, concall search, MF screener.

Decision matrix

If you needPick
Lowest-latency order placement (sub-100ms, 25 ord/s)Dhan
Live market feed (10 OHLC req/s, free with data plan)Dhan
Bulk orders with order slicingDhan
Holdings, positions, P&L on your Dhan accountDhan
Quarterly XBRL fundamentals (FY17+) for Nifty 500Genka
Search 23,000 concall transcripts with cited LLM Q&AGenka
Mutual fund screener (4,700 funds, SEBI taxonomy)Genka
30y NSE bhavcopy with corp-action-adjusted returnsGenka
Cross-broker research / no Dhan accountGenka

What Dhan API is great at

Where Genka complements Dhan

Compose them

Genka over MCP for the research; Dhan over REST for the order:

# 1. Wire Genka to Claude Code:
claude mcp add genka --transport http https://genka.dev/mcp \
  -H "X-API-Key: $GENKA_API_KEY"

# 2. Use Dhan REST for execution (Python):
import os, requests
DHAN = "https://api.dhan.co/v2"
HDR = {
  "access-token": os.environ["DHAN_TOKEN"],
  "client-id":   os.environ["DHAN_CLIENT_ID"],
}

# Genka decides via Claude/MCP, Python places the order:
requests.post(f"{DHAN}/orders", headers=HDR, json={
  "securityId": "11536",         # TCS NSE
  "transactionType": "BUY",
  "orderType": "MARKET",
  "productType": "CNC",
  "quantity": 5,
})

Relevant Genka endpoints

Full catalog: /llms.txt

Working with Dhan API — gotchas

Other ecosystem services