Skip to main content
Connect your broker
~2 min read

Get your Fyers API keys

The live desk uses your own Fyers account for real-time data. Create a free app in Fyers's portal, then paste its keys into your Stage2Stocks settings.
Keys to copy
2
App ID + Secret Key
Data cost
Free
no API fees
Your password
0
we never see it
What you'll need
An active Fyers account and about two minutes. Everything happens in Fyers's portal — Stage2Stocks only receives the keys you copy at the end, never your password.
3 steps
01

Enable TOTP first (required)

At myaccount.fyers.in → Manage Account, enable External 2FA (TOTP). Without it, the API login fails. Keep your authenticator app handy.
02

Create an app

Go to myapi.fyers.in, Create App. App Name = anything; Redirect URL = https://www.stage2stocks.com/api/live/fyers/callback (paste exactly). Create.
03

Copy your credentials

From the dashboard, copy the App ID and the Secret Key. Paste both into Settings → Broker.
Redirect URL — paste into the broker app
https://www.stage2stocks.com/api/live/fyers/callback
Where the keys go
Open Settings → Broker, choose Fyers, paste your App ID + Secret Key, and save. Then open the Live Desk and click Authenticate.
Good to know
Question
Free — no API or data fees.
Answer
Handled automatically — nothing extra for you to do.
Question
The first time you connect, Fyers shows a one-time consent screen — click Allow.
Answer
Handled automatically — nothing extra for you to do.
Question
Does this place trades?
Answer
No. The connection is read-only — it pulls real-time market data and never places orders.
Question
Is it safe to add my keys?
Answer
Your keys are encrypted at rest and never shared. Login and 2FA always happen on Fyers's own site, so Stage2Stocks never sees your broker password.
Open Fyers portal →← Back to the live desk