Skip to Content

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.

SectionWhat it contains
FytokenFYERS token structure: exchange, segment, expiry and exchange token fields.
ExchangesNumeric exchange codes for NSE, MCX and BSE.
SegmentsNumeric segment codes for capital market, derivatives and commodities.
Exchange-Segment MappingSupported exchange and segment pairings with their codes.
Instrument TypesInstrument type codes by segment (CM, FO, CD and COM).
Symbol FormatExchange, segment and instrument format rules used in FYERS identifiers. Validate symbols against the latest Symbol Master before requests.
Symbol ValuesPlaceholder variables and allowed values used in symbology formats.
Product TypesProduct type values such as CNC, INTRADAY, MARGIN and MTF.
Order TypesOrder type values for limit, market and stop orders.
Order StatusOrder status values returned by trading and WebSocket APIs.
Order SidesBuy and sell side values used in order requests.
Position SidesLong, short and closed position side values.
Holding TypesT1 and HLD holding type values in account responses.
Order SourcesSource channel codes for mobile, web, API and other platforms.
API Error CodesStandard API error codes with descriptions. Read each code together with the response message.
Last updated on