Documentation

API Integration

 API Integration

Connect  to Trade Apps step by step: static IP, Trade API token, TOTP and MPIN, Connect.

What you need before you start?

#

This page connects your  account to Trade Apps, from start to finish. It takes about 10 minutes the first time. After that, you only press Connect once each trading day.

You will move between two websites: Trade Apps (our platform) and  web platform. Keep both open in two browser tabs.

  • Your  trading account, active, and your login details for it.
  • Your Trade Apps login, with this broker account already showing under Settings → Brokers Connected. If it is not there, WhatsApp support at 9398840360 — accounts are added by our team.
  • A laptop or desktop is easier than a phone for the broker portal.

Step 1 — Get your static IP in Trade Apps

#

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, because Forward Testing does not need it.

Open Settings. Under Brokers Connected, find your  account and click the small pencil (Edit) button on its right.

In the form that opens, the Static IP box says Not assigned yet. Click the Get static IP link under it. A box appears with Your static IP (IPv4) and a Copy IP button. This broker needs no redirect URL.

Copy the IP now (and the redirect URL, if shown) and keep this tab open. If the form already shows a static IP, there is no button — copy the IP from the Static IP box.

  • Your IP for  is an IPv4 address. It looks like four numbers with dots — for example 151.242.10.20.
  • Paste only the IP. Never add a port number, and never use your home Wi-Fi or mobile IP.
The account edit form in Settings for a new account: Broker Type, Client ID, Static IP showing Not assigned yet with the Get static IP link under it, the empty API detail boxes, and Save Credentials.
A new account: no static IP yet, so the Get static IP link shows under the box. Your own form shows your own client ID.

Step 2 — Open Trade API

#

Open the  web platform in a new tab and log in with your  login details.

Click More at the top, then Trade API under Trading tools.

Before you go on, make sure TOTP is set up for your  account (an authenticator app on your phone) and you know your MPIN. You need both every time you connect.

The More menu of the trading platform with Trade API — Create your own trading terminal with APIs — under Trading tools.

Step 3 — Create the application

#

Create a new application ( may already show a Default Application). Its TOKEN — the consumer key — appears under the app name.

Click the arrow on the right to open the application.

The Trade API page with an application listed: app name with its token under it, IP Whitelist, Status Active, and a Reset button and an arrow to open it.
Grey boxes hide private details such as keys, IPs and names.

Step 4 — Add your IP and copy the Consumer Key

#

On the application page, click the pencil on Primary IP and paste your Trade Apps IP. Your  IP is IPv4. Save.

Copy the Consumer Key at the top with its copy icon. Do not press Reset API Credentials — it would make the old key stop working.

The application page: Consumer Key with a copy icon, Primary IP and Secondary IP boxes each with a pencil and a delete icon, and a Reset API Credentials button.
Grey boxes hide private details such as keys, IPs and names.

Paste the details in Trade Apps

#

Go back to the Trade Apps tab. Open Settings, click the pencil on your  account again, and fill in:

  • Client ID — your  client code (UCC).
  • API Key — the Consumer Key from Trade API.
  •  needs no API Secret and no redirect URL.
  • Click Save Credentials.
The same edit form in Settings, with only the boxes for the API details outlined.
Paste into the outlined boxes, then click Save Credentials.

Connect and check it worked

#

Under Brokers Connected, click Connect.  has no login page; a small box asks for your registered mobile number, today’s TOTP (6 digits from your authenticator app) and your MPIN. We use them once to start the session and never store them.

When it worked, your account in Brokers Connected shows a green dot and the words Session active (broker validated). You are ready to trade.

Broker sessions end every night. Each trading day, open Settings and press Connect once before the market opens. You do not repeat the setup.

The account under Brokers Connected after setup: a green dot, the client ID, the static IP and the words Session active (broker validated), with the edit, refresh and Disconnect buttons.
Green dot and Session active — the setup is done.

If it does not work

#

Check these in order. Most failures are one of the first three.

  • Wrong IP or IP saved in the wrong box. In the  web platform, the IP must be exactly the one Trade Apps shows, in the IPv4 box. After changing it, wait 2 minutes, then press Connect again.
  • Key and secret swapped, or a space copied with them. Paste each one again into the right box.
  • TOTP not registered with . Set up TOTP in the  app first; without it Connect cannot log in.
  • Still stuck? WhatsApp 9398840360 with a screenshot of the error and the time. Never send your password, OTP, TOTP secret or API secret — we never need them.