Angel One Integration

Connect your Angel One account to Algrow using the SmartAPI.

Angel One

SmartAPI

smartapi.angelbroking.com

Prerequisites

  • Active Angel One Demat and trading account
  • SmartAPI app registered at smartapi.angelbroking.com
  • TOTP (Time-based One-Time Password) enabled on your account
SmartAPI is free for Angel One customers. No additional subscription needed.

Generate API Credentials

1

Register on SmartAPI Portal

Visit smartapi.angelbroking.com, create an account, and register a new app.

2

Get Your API Key

After app registration, copy your API Key. You'll also need your Angel One Client ID and MPIN/Password.

3

Enable TOTP

SmartAPI requires TOTP-based 2FA. Set up TOTP using Google Authenticator or any authenticator app. Note the TOTP secret for automated login.

Connect to Algrow

1

Enter Credentials in Algrow

Go to BrokerConnect Broker → select Angel One. Enter your API Key, Client ID, Password, and TOTP Secret.

2

Automated Login

Algrow uses your TOTP secret to automatically generate OTPs and authenticate with SmartAPI. No manual login needed after initial setup.

Test Your Connection

  1. Verify green status indicator on the Broker page
  2. Place a test order using forward testing
  3. Confirm order appears in both Algrow and Angel One

Troubleshooting

TOTP Authentication Failed

Ensure your system clock is synchronized. TOTP codes are time-sensitive and a clock drift of more than 30 seconds can cause failures.

Session Management

SmartAPI sessions expire daily. Algrow automatically re-authenticates using your stored TOTP secret before market hours.

Rate Limits

SmartAPI has a rate limit of 10 requests per second. High-frequency strategies may need order batching.