Create your Own API
Detailed Video
This video is for mastertrust account holders. Which may change from time to time.
Applicable for Mastertrust Accounts
Step 2
Logon using Broker credentials
Step 3
Create App for DTMAlgo
Create a new App as DTMAlgo and use redirect URL as below.
Mastertrust: http://127.0.0.1/getCode
Step 4
Copy the APP ID and App Secret
Once the App is created, copy both App ID and App Secret and use them in your “My Dtails” page along with the redirect URL mentioned on Step 3.
Step 5
Give your First time conscent
Applicable for Aliceblue Accounts
Step 2
Logon using Broker credentials
Step 3
Go to App (on the left side) -> Apps
Step 4
Click on “API Key” and then “Generate API Key”
Paste copy the key without any spaces in front or at the end and paste that in the field “API Secret” in your DTMAlgo profile.
Step 5
Give your First time conscent
Applicable for IIFL Accounts
IIFL Users
Please get your API detail my sending email to ttblazesupport@iifl.com While sending them email you can copy us support@dtmalgo.in.
Please request the API for BLAZE. Fill the attached excel sheet while requesting for API.
The email you will receive shall be as per the right side image. From there please copy App Key and App Secret and paste them in your DTMAlgo “My Details” page as per the image below.


No other field value is required to be filled in. You can keep the rest of the fields any values if it is not allowing you to save.
Create your TOTP
Applicable for Mastertrust Accounts
Steps to generate token using TOTP are as Follows:
Step1: login on https://masterswift.tradelab.co.in/
or https://masterswift-beta.mastertrust.co.in/
Step2: Logon using your Mastertrust ID, PW and mobile OTP.
Step3: Once you log on you shall find a barcode.
Step4: Take a screen print and save the barcode locally in your computer (Very important)
Step5: Use Google Scanner to scan the code. YOu shall get a link which looks something like below.
otpauth://totp/RCHND:6KNH02?secret=XXXXX3XXXXXXXXXX&issuer=RCHND
Then copy the TOTP secret code from the auth link, as highlighted in Bold above. It should start after secret= and ends before &issuer. and is a 16 character code
Step6: Then download and install google authenticator to scan the code.
Step7: Scan the barcode using google authenticator and enter the code received on google authenticator in the “Enter TOTP” input box and validate.
Step8: Once this is done, update your DTMAlgo profile with TOPT in “My Details” page.