Individual App
A FYERS API app connects your application to your FYERS account. Create the app before starting authentication or making API requests.
Individual apps are created for your own personal usage. An individual app can be used only by the creator of the app; no other client can log in and make use of it. To let other FYERS clients log in to your application, use a Third-Party App.
Trading app and non-trading app
There are two types of individual apps. Use a trading app to place orders. Use a non-trading app when you only need data.
| Feature | Trading appPlace orders and fetch data | Non-trading appFetch data only |
|---|---|---|
| Order placement | Allowed | Not allowed |
| Data & User info APIs | Available | Available |
| Number of apps | One per userAs per the retail algo trading regulations | Multiple |
| Static IP | RequiredPrimary IP mandatory, Secondary IP optional | Not required |
| Redirect URL | Required | Required |
| How to set it up | Activate it in My apps | Create non-trading app |
To know which APIs are Data & User info APIs, see Types of APIs.
Activate your trading app
- Log in to the API Dashboard .
- In My apps, select your trading app (Type: Trading).
- Provide the following details:
- Primary IP address (mandatory)
- Secondary IP address (optional)
- Redirect URL
- Webhook Details (Optional)
- Accept the API Terms and Conditions and click Activate.
Create a non-trading app
- Log in to the API Dashboard .
- Click Create non-trading app.
- Provide the following details:
- App Name
- Redirect URL
- Webhook Details (Optional)
- Accept the API Terms and Conditions and click Create.
A non-trading app gets Profile details, Transaction info, Historical data, and Quotes and market data. Order placement is not granted.
Securely store the App ID and App Secret the dashboard gives you. You need both for authentication.
Redirect URI
After a user logs in with their FYERS credentials, they are redirected to the app’s redirect URI with the authorization details. This applies to both trading and non-trading apps.
We recommend the FYERS redirect URL:
https://trade.fyers.in/api-login/redirect-uri/index.htmlYou can also use any other redirect URL. If you use your own, it should be an endpoint you control, because the auth code it receives is sensitive information.
What you will use next
App ID
Identifies your application during OAuth authentication.
App Secret
Used to exchange authorization codes securely server-side.
Redirect URL
Whitelisted endpoint to receive authorization tokens.
Static IP
Approved server IP address for IP-bound API access.