Five Paisa
Add and validate your Five Paisa account in AutoTrader Web.
To add a 5paisa account to AutoTrader Web, set up a TOTP key on the 5paisa site, generate API keys, register a static IP, then create the trading account in Accounts -> Trading Accounts. This page covers the default 5Paisa Open API. 5Paisa also works through the Symphony XTS API.
5Paisa offers two different APIs you can use to onboard your account:
- 5Paisa Open API — the default. The steps below cover this option.
- Symphony XTS API — see the Symphony XTS guide to learn more.
Demo video
Step 1: TOTP key
- Install the Google Authenticator app on your phone.
- To get the TOTP Key, you need to set up TOTP on 5Paisa.
- Log in to the 5Paisa website.
- Click on your login id in the top right corner to open the menu.
- Go to menu Profile -> TOTP.
- Note: If you already have TOTP enabled but do not have the “Totp Key”, disable TOTP and enable it again.
- Click Enable external TOTP.
- Enter the OTP received on your phone or email.
- Enter your 6-digit MPIN.
- Scan the QR code in your Google Authenticator app.
- Copy the TOTP KEY shown below the QR code and save it in notepad for later use.
- Enter the TOTP shown in the Google Authenticator app.
- Click the Enable button.
- You will see the message “Totp successfully enabled.”
Screenshots

1. TOTP Menu

2. Enable TOTP
Step 2: Generate APIs
- Log in to the 5Paisa website.
- Click on your Profile name (see screenshot below).
- Go to menu Xstream API -> Get API Keys (see screenshot below).
- Create App (see screenshot below).
- Redirect URL: https://webx.stocksdeveloper.in/auth/5paisa
- Static IP (see the next step).
Screenshots

Click the “Auto Assign IP” button to get a static IP.

Register the static IP and redirect URL.
Step 3: Add trading account
- Log in to AutoTrader Web.
- Go to menu Accounts -> Trading Accounts.
- Click the Create button.
Use the mapping below to fill in each field. For reference, see the mapping screenshot above.
| Field | Value |
|---|---|
| Broker | 5Paisa |
| Platform | FP_API_IPV6 |
| Login id | Your 5Paisa login id |
| Static IP | Click “Auto-Assign IP” to get a static IP, then register it on 5Paisa on the API creation screen (see above screenshot) |
| MPIN | Your 6-digit MPIN |
| TOTP Key | Your TOTP Key |
| User key | Your API key in the API details |
| App source | Your App source in the API details |
After filling in the fields:
- Click the Validate button.
- Once you see a success message, click the Save button.
Note: We have seen occurrences of a UserKey Not Found error for newly created APIs. It seems 5Paisa takes some time to activate the APIs. In such cases, please try after a few hours or on the next day after API creation.
Related links
Next steps
Thanks for the feedback. Still stuck? Contact support.
Last updated 20 June 2026