Appendix
Use the reference tables below to validate symbols, interpret request and response fields, and diagnose API errors. Market status and Symbol Master downloads are under Market Information.
| Section | What it contains |
|---|---|
| Fytoken | FYERS token structure: exchange, segment, expiry and exchange token fields. |
| Exchanges | Numeric exchange codes for NSE, MCX and BSE. |
| Segments | Numeric segment codes for capital market, derivatives and commodities. |
| Exchange-Segment Mapping | Supported exchange and segment pairings with their codes. |
| Instrument Types | Instrument type codes by segment (CM, FO, CD and COM). |
| Symbol Format | Exchange, segment and instrument format rules used in FYERS identifiers. Validate symbols against the latest Symbol Master before requests. |
| Symbol Values | Placeholder variables and allowed values used in symbology formats. |
| Product Types | Product type values such as CNC, INTRADAY, MARGIN and MTF. |
| Order Types | Order type values for limit, market and stop orders. |
| Order Status | Order status values returned by trading and WebSocket APIs. |
| Order Sides | Buy and sell side values used in order requests. |
| Position Sides | Long, short and closed position side values. |
| Holding Types | T1 and HLD holding type values in account responses. |
| Order Sources | Source channel codes for mobile, web, API and other platforms. |
| API Error Codes | Standard API error codes with descriptions. Read each code together with the response message. |
Last updated on