Instrument List
You can fetch instrument list for all instruments which can be traded via Dhan by using below URL:
Compact:
https://images.dhan.co/api-data/api-scrip-master.csv
Detailed:
https://images.dhan.co/api-data/api-scrip-master-detailed.csv
This fetches list of instruments as CSV with Security ID and other important details which will help you build with DhanHQ APIs.
Segmentwise List
You can fetch detailed instrument list for all instruments in a particular exchange and segment by passing the same in parameters as below:
curl --location 'https://api.dhan.co/v2/instrument/{exchangeSegment}' \
This helps to fetch instrument list of only one particular exchangeSegment at a time. The mapping of the same can be found here.
Column Description
Detailedtag |
Compacttag |
Description |
EXCH_ID |
SEM_EXM_EXCH_ID |
Exchange NSE
BSE
MCX |
SEGMENT |
SEM_SEGMENT |
SegmentC - CurrencyD - DerivativesE - EquityM - Commodity |
ISIN |
- | International Securities Identification Number(ISIN) - 12-digit alphanumeric code unique for instruments |
INSTRUMENT |
SEM_INSTRUMENT_NAME |
Instrument defined by Exchange - defined here |
| removed | SEM_EXPIRY_CODE |
Expiry Code (applicable in case of Futures Contract) - defined here |
UNDERLYING_SECURITY_ID |
- | Security ID of underlying instrument (applicable in case of derivative contracts) |
UNDERLYING_SYMBOL |
- | Symbol of underlying instrument (applicable in case of derivative contracts) |
SYMBOL_NAME |
SM_SYMBOL_NAME |
Symbol name of instrument |
| removed | SEM_TRADING_SYMBOL |
Exchange trading symbol of instrument |
DISPLAY_NAME |
SEM_CUSTOM_SYMBOL |
Dhan display symbol name of instrument |
INSTRUMENT_TYPE |
SEM_EXCH_INSTRUMENT_TYPE |
In addition to `INSTRUMENT` column, instrument type is defined by exchange adding more details about instrument |
SERIES |
SEM_SERIES |
Exchange defined series for instrument |
LOT_SIZE |
SEM_LOT_UNITS |
Lot Size in multiples of which instrument is traded |
SM_EXPIRY_DATE |
SEM_EXPIRY_DATE |
Expiry date of instrument (applicable in case of derivative contracts) |
STRIKE_PRICE |
SEM_STRIKE_PRICE |
Strike Price of Options Contract |
OPTION_TYPE |
SEM_OPTION_TYPE |
Type of Options ContractCE - CallPE - Put
|
TICK_SIZE |
SEM_TICK_SIZE |
Minimum decimal point at which an instrument can be priced |
EXPIRY_FLAG |
SEM_EXPIRY_FLAG |
Type of Expiry (applicable in case of option contracts)M - Monthly ExpiryW - Weekly Expiry
|
ASM_GSM_FLAG |
- | Flag for instrument is ASM or GSMN - Not in ASM/GSMR - Removed from blockY - ASM/GSM
|
ASM_GSM_CATEGORY |
- | Category of instrument in ASM or GSMNA in case of no surveillance
|
BUY_SELL_INDICATOR |
- | Indicator to show if Buy and Sell is allowed in instrumentA if both Buy/Sell is allowed
|
MTF_LEVERAGE |
- | MTF Leverage available (in x multiple) for eligible `EQUITY` instruments |