Angel One SmartAPI Integration
SmartAPI adapters engineered for multi-client Indian desks.
I integrate Angel One SmartAPI into client-owned trading systems with explicit session handling, order pacing, and streaming reconciliation.
Platform capabilities
- Multi-broker integration
- TradingView automation
- Client management
- Cloud infrastructure
Integrates with Angel One
Broker overview

Angel One SmartAPI integration links your platform to Angel One’s REST and WebSocket APIs using JWT-based sessions after client login. Tokens expire and must refresh on a schedule, historic and live sockets differ, and rate limits apply per API key—production systems automate those steps on infrastructure you own.
Last reviewed: 2026-11-24. Limits and endpoints change—verify against the broker's official developer documentation before go-live.
JWT, refresh tokens, and client login
SmartAPI authentication
SmartAPI uses API key and secret with a login flow that returns JWT access and refresh tokens. Your backend stores refresh material encrypted per user and schedules renewal before expiry to avoid mid-session trading halts.
Multi-client platforms must not reuse one Angel login across traders. Each mapped client record carries its own token row, RMS linkage, and audit of last successful refresh.
Angel’s publisher versus trading API credentials differ—confirm during discovery which product your F&O desk needs and whether IP allowlisting is mandatory for your account type.
OTP and TOTP steps may appear for certain account profiles; design operator workflows for rare re-auth without dropping in-flight baskets silently.
During UAT I validate token refresh under simulated laptop sleep and VPN drops—desktop trading users routinely hit those paths while your backend must stay consistent.
Record `clientcode` and JWT `jti` pairs in audit tables so support can trace a rejected order back to the session that submitted it without guessing from timestamps alone.
As of November 2026
SmartAPI throughput limits
Angel One documents per-second throttles on order and market data endpoints. Treat **~10 REST requests per second** as a planning ceiling unless your account manager confirms higher registered limits.
Batch order APIs reduce chatter when submitting spreads, but margin preview calls still count—cache margin responses briefly where Angel policy allows.
Historical candle pulls should be windowed; backtesting pipelines belong offline, not on the critical path during live hours.
HTTP 403/429 responses should trigger exponential backoff with alerting—never tight-loop retry on rejected orders.
SmartAPI publishes instrument master files that vary between cash and F&O token lists—run separate ingest jobs and version filenames in object storage so a bad import can roll back before market open.
Desk dashboards that poll `getPosition` every second for two hundred users will breach limits even if order placement is quiet—move position reads to WebSocket where possible and cap UI refresh at human scale.
Live vs historical feeds
SmartAPI WebSocket streaming
SmartAPI provides WebSocket channels for live market data after authentication. Separate historical streaming endpoints exist for backfill—do not mix parsers between them.
Subscription lists should be diffed on reconnect: track desired tokens in Redis and replay subscribe messages after network blips.
Binary vs text framing depends on API version—pin the SmartAPI version in your adapter package and regression-test after Angel upgrades.
Always reconcile open orders via REST on a timer even when ticks flow—websocket gaps happen on mobile network clients proxying through your servers.
Adapter mapping
Segments and products
SmartAPI typically supports equity, F&O, and currency segments enabled on the user’s Angel account. Map `variety`, `producttype`, and `ordertype` fields explicitly in your OMS enums.
Stop-loss and bracket semantics differ from Zerodha naming—maintain broker-specific translators rather than one universal order JSON.
Option chains for screening can be heavy payloads—paginate strike requests and respect exchange session calendars for illiquid contracts.
AMO (after market order) flags need session awareness; block UI submissions when exchange is closed unless AMO is explicitly chosen.
Production lessons
Angel One operational quirks
JWT expiry during lunch-break strategies can idle algos—run refresh jobs at 8:45 AM and monitor expiry timestamps with PagerDuty hooks.
Corporate action adjustments may lag instrument master—block symbols flagged in your internal risk list even if Angel still lists old series temporarily.
RMS reject text is verbose—store full broker messages for compliance review, not shortened UI strings.
Angel platform maintenance on settlement days can delay position updates—use conservative MTM displays until holdings endpoints stabilize.
Redacted illustration
Example payload shape
POST /rest/secure/angelbroking/order/v1/placeOrder
{
"variety": "NORMAL",
"tradingsymbol": "SBIN-EQ",
"symboltoken": "3045",
"transactiontype": "BUY",
"exchange": "NSE",
"ordertype": "LIMIT",
"producttype": "INTRADAY",
"duration": "DAY",
"price": "785.50",
"quantity": "1"
}SmartAPI adapter
Delivery timeline
Single-broker SmartAPI delivery (login, orders, positions, instruments, live socket) commonly needs **7–11 weeks** including UAT with live accounts.
Multi-tenant RMS, publisher controls, and regulatory evidence increase the integration work and should be planned as explicit delivery phases.
Add **2–3 weeks** when SmartAPI partner paperwork, static IP provisioning, or exchange audit questionnaires land late—those tasks sit on calendars outside pure coding capacity.
Hybrid scope (Angel + one other India broker) reuses OMS scaffolding but still bills full adapter QA per broker because regression suites are exchange-specific.
Delivery approach
How we deliver SmartAPI integration
Work begins with endpoint inventory and token lifecycle diagrams signed by your CTO. Code ships as services you deploy, with mock servers for CI where Angel provides sandboxes.
Handover includes rotation runbooks for JWT refresh failure and a table mapping Angel error codes to operator actions.
Observability covers p95 order round-trip, refresh success ratio, and socket gap duration—Grafana boards your NOC can page on without reading adapter source.
I deliver typed SDK wrappers plus Postman collections against Angel sandboxes so your internal QA can replay scenarios after every Angel changelog email.
Security review packages cover secret storage, least-privilege IAM on VPS egress, and proof that client JWT material never crosses tenant boundaries in multi-user Postgres.
Related Modules & Services
8 modules to explore alongside your platform build.
- 01Capabilities
India broker API integrations
Explore this capability and how it can be engineered for your business.
India broker API integrations - 02Capabilities
Broker API Integration
Explore this capability and how it can be engineered for your business.
Broker API Integration - 03Integrations
Multi Broker Algo Trading Platform
Unified multi-broker connectivity and routing for your operations.
Multi Broker Algo Trading Platform - 04Capabilities
Choosing Broker APIs
Explore this capability and how it can be engineered for your business.
Choosing Broker APIs - 05Capabilities
Broker API Guide
Explore this capability and how it can be engineered for your business.
Broker API Guide - 06Capabilities
Broker API Integration
Explore this capability and how it can be engineered for your business.
Broker API Integration - 07Capabilities
Zerodha API Integration
Explore this capability and how it can be engineered for your business.
Zerodha API Integration - 08Capabilities
Order Management Systems
Explore this capability and how it can be engineered for your business.
Order Management Systems
Frequently Asked Questions
5 questions covered before you launch.
SmartAPI is the current developer surface for most new integrations. Legacy paths should be migrated rather than extended.
Yes, when alerts route through your OMS with Angel as execution broker—see TradingView automation feature pages for the full path.
No. I provide custom software integration services; broker relationships and compliance remain with your firm.
Adapter packages pin API versions, snapshot OpenAPI or PDF docs in git, and run nightly contract tests against sandbox.
When Angel deprecates fields, migrations ship behind feature flags so operators can validate UAT before the exchange session where the change bites.
Most desks use Indian VPS or bare metal with stable egress IP, Redis for session state, PostgreSQL for audit, and queue workers for order serialization.
Cloud autoscaling without fixed IP requires an upfront conversation with Angel about allowlisting—do not assume any hyperscaler region works on day one.

Ready to scope KC Algo?
KC Algo is a branded software and implementation path for operators who need multi-broker, multi-client trading software—with clear ownership boundaries and no implied brokerage authorization. Operating workflows and deployment responsibilities are shaped around the desk. A technical discussion can clarify platform fit, integrations, and deployment responsibilities for Indian and Forex desks.
Services
- Algo Trading Platforms
- Multi-Broker Integration
- TradingView Automation
- Risk Management Systems
- OMS & RMS Development
- Client Management Portals
Ready to review a platform demo?
Book a walkthrough when you already know your market context, broker connectivity needs, and compliance ownership.
Let's review KC Algo for your desk — software partnership with clear compliance boundaries.
Broker names and logos appear on this page for identification only. Kennedy Chokkalingam integrates with broker APIs as custom engineering work and is not affiliated with, sponsored by, or endorsed by any broker listed here. All trademarks belong to their owners.