Get Your Angel One API Credentials
To use MyFinanceMCP — whether through the web dashboard, Claude, ChatGPT, or Cursor — you need 4 credentials from Angel One's SmartAPI portal. This guide walks you through generating each one.
Sign in to SmartAPI
Open the Angel One SmartAPI portal and log in with your Angel One trading account credentials.
Open SmartAPI Portal →If you don't have an Angel One account yet, you'll need to open a free Demat account first.
Create an App & Get Your API Key
Once logged in to SmartAPI:
- App Name: anything you like (e.g. "MyFinanceMCP")
- App Type: select "Trading APIs"
- Redirect URL: enter
https://localhost
2XUDeA4C
Find Your Client ID
Your Client ID is your Angel One account number. You already have this — it's the ID you use to log in.
You can find it in any of these places:
AB1234
Your Trading PIN
This is the numeric PIN you use to log into the Angel One app or website. It's typically a 4-digit number that you set when you created your account.
1234
Generate Your TOTP Secret
TOTP (Time-based One-Time Password) is needed for secure 2FA authentication. Here's how to enable it:
FA715TVTYXE5Q3WTF6I7...
All Set!
You should now have all 4 credentials. Here's a quick reference:
| Credential | Where You Got It | Looks Like |
|---|---|---|
| API Key | SmartAPI → My Apps → Your App | 4XDUeA4C |
| Client ID | Your Angel One account number | AB1234 |
| PIN | Your trading PIN | 1234 |
| TOTP Secret | SmartAPI → Profile → Enable TOTP | FP4O3EVU... |