How to Connect Angel One with API
Overviewβ
Connect your Angel One (Angel Broking) account using API credentials for automatic trade sync.
Prerequisitesβ
- Active Angel One trading account
- Angel One API credentials (API Key, Client ID, Secret)
- Knowledge of how to generate API keys in Angel One
Generate API Credentials (One-Time Setup)β
Step A: Login to Angel One Portalβ
- Go to Angel One website
- Login with your credentials
- Navigate to "API" or "Developer Console" section
Step B: Generate API Keyβ
- Click "Create API Key" or "Generate"
- Copy and save:
- API Key
- Secret Key
- Client ID (your Angel One user ID)
- Keep these secure

Connect to Tradelyserβ
1. Go to Accountsβ
- Navigate to Settings > Accounts
- Click "+ Add Account"

2. Select Angel Oneβ
- Find Angel One in broker list
- Click on Angel One card

3. Configure Settingsβ
- Choose Calculation Method (FIFO recommended)
- Select "Auto Sync" mode
- Click "Next"

4. Enter API Credentialsβ
- Account Name: Enter descriptive name
- Client ID: Your Angel One user ID
- API Key: Paste your API key
- Secret Key: Paste your secret key
- Click "Save & Connect"

5. Verify Connectionβ
- System validates credentials
- Tests API connectivity
- Shows success message if valid

6. Connection Completeβ
- Status shows "Connected" β
- Initial sync begins
- Historical trades imported

Success!β
Angel One account is connected and syncing.
What Gets Syncedβ
Automatic Importβ
β
Order book
β
Trade book
β
Open positions
β
Holdings
β
Entry/Exit prices
β
Brokerage and taxes
β
Quantities
Sync Frequencyβ
- Real-time: Every 30-60 minutes during market hours
- Daily: Complete reconciliation at EOD
- Manual: On-demand anytime
API Connection Benefitsβ
Advantagesβ
π Permanent: No daily re-authorization
π Reliable: Direct API integration
β‘ Fast: Quick data sync
π Secure: Encrypted communication
Security Notesβ
- API keys stored encrypted
- Never shared with third parties
- Can be revoked anytime from Angel One portal
- Tradelyser cannot place orders (read-only access)

Managing Connectionβ
Check Statusβ
- Go to Settings > Accounts
- View green "Connected" indicator
- Check last sync timestamp
Manual Syncβ
- Click three dots on account
- Select "Sync Now"
- Wait for sync completion
Update Credentialsβ
If API key changes:
- Click three dots > "Edit"
- Update API credentials
- Save changes
Disconnectβ
- Click three dots menu
- Select "Disconnect"
- Confirm action
- Revoke API key from Angel One portal
Quick Tipsβ
- Store API credentials securely
- Never share API keys publicly
- Use separate API for Tradelyser
- Revoke old keys if compromised
- Test connection after setup
Angel One Specific Featuresβ
- Supports equity, F&O, commodity, currency
- Intraday and delivery positions
- GTT orders tracking
- AMO orders import
- Historical data up to 1 year
API Permissions Requiredβ
β
Read: Order history
β
Read: Trade book
β
Read: Positions
β
Read: Holdings
β No Write: Cannot place orders
β No Delete: Cannot cancel orders
Next Stepsβ
Troubleshootingβ
Invalid API Key? Verify credentials from Angel One
Connection failed? Check API key is active
Trades not syncing? Do manual sync
Wrong data imported? Verify Client ID
API expired? Generate new key
Need help? Contact support@tradelyser.com