fyers-apiv3
Fyers trading APIs.
Decision gist · record as of 2026-08-14
Yes. Active maintenance, low install friction, permissive MIT license, and no known vulnerabilities make it safe to adopt. Install if you are building a Python trading application against Fyers' platform; the official status and recent release cadence suggest ongoing support. Prerequisite: you must have a registered Fyers API application and valid credentials.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a registered Fyers API application (created via https://myapi.fyers.in/dashboard/) with valid client credentials and redirect URI to authenticate and obtain access tokens.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with recent releases (latest 2026-08-06, 8 days old) and an active repository.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing unrestricted use, modification, and distribution in commercial or private projects with minimal legal friction.
last release 2026-08-06 (8 days) · last repo commit 2026-02-10 · 103 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,565 downloads/mo, #12,242 on PyPI
Alternatives
Verify before relying
pip install fyers-apiv3
from fyers_apiv3 import fyersModel
appSession = fyersModel.SessionModel(
client_id="YOUR_APP_ID",
redirect_uri="YOUR_REDIRECT_URI",
secret_key="YOUR_SECRET"
)
auth_url = appSession.generate_authcode()
# After login, set token and generate access token
fyers = fyersModel.FyersModel(token=access_token, client_id=client_id)
print(fyers.get_profile())- Whether Python version constraints exist beyond the stated 'Python v3' requirement
- Specific rate limits or subscription capacity details for real-time socket connections
- Production stability and SLA guarantees for the Fyers API backend service itself
What it is and what it does
Fyers-apiv3 is the official Python SDK for Fyers, an Indian stock trading platform. It wraps the Fyers REST and WebSocket APIs, allowing developers to authenticate, retrieve account data (profile, funds, holdings), execute trades (single, basket, and multileg orders), and subscribe to real-time market updates via dedicated data and order sockets. The v3 release introduced breaking changes with improved socket performance, expanded symbol tracking capacity, and enhanced error handling.
The library handles OAuth2 authentication flow, order lifecycle management, and streaming updates for market ticks, depth changes, order status, positions, and trades. It supports both synchronous and asynchronous patterns through its FyersModel class and includes built-in support for take-profit and stop-loss overlays on orders. Typical use involves generating an auth code via browser login, exchanging it for an access token, then instantiating a FyersModel object to make API calls.
Use it for
- Build a Python trading bot that places orders and monitors positions in real-time via Fyers' WebSocket connections.
- Retrieve account holdings, funds, and trade history for portfolio analysis or reconciliation workflows.
- Stream live market data (ticks, depth updates, symbol changes) for a custom trading dashboard or alert system.
- Automate order placement for basket trading or multileg strategies with integrated take-profit and stop-loss logic.
- Integrate Fyers trading capabilities into a larger Python application or Lambda function (via aws_lambda_powertools dependency).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, low install friction, permissive MIT license, and no known vulnerabilities make it safe to adopt. Install if you are building a Python trading application against Fyers' platform; the official status and recent release cadence suggest ongoing support. Prerequisite: you must have a registered Fyers API application and valid credentials.
Install
fyers-apiv3 on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with recent releases (latest 2026-08-06, 8 days old) and an active repository. Depends on common libraries (requests, aiohttp, websocket-client) with no exotic system requirements.
Requires a registered Fyers API application (created via https://myapi.fyers.in/dashboard/) with valid client credentials and redirect URI to authenticate and obtain access tokens.
License in practice
Licensed under MIT (permissive), allowing unrestricted use, modification, and distribution in commercial or private projects with minimal legal friction.
Quickstart
pip install fyers-apiv3
from fyers_apiv3 import fyersModel
appSession = fyersModel.SessionModel(
client_id="YOUR_APP_ID",
redirect_uri="YOUR_REDIRECT_URI",
secret_key="YOUR_SECRET"
)
auth_url = appSession.generate_authcode()
# After login, set token and generate access token
fyers = fyersModel.FyersModel(token=access_token, client_id=client_id)
print(fyers.get_profile())
Verify before relying
- Whether Python version constraints exist beyond the stated 'Python v3' requirement
- Specific rate limits or subscription capacity details for real-time socket connections
- Production stability and SLA guarantees for the Fyers API backend service itself
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesrequestsasyncioaiohttpaws_lambda_powertoolswebsocket-clientsetuptools |
| Maintenance | Actively maintained 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 115,565 / month, #12,242 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: fyers_apiv3-3.1.16-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fyers trading api python client”
- fyers-apiv3Official Python client library for the Fyers trading API, enabling…
- alpaca-trade-apiPython client library for the Alpaca Commission Free Trading API,…
- smartapi-pythonA Python client library for Angel Broking's REST API that enables…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also python-binance · smartapi-python · tastytrade · dhanhq · snaptrade-python-sdk · alpaca-py · growwapi · schwab-py · egnyte · shotgun-api3