Doc Fundamentals
Funds Management
Order Management
Portfolio Management
User Authentication
Scrip Master
The scrip master URL can be used to fetch the scrip details of all the equity, derivates and commodities for NSE, BSE and MCX . The details are fetched in the form of CSV dump which can be imported to a database. Scrip master is updated regularly and can be accessed through the URL mentioned below.
https://Openapi.5paisa.com/VendorsAPI/Service1.svc/ScripMaster/segment/{segment}
Query Param
KEY | VALUE |
---|---|
Segment | all - scrips across all segments bse_eq - BSE Equity, nse_eq - NSE Equity nse_fo - NSE Derivatives bse_fo - BSE Derivatives ncd_fo - NSE Currecny mcx_fo - MCX |
ScripData Format
Please find below format for ScripData. The same is populated in API response for each instrument.
EQUITY
Format: SYMBOL_EQ
Ex. ScriptData :RELIANCE_EQ
FUTURE
Format - SYMBOL_yyyymmdd
Ex.NIFTY 30 Sep 2021_20210930
OPTION
Symbol : BANKNIFTY 24 Nov 2022 CE 41600.00
Format : SYMBOL_YYYYMMDD_CE/PE_STRIKE
Ex. BANKNIFTY 24 Nov 2022 CE 41600.00_20221124_CE_41600
BANKNIFTY 29 Mar 2023 CE 41600.00_20230329_CE_41600
CSV Columns
FIELD NAME | DESCRIPTION |
---|---|
ExchSTRING | It contains the exchange likeN : NSE |
ExchTypeSTRING | It contains segments likeC : Equity |
ScripCodeINTEGER | Unique number for particular instrument - Used to Place Order |
ScripDataINTEGER | Trading Symbol for a instrument - Used to Place OrderEQUITY |
NameSTRING | Contract Name: It is the symbol but in case of F&O it is the combination of |
ExpiryINTEGER | Contains expiry of F&O contract (ignore in case equity) |
ScripTypeSTRING | Option type likeCE : Call Option |
StrikeRateINTEGER | Strike rate of F&O contracts |
ISINSTRING | ISIN of stock (valid for equity only) |
LotSizeINTEGER | Specifies the lot size for each of the instrument. |
FullNameSTRING | Provides the full name of any instrument or contract. |
QtyLimitINTEGER | It provides the maximum quantity allowed in a particular trade. |
TickSizeINTEGER | It provides the tick size for the respective instrument or contract.
Note: The tick size provided in the scrip master is in rupees. |
MultiplierINTEGER | It provides the multiplier for the respective instrument or contract. It is used to calculate the total quantity.
For example, for any USDINR currency contract, if quantity is 1 and multiplier is 1000, then total quantity is (quantity*multiplier), i.e. 1000. |
BOCOAllowedSTRING | It describes if the bracket/cover order is allowed in the respective instrument.
Values: |
SymbolRootSTRING | It provides the symbol name for the underlying index or cash security of the derivative contract.Note: For Cash stock it will be same as stock Name, for Derivatives it will underlying index or stock name. |
SeriesSTRING | It contain the series of equity symbol like EQ (for equity only), XX for Derivatives. |