FlatTrade

Add and validate your FlatTrade account in AutoTrader Web.

Account setupBroker independentTOTP login
In short

To add a Flattrade account in AutoTrader, you need three things from Flattrade: an API Key, an API Secret, and a TOTP Key. Generate the API Key and Secret on the Flattrade Wall, copy the TOTP Key from your Flattrade profile, then add the account under Accounts -> Trading Accounts using the platform KAMBALA_FLAT_IPV4.

This page shows how to set up a Flattrade broker account in AutoTrader Web.

Demo video

Setup overview

The setup has three steps:

  1. Generate your API Key and API Secret on the Flattrade Wall.
  2. Get your TOTP Key from the Flattrade profile.
  3. Add the account in AutoTrader Web and validate it.

Step 1: Generate the API

  1. Login to Wall: https://wall.flattrade.in
  2. Go to Pi in the top menu bar and click CREATE NEW API KEY, then enter:
    • App Name: MyTradingApp
    • Short Name: MyTradingApp
    • Redirect Url: https://webx.stocksdeveloper.in/auth/flattrade
    • Postback Url: https://apix.stocksdeveloper.in/postback/flattrade
    • Description: Stocks Developer
    • Agree to the terms and click the CREATE button.
  3. Your API Key and Secret Key are now available.

Step 2: Get the TOTP Key

  1. Login to https://web.flattrade.in/
  2. Click your login id in the top right corner to open the Profile section.
  3. Click Security.
  4. Click TOTP.
  5. You will see a QR code. You can scan it using the Google Authenticator app on your phone. This is needed for login.
  6. What you actually need is the TOTP Key. Click the copy icon and save the key somewhere, such as a notepad.

Step 3: Add your account in AutoTrader Web

  1. Go to the AutoTrader Web menu (Accounts -> Trading Accounts).
  2. Click the Create button.
  3. Select Broker as Flattrade.
  4. Select KAMBALA_FLAT_IPV4 as the platform.
  5. Enter your Flattrade login id.
  6. Enter your Flattrade password.
  7. Enter the TOTP Key (obtained in Step 2 above).
  8. Add the API Key (obtained in Step 1 above).
  9. Add the API Secret (obtained in Step 1 above).
  10. Click Validate and Save.

That’s it. You have added your Flattrade account. Do not forget to read these known limitations.

Screenshots

Flattrade API Key

Flattrade – API Key

Flattrade TOTP Key

Flattrade – TOTP Key

Static IP Setup

The static IP setup is the same for every broker. Follow the full guide here:

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

Frequently asked questions

Does AutoTrader Web support Flattrade?

Yes. Flattrade is fully supported. You can connect one or many Flattrade accounts and monitor live P&L, holdings and positions, place and manage orders, and copy trade across all of them from one screen, on web or mobile.

Can I copy trade with Flattrade?

Yes. You can copy trade with Flattrade in two ways — PMS copy from our terminal and master-child copy in the background — across accounts and brokers, with per-account sizing. You set up and control everything.

Can I manage multiple Flattrade accounts together?

Yes. Add as many Flattrade accounts as you like and see consolidated P&L, holdings and positions live, and trade across all of them at once.

How much does it cost to use Flattrade with AutoTrader Web?

AutoTrader Web is ₹295 to ₹495 per account per month, with all taxes and a free static IP included. If Flattrade charges separately for API access, that fee is set by the broker.

Flattrade says my API Key is not valid — how do I fix it?

This is your Flattrade API Key or Secret, generated on the Flattrade Wall — not your AutoTrader Web API key. Regenerate the API Key and Secret on the Wall, copy each value exactly with no extra spaces, then paste them into your account under Accounts -> Trading Accounts and click Validate & Save. Follow the setup steps on this page.

Next steps

Was this page helpful?

Last updated 1 July 2026