Skip to content

India · Broker API

Build a Fyers API trading bot with your AI coding agent.

Super Algo Kit helps you build a Fyers API algo trading bot on API v3 inside your own AI coding agent. Fyers covers NSE, BSE and MCX, with option chains and greeks. Since 1 April 2026, orders need a whitelisted static IP and a two-factor login every trading day. The kit paper tests first and goes live only when you type the authorize command.

Fyers API v3 logo

broker facts

Fyers API v3

What it is
The REST and WebSocket API of Fyers, an Indian broker, for its clients in India.
Markets
NSE, BSE and MCX: equities, index and stock derivatives, currency and commodity contracts.
Login
Browser sign-in with two-factor once every trading day. Continuous refresh sessions are no longer supported.
Static IP
Since 1 April 2026, orders only from a registered app mapped to your whitelisted static IP.
Paper option
No sandbox found in the sources read. The kit's own paper broker uses live data and sends no orders.
Limits
10 requests a second, 200 a minute, 100,000 a day. Place, modify and cancel share 10 a second.
Card basis
Checked against Fyers's official agent-skills repository and 2026 notice; the docs site was not read.

From the kit's Fyers card, checked 2026-09-30. Confirm current terms on Fyers's own site.

Paper first

A Fyers bot, built paper first.

Super Algo Kit runs inside the coding agent you already use. It interviews you, writes the spec with pass marks set first, then builds, backtests and paper-tests. Real money starts only when you type the authorize command.

Type this in your coding agent
Build me a VWAP reversion bot for Fyers on NIFTY futures. Paper only.

The plan, step by step

Tick them off as you go.

How Fyers API access and login work

You create an app in the Fyers API dashboard with an app id, a secret and a registered redirect address. The app also has permission templates, such as order placement and market data. Give it only the permissions it needs.

Each trading day you sign in through Fyers in a browser, and the app exchanges the returned code for a token. Fyers needs a two-factor login once every trading day and no longer supports continuous refresh sessions. The kit shows you the login link and waits, and never stores your PIN or password.

Static IP for Fyers API algo trading

Since 1 April 2026, Fyers accepts orders only from a registered app mapped to a whitelisted static IP. Fyers support pages reportedly say one app maps to one IP and eligible family accounts may share one. The registration steps, IPv6 support and change frequency are not confirmed.

Until Fyers confirms its own rule, plan for the India-wide limit of one IP change per calendar week. Run the bot at home only if your provider gives that line a static IP, or rent a server. Backtests and paper trading send no orders, so they need no static IP.

Can you paper trade with the Fyers API?

No sandbox or paper environment appeared in the sources the kit read, so treat one as not confirmed. Fyers's own agent skill defaults order scripts to a dry run that logs the order instead of sending it. Super Algo Kit uses its own paper broker over live data and sends no orders.

Fyers API limits and costs to plan for

These numbers come from Fyers's official agent-skills references, read on 30 September 2026. No API fee was stated there, so the cost is not confirmed.

  • REST calls: 10 a second, 200 a minute, 100,000 a day.
  • Place, modify and cancel share 10 a second, which is also the framework's cap.
  • More than 3 per-minute breaches in one day block you until the next day.
  • Data socket: 5,000 symbols per connection.
  • Minute history: 100 days per request. Daily bars: 366 days per request.
  • Market orders are converted to price-protected orders.

What Super Algo Kit does with Fyers API v3

The kit writes a thin client from its Fyers card and does not copy SDK code. Your agent never holds your live keys or places live orders.

  • Paces requests at about 8 a second, the kit's own setting, and honours retry-after replies.
  • Treats a no-acknowledgement reply as unknown and checks the order book by tag.
  • Matches temporary async order ids to the final ids.
  • Validates every option symbol against the daily symbol master.
  • Checks your outgoing IP matches the registered one, with a risk gate and kill switch.

Before you rely on it

Gotchas to plan for.

  • Go over the per-minute cap more than 3 times in one day and Fyers blocks you until the next day.
  • A no-acknowledgement reply is neither a rejection nor a fill; check the order book.
  • Weekly option symbols use one-letter month codes, so never build them by hand.
  • The refresh token may be discontinued, so build for a daily human login.
  • Bracket and cover orders cannot carry an order tag, so you cannot find them by tag.
  • Some raw HTTP clients are refused before credentials are checked, which looks like a permission error.

FAQ

Fyers: questions.

Does Fyers allow algo trading through its API?

Yes, on the conditions Fyers lists for the framework from 1 April 2026. Orders need a whitelisted static IP, a two-factor login every trading day and at most 10 orders a second. Fyers converts market orders to price-protected ones, and external platforms must be empanelled. This is not legal advice.

Can I paper trade with the Fyers API?

No Fyers sandbox appeared in the sources the kit read, so treat one as not confirmed. Super Algo Kit paper trades on its own paper broker over live data and sends no orders. Paper runs and backtests need no static IP.

How long does a Fyers access token last?

A Fyers token lasts one trading day; the exact expiry time is not confirmed. Fyers needs a two-factor login once every trading day and no longer supports continuous refresh sessions. Super Algo Kit shows you the login link each day and waits until you sign in.

Is Super Algo Kit affiliated with Fyers?

No. Super Algo Kit is not affiliated with or endorsed by Fyers. The name is used only to say the kit works with the Fyers API. You use your own Fyers account and app.

Keep reading

More guides.

Fyers API v3 and its logo are trademarks of their owner, used here only to say that Super Algo Kit can work with it. Super Algo Kit is not affiliated with or endorsed by Fyers. Super Algo Kit is development software. It is not investment advice, a signal service or a promise of performance. Trading involves substantial risk, including the loss of all capital you trade with.