Angel Broking

Add and validate your Angel Broking account in AutoTrader Web.

Account setupBroker independentOAuth login
In short

AutoTrader Web connects to your Angel Broking (Angel One) account through Angel's Smart API. You first generate an API key in the Smart API dashboard, then add the account under Accounts -> Trading Accounts. Two platforms are available: SMART_API (recommended, uses a TOTP key) and SMART_API_M (OAuth, where you log in once a day instead of storing credentials).

To use Angel Broking, you must generate an API key by registering for Angel Broking Smart API.

Platforms

You can onboard an Angel account in two ways:

PlatformHow it works
SMART_APIUses Angel’s Smart API. This is the recommended platform.
SMART_API_MAlso uses Smart API, but with OAuth login. You log in to your account once a day before you start trading. It does not store your trading account credentials.

Details for each platform are below.

Watch the demo video of the setup process below, then follow each step in detail.

Demo video

How to generate the Smart API private key

The setup process, including TOTP, is a one-time activity. You do not need to repeat it every day.

  1. Go to https://smartapi.angelbroking.com/ and sign up.
  2. Click the Add App button.
    1. App Name: MyTradingApp (do not use any space in the app name)
    2. Redirect URL: https://webx.stocksdeveloper.in/auth/angel
    3. Postback URL: https://apix.stocksdeveloper.in/postback/angel
    4. Static IP: for Angel One you must bring your own IPv4 static IP — see Static IP Setup below.
      • If you get an IP already registered error on Angel One, then:
      • The IP you are trying to register is already in use, so register a different IPv4 static IP.
      • If you do not have another one, get a new IPv4 static IP from your proxy vendor and register that.
      • Keep trying until your IP is accepted.
    5. Click the Create App button.
  3. To view your API Key, go to the menu (My Profile -> My APIs).
  4. In AutoTrader Web, go to the menu (Accounts -> Trading Accounts).
  5. Click the Create button.
    1. Select Broker: Angel
    2. Add your login id and MPIN (the one you use on https://trade.angelone.in/)
    3. Add TOTP Key
    4. Add the API Key generated in the previous step (click the view button in the smartapi dashboard). It is displayed on top.
    5. Click the Validate button.
    6. Once you see a success message, click the Save button.

How to activate TOTP

The setup process, including TOTP, is a one-time activity. You do not need to repeat it every day.

  1. Generate the TOTP Secret Key
    1. Install the Google Authenticator app on your phone.
    2. You need the secret key that Angel Smart API provides when you enable TOTP.
    3. Log in to https://smartapi.angelbroking.com/enable-totp.
    4. Enter the OTP received in SMS or email.
    5. You will now see a QR Code and a Secret Key.
    6. Scan this QR Code in Google Authenticator (this is useful for your manual login).
    7. Save the Secret Key, or keep this page open.
  2. Copy the TOTP Key into AutoTrader Web
    1. In AutoTrader Web, go to the menu (Accounts -> Trading Accounts).
    2. Click the small EDIT icon next to your Angel account’s client id or login id.
    3. You will see a new field called TOTP Secret Key.
    4. Copy the secret TOTP key into the TOTP Secret Key field.
    5. Click Validate & Save.

SMART_API_M Platform [OAuth]

Steps in brief

  • This method does not need TOTP setup.
  • Set up Angel’s Smart API as explained in the SMART_API section above.
  • Once you do the API setup, the API Key is all we need.

Add the Angel account to the system

  • Go to the menu (Accounts -> Trading Accounts).
  • Click the Create button.
  • Select Broker => Angel
  • Select Platform => SMART_API_M
  • Add the API Key.
  • Click Validate.
  • You will be redirected to the Angel website.
  • On successful login to Angel, your account will be saved.

Static IP Setup

For Angel One you will need to bring your own static IP. We provide a free static IP for every broker, but free static IPs from our pool are not available for Angel One right now. Angel One supports IPv4 only (it does not support IPv6), so buy a dedicated IPv4 static IP from a third-party vendor and add it as your own IP (BYOIP).

Follow the full guide here:

→ Static IP Setup — auto-assign an IP or bring your own (BYOIP)

Next steps

Was this page helpful?

Last updated 21 June 2026