FYERS
YERS API offers market data and trading capabilities for the Indian stock market, including NSE, BSE, and MCX.
8 subscribers
25 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
FYERS endpoints
| Method | Endpoint | Description |
|---|---|---|
| Authentication > OAuth2 - PKCE Flow | ||
| POST |
validateAuthCode /api/v3/validate-authcode |
## Step 2 - code - This is the Authrorization code which is received in step 1 - code_verifier - This is the random string which was created in step 1 |
| GET |
generateAuthcode /api/v3/generate-authcode |
# Step 1 The PKCE flow is used for Single Page Application (SPA) / Mobile Apps wherein storing the secret key is unsafe. For such applications. ## Parameters - You will be… |
| Account Info | ||
| GET |
profile /api/v3/profile |
|
| GET |
funds /api/v3/funds |
|
| Transactions Info | ||
| GET |
tradebook /api/v3/tradebook |
|
| GET |
holdings /api/v3/holdings |
|
| GET |
ordersWithFIlter /api/v3/orders |
|
| GET |
position /api/v3/positions |
|
| Transactions > Orders > CO Orders | ||
| DELETE |
cancelOrder /api/v3/orders |
|
| Transactions > Orders > BO Orders | ||
| POST |
placeOrderStopLimit /api/v3/orders/sync |
|
| PATCH |
modifyOrderLeg3 /api/v3/orders/sync |
|
| DELETE |
cancelOrder /api/v3/orders/sync |
|
| Transactions > Orders > Multiple Orders | ||
| DELETE |
deleteMultipleOrder /api/v3/multi-order/sync |
|
| PATCH |
modifyMultipleOrder /api/v3/multi-order/sync |
|
| POST |
placeMultipleOrder /api/v3/multi-order/sync |
|
| Transactions > Position | ||
| DELETE |
exitAllPositions /api/v3/positions |
|
| PUT |
convertPosition /api/v3/positions |
|
| Broker Info | ||
| GET |
marketStatus /data/marketStatus |
## Key Meanings - EMM_EXM_EXCH_ID - NSE - BSE - MCX - EMM_EXCH_SEG - E => Equity - D = > Derivatives - C => Currency - M => Commodity - MARKET_TYPE - NL - Normal Market - MS -… |
| Market Data | ||
| GET |
quotes /data/quotes/ |
|
| GET |
marketDepth /data/depth/ |
Market Depth will give you the best 5 bids and asks. If you want only the bids and asks, then you can pass ohlcvFlag = 0 |
| GET |
historicalData /data/history |
|
| Edis | ||
| GET |
details /api/v2/details |
|
| POST |
index /api/v2/index |
|
| GET |
tpinGeneration /api/v2/tpin |
|
| POST |
inquiry /api/v2/inquiry |
|
FYERS pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|