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.

SCRIP MASTER URL
https://Openapi.5paisa.com/VendorsAPI/Service1.svc/ScripMaster/segment/{segment}

Query Param

KEYVALUE

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 NAMEDESCRIPTION

Exch

STRING

It contains the exchange like

N : NSE
B : BSE
M : MCX (ExchType will be D)

ExchType

STRING

 

It contains segments like

C : Equity
D : Derivative (F&O) (But if Exch is M then Commodity)
U : Currency Derivative

ScripCode

INTEGER

Unique number for particular instrument - Used to Place Order

ScripData

INTEGER

Trading Symbol for a instrument - Used to Place Order

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

Name

STRING

Contract Name: It is the symbol but in case of F&O it is the combination of 
Symbol, Expiry, OptionType, StrikePrice

Expiry

INTEGER

Contains expiry of F&O contract (ignore in case equity)

ScripType

STRING

Option type like

CE : Call Option
PE : Put Option
EQ : For NSE Indices
XX : Other contracts (Cash & Futures)

StrikeRate

INTEGER

Strike rate of F&O contracts

ISIN

STRING

ISIN of stock (valid for equity only)

LotSize

INTEGER

Specifies the lot size for each of the instrument.

FullName

STRING

Provides the full name of any instrument or contract.

QtyLimit

INTEGER

It provides the maximum quantity allowed in a particular trade.

TickSize

INTEGER

It provides the tick size for the respective instrument or contract.

 

Note: The tick size provided in the scrip master is in rupees.

Multiplier

INTEGER

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.

BOCOAllowed

STRING

It describes if the bracket/cover order is allowed in the respective instrument.

 

Values:
Y: Bracket/cover order allowed
N: Bracket/cover order not allowed

 

Note: For options, BO & CO are allowed for a few strike rates near the spot price and changes with time, the scrip master shows default value “N” for all option contracts.

SymbolRoot

STRING

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. 

Series

STRING

It contain the series of equity symbol like EQ (for equity only), XX for Derivatives.
 

 

On this Page

Knowledge base

Read how to integrate our APIs, understanding complete flow
Integration Flow
overlay img
Checkout our API References Start with User Authentication
Start using our APIs
overlay img

Contribute and get rewarded

Help make these Dev Docs great, contribute to the APIs and get rewarded for your contribution

Need Help

Ask Developer Community

Contact Support

 

Changelog

Changes made to our APIs - Changelog

AVENUES