Desktop: API Integration
API Integration
Connect to the Trade Apps desktop app step by step: static IP, TOTP token and its key, the live-data plan, Connect.
What you need before you start?
#This page connects your account to the Trade Apps desktop app, from start to finish. It takes about 15 minutes the first time. After that, you only press Connect once each trading day.
You will move between two places: the desktop app (Brokers page) and the Trade API page in your browser. Keep both open.
- Your trading account, active, and your login details for it.
- The Trade Apps desktop app installed, and your Trade Apps login. Your broker account must already show as a card on the Brokers page. If it is not there, WhatsApp support at 9398840360 — accounts are added by our team.
- Your phone with an authenticator app (Google Authenticator, Microsoft Authenticator or Authy), for the TOTP step.
- Already using this broker on the Trade Apps website? Then you already have an API app. Use the same key and secret here; skip to the TOTP step.
Step 1 — Get your static IP in the desktop app
#Brokers accept API orders only from an address you have approved, called a static IP. Trade Apps gives you one with your subscription; free-trial accounts get none.
Open the desktop app and click Brokers in the left menu. Find the card for your account. If the Static IP box says Not assigned yet, click Get static IP next to it, then Get static IP again in the box that asks you to confirm.
If you see the message To use your system IP, leave this field blank, that is only for clients who trade without a static IP. With a subscription, get the static IP.
Copy the IP
#The box now shows your static IP. If a window titled Whitelist your static IP opens, keep it open while you do the next steps, and click I have whitelisted it only after you have saved the IP at .
Click inside the Static IP box, select the whole address (Ctrl+A) and copy it (Ctrl+C). This broker needs no redirect URL.
- Your IP for is an IPv6 address. It is long, with colons — for example 2402:1f00:8300:… Copy the whole thing.
- Paste only the IP. Never add a port number, and never use your home Wi-Fi or mobile IP.
Step 2 — Open API keys
#Open the Trade API page in a new tab and log in with your login details.
Click Get started, then API keys on the left. You see the API key dashboard.
charges a monthly fee for its Trade API — check the current price with .
Step 3 — Generate a TOTP token
#Click the small arrow next to Generate API key and choose Generate TOTP token (not Access Token).
Enter a name, for example Trade Apps, and click Continue.
Step 4 — Copy the token and scan the QR code
#now shows three things, only once: the TOTP Token (a long text), a QR code, and the TOTP secret under it.
Copy the TOTP Token — this goes into Trade Apps.
Open an authenticator app on your phone (Google Authenticator, Microsoft Authenticator or Authy) and scan the QR code. The app now shows a new 6-digit code every 30 seconds. You will type this code each time you connect.
Click Done only after both are saved.
Step 5 — Add your static IP
#Back on the API key dashboard, click Update static IP at the top right and paste your Trade Apps IP. Save.
TOTP — The key is already in Step 4
#For there is nothing more to turn on. The TOTP secret that showed under the QR code in Step 4 is the TOTP key the desktop needs.
If you clicked Done without copying it, make a new TOTP token (Step 3), and this time copy the token and the secret, and scan the new QR code on your phone.
- The token is long; the secret is shorter. The token goes in API KEY (TOTP token), the secret in TOTP Generator.
- The secret is as private as your password. Never send it to anyone, including us.
The Trade API plan pays for prices
#The desktop takes its prices from . sends live prices only to accounts with a paid Trade API subscription; the free plan has no live data.
Subscribe on the Trade API page. On 9 Nov 2026 listed it at Rs 499 + taxes per month as an early-bird offer (the regular price shown is Rs 2,000), with the Full Live Data API included. Check the price on that page before you pay.
Without the plan, orders still go through, but the desktop gets no prices from this broker: Trade Scalper shows (no market-data plan) next to the feed, and a MARKET order is refused because there is no price to check it against. The desktop never borrows prices from another broker. After six failed price requests, the desktop stops asking until you press Connect again.
Fill in the card in the desktop app
#Go back to the desktop app, Brokers page, your card. Fill in:
- API KEY (TOTP token) — the long TOTP Token from Step 4.
- TOTP Generator — the TOTP secret shown under the QR code in Step 4.
- needs no API Secret and no redirect URL.
- Paste each value exactly, with no space before or after. Leave User ID as it is — it comes from your Trade Apps account.
Connect and check it worked
#Click Connect. It saves what you typed and logs in. The desktop makes today’s code from the TOTP secret and logs in; no box asks for a code.
When it worked, the grey Not connected label turns green and says Connected till 11:59 pm. Trade Disc and Trade Scalper both use this connection.
What you typed is saved, encrypted, on this computer only. Each trading day, open the Brokers page and press Connect once before the market opens. You do not repeat the setup. On a second computer you type the details once more.
If it does not work
#If Connect fails, the reason is written in red on the card, under the labels. Check these in order; most failures are one of the first four.
- Wrong IP, or IP saved in the wrong box. In the Trade API page, the IP must be exactly the one the desktop card shows, in the IPv6 box. After changing it, wait 2 minutes, then press Connect again.
- TOTP key wrong. The TOTP box needs the long key from the TOTP setup, not today’s 6-digit code. If in doubt, turn TOTP off and on at the broker, copy the new key, and paste it again.
- Password or PIN changed at the broker. Type the new one in the card and press Connect.
- Key and secret swapped, or a space copied with them. Paste each one again into the right box.
- TOTP secret and token swapped. The long token goes in API KEY (TOTP token); the shorter secret in TOTP Generator.
- Connected, but no prices. The Trade API subscription is missing or has run out. Renew it on , then press Connect again.
- Still stuck? WhatsApp 9398840360 with a screenshot of the card and the time. Never send your password, PIN, OTP, TOTP key or API secret — we never need them.