SmartAPI now provides real-time market data for 120 indices across NSE, BSE, and MCX


  • Hello SmartAPI users,

    We are excited to introduce several significant updates that will enhance your experience with SmartAPI, providing you with more accurate market data and access to a broader range of indices across various exchanges. Please take note of the following important information:

    1. Symbol Token Updates: We have implemented changes to the symbol tokens for Nifty and Bank Nifty. Kindly make note of the following updates:

    Nifty 50 (NIFTY) - New Token: 99926000
    Nifty Bank (BANKNIFTY) - New Token: 99926009

    Previously, there were issues with OHLC values for Nifty and Bank Nifty. We are delighted to inform you that these issues have been rectified, and you can now access precise OHLC data for these indices. The old symbol tokens (Nifty - Token: 26000 and Bank Nifty - Token: 26009) will be deprecated after a specific period. To ensure uninterrupted access to market data, we strongly recommend transitioning to the new token series.

    2. Introduction of New Indices: We are pleased to announce that SmartAPI now provides live market data for a total of 120 indices. This expansion opens up exciting new opportunities for you to access a wider range of real-time market information.

    We are excited to introduce several new indices, all trackable with the "AMXIDX" instrument type.

    Here's a glimpse of the Market Data API response for some of the new indices:

    For NSE (NIFTY50):

    {
        "status": true,
        "message": "SUCCESS",
        "errorcode": "",
        "data": {
            "fetched": [
                {
                    "exchange": "NSE",
                    "tradingSymbol": "Nifty 50",
                    "symbolToken": "99926000",
                    "ltp": 19523.55,
                    "open": 19761.8,
                    "high": 19766.65,
                    "low": 19492.1,
                    "close": 19716.45
                }
            ],
            "unfetched": []
        }
    }
    

    For NSE (INDIA VIX):

    {
        "status": true,
        "message": "SUCCESS",
        "errorcode": "",
        "data": {
            "fetched": [
                {
                    "exchange": "NSE",
                    "tradingSymbol": "India VIX",
                    "symbolToken": "99926017",
                    "ltp": 12.82,
                    "open": 11.59,
                    "high": 13.02,
                    "low": 9.4,
                    "close": 11.59
                }
            ],
            "unfetched": []
        }
    }
    

    For BSE (SENSEX):

    {
        "status": true,
        "message": "SUCCESS",
        "errorcode": "",
        "data": {
            "fetched": [
                {
                    "exchange": "BSE",
                    "tradingSymbol": "SENSEX",
                    "symbolToken": "99919000",
                    "ltp": 65508.32,
                    "open": 66406.01,
                    "high": 66406.01,
                    "low": 65423.39,
                    "close": 66118.69
                }
            ],
            "unfetched": []
        }
    }
    

    For MCX (MCXCRUDEX):

    {
        "status": true,
        "message": "SUCCESS",
        "errorcode": "",
        "data": {
            "fetched": [
                {
                    "exchange": "MCX",
                    "tradingSymbol": "MCXCRUDEX",
                    "symbolToken": "99920000",
                    "ltp": 9663.16,
                    "open": 9797.84,
                    "high": 9831.51,
                    "low": 9635.72,
                    "close": 9716.78
                }
            ],
            "unfetched": []
        }
    }
    

    Below is a comprehensive list of the new indices we've introduced, categorized by exchange:

    NSE Exchange:

    nse Nifty 50 99926000 NIFTY 26000
    nse Nifty GrowSect 15 99926001 NIFTY GROWSECT 15 26001
    nse Nifty50 PR 2x Lev 99926002 NIFTY50 PR 2X LEV 26002
    nse Nifty 500 99926004 NIFTY 500 26004
    nse Nifty IT 99926008 NIFTY IT 26008
    nse Nifty Bank 99926009 BANKNIFTY 26009
    nse NIFTY MIDCAP 100 99926011 NIFTY MIDCAP 100 26011
    nse Nifty 100 99926012 NIFTY 100 26012
    nse Nifty Next 50 99926013 NIFTY NEXT 50 26013
    nse Nifty Midcap 50 99926014 NIFTY MIDCAP 50 26014
    nse HangSeng BeES-NAV 99926016 HANGSENG BEES-NAV 26016
    nse India VIX 99926017 INDIA VIX 26017
    nse Nifty Realty 99926018 NIFTY REALTY 26018
    nse Nifty Infra 99926019 NIFTY INFRA 26019
    nse Nifty Energy 99926020 NIFTY ENERGY 26020
    nse Nifty FMCG 99926021 NIFTY FMCG 26021
    nse Nifty MNC 99926022 NIFTY MNC 26022
    nse Nifty Pharma 99926023 NIFTY PHARMA 26023
    nse Nifty PSE 99926024 NIFTY PSE 26024
    nse Nifty PSU Bank 99926025 NIFTY PSU BANK 26025
    nse Nifty Serv Sector 99926026 NIFTY SERV SECTOR 26026
    nse Nifty Auto 99926029 NIFTY AUTO 26029
    nse Nifty Metal 99926030 NIFTY METAL 26030
    nse Nifty Media 99926031 NIFTY MEDIA 26031
    nse NIFTY SMLCAP 100 99926032 NIFTY SMLCAP 100 26032
    nse Nifty 200 99926033 NIFTY 200 26033
    nse Nifty Div Opps 50 99926034 NIFTY DIV OPPS 50 26034
    nse Nifty Commodities 99926035 NIFTY COMMODITIES 26035
    nse Nifty Consumption 99926036 NIFTY CONSUMPTION 26036
    nse Nifty Fin Service 99926037 FINNIFTY 26037
    nse Nifty50 Div Point 99926038 NIFTY50 DIV POINT 26038
    nse Nifty100 Liq 15 99926040 NIFTY100 LIQ 15 26040
    nse Nifty CPSE 99926041 NIFTY CPSE 26041
    nse Nifty50 PR 1x Inv 99926042 NIFTY50 PR 1X INV 26042
    nse Nifty50 TR 2x Lev 99926043 NIFTY50 TR 2X LEV 26043
    nse Nifty50 TR 1x Inv 99926044 NIFTY50 TR 1X INV 26044
    nse Nifty50 Value 20 99926045 NIFTY50 VALUE 20 26045
    nse Nifty Mid Liq 15 99926046 NIFTY MID LIQ 15 26046
    nse Nifty Pvt Bank 99926047 NIFTY PVT BANK 26047
    nse NIFTY100 Qualty30 99926048 NIFTY100 QUALTY30 26048
    nse Nifty GS 8 13Yr 99926049 NIFTY GS 8 13YR 26049
    nse Nifty GS 10Yr 99926050 NIFTY GS 10YR 26050
    nse Nifty GS 10Yr Cln 99926051 NIFTY GS 10YR CLN 26051
    nse Nifty GS 4 8Yr 99926052 NIFTY GS 4 8YR 26052
    nse Nifty GS 11 15Yr 99926053 NIFTY GS 11 15YR 26053
    nse Nifty GS 15YrPlus 99926054 NIFTY GS 15YRPLUS 26054
    nse Nifty GS Compsite 99926055 NIFTY GS COMPSITE 26055
    nse NIFTY50 EQL Wgt 99926056 NIFTY50 EQL WGT 26056
    nse NIFTY100 EQL Wgt 99926057 NIFTY100 EQL WGT 26057
    nse NIFTY100 LowVol30 99926058 NIFTY100 LOWVOL30 26058
    nse NIFTY Alpha 50 99926059 NIFTY ALPHA 50 26059
    nse NIFTY MIDCAP 150 99926060 NIFTY MIDCAP 150 26060
    nse NIFTY SMLCAP 50 99926061 NIFTY SMLCAP 50 26061
    nse NIFTY SMLCAP 250 99926062 NIFTY SMLCAP 250 26062
    nse NIFTY MIDSML 400 99926063 NIFTY MIDSML 400 26063
    nse NIFTY200 QUALTY30 99926064 NIFTY200 QUALTY30 26064
    nse NIFTY MID SELECT 99926074 NIFTY MID SELECT 26074

    BSE Exchange:

    bse SENSEX 99919000 SENSEX
    bse BSEPSU 99919001 S&P BSE PSU
    bse BSE100 99919002 S&P BSE 100
    bse BSE200 99919003 S&P BSE 200
    bse BSE500 99919004 S&P BSE 500
    bse BSE IT 99919005 S&P BSE INFORMATION TECHNOLOGY
    bse BSEFMC 99919006 S&P BSE FAST MOVING CONSUMER GOODS
    bse BSE CG 99919007 S&P BSE CAPITAL GOODS
    bse BSE CD 99919008 S&P BSE CONSUMER DURABLES
    bse BSE HC 99919009 S&P BSE HEALTHCARE
    bse TECK 99919011 S&P BSE TECK
    bse BANKEX 99919012 S&P BSE BANKEX
    bse AUTO 99919013 S&P BSE AUTO
    bse METAL 99919014 S&P BSE METAL
    bse CPSE 99919015 S&P BSE CPSE
    bse MIDCAP 99919016 S&P BSE MIDCAP
    bse SMLCAP 99919017 S&P BSE SMALLCAP
    bse DOL30 99919018 S&P BSE DOLLEX 30
    bse DOL100 99919019 S&P BSE DOLLEX 100
    bse DOL200 99919020 S&P BSE DOLLEX 200
    bse LRGCAP 99919042 S&P BSE LARGECAP
    bse MIDSEL 99919043 S&P BSE MIDCAP SELECT INDEX
    bse SMLSEL 99919044 S&P BSE SMALLCAP SELECT INDEX
    bse OILGAS 99919051 S&P BSE OIL & GAS
    bse POWER 99919052 S&P BSE POWER
    bse REALTY 99919053 S&P BSE REALTY
    bse BSEIPO 99919054 S&P BSE IPO
    bse CARBON 99919058 S&P BSE CARBONEX
    bse SMEIPO 99919059 S&P BSE SME IPO
    bse INFRA 99919060 S&P BSE INDIA INFRASTRUCTURE INDEX
    bse GREENX 99919081 S&P BSE GREENEX
    bse SNSX50 99919082 S&P BSE SENSEX 50
    bse SNXT50 99919083 S&P BSE SENSEX NEXT 50
    bse ENERGY 99919084 S&P BSE ENERGY
    bse FINSER 99919085 S&P BSE FINANCIAL SERVICES
    bse INDSTR 99919086 S&P BSE INDUSTRIALS
    bse TELCOM 99919087 S&P BSE TELECOM
    bse MID150 99919088 S&P BSE 150 MIDCAP INDEX
    bse LMI250 99919089 S&P BSE 250 LARGEMIDCAP INDEX
    bse MSL400 99919090 S&P BSE 400 MIDSMALLCAP INDEX

    NCDEX Exchange:

    ncdex AGRIDEX 99918001 AGRIDEX
    ncdex NKRISHI 99918002 NKRISHI
    ncdex FREIGHTEX 99918003 FREIGHTEX
    ncdex NCDEXRAIN 99918004 NCDEXRAIN
    ncdex NCDEXAGRI 99918005 NCDEXAGRI
    ncdex FUTEXAGRI 99918006 FUTEXAGRI

    MCX Exchange:

    mcx MCXCRUDEX 99920000 MCXCRUDEX
    mcx MCXCOPRDEX 99920001 MCXCOPRDEX
    mcx MCXSILVDEX 99920002 MCXSILVDEX
    mcx MCXGOLDEX 99920003 MCXGOLDEX
    mcx MCXMETLDEX 99920004 MCXMETLDEX
    mcx MCXBULLDEX 99920005 MCXBULLDEX
    mcx MCXCOMPDEX 99920006 MCXCOMPDEX
    mcx MFGLOBALCI 99920007 MFGLOBALCI
    mcx MCXSAGRI 99920008 MCXSAGRI
    mcx MCXSENERGY 99920009 MCXSENERGY
    mcx MCXSMETAL 99920010 MCXSMETAL
    mcx MCXSCOMDEX 99920011 MCXSCOMDEX
    mcx MCXCOMPOSITE 99920012 MCXCOMPOSITE
    mcx MCXCOMDEX 99920013 MCXCOMDEX
    mcx MCXAGRI 99920014 MCXAGRI
    mcx MCXENERGY 99920015 MCXENERGY
    mcx MCXMETAL 99920016 MCXMETAL

    These indices cover a wide range of sectors and industries, providing you with a comprehensive view of the market landscape. Whether you are tracking major benchmark indices like NIFTY and SENSEX or exploring sector-specific indices, SmartAPI has you covered.

    If you have any questions, need assistance with the symbol token transition, or require further information on any of the indices listed, please do not hesitate to contact us.

    Thank you for choosing SmartAPI, and we look forward to helping you leverage these enhancements for your trading and investment strategies.


  • @melad smartAPI.ltpData("NSE", "Nifty 50", "99926000")


  • Pls share token for Nifty Midcap select (NSE), so traders can use that as well in algo


  • hi
    i just tried send request using this input
    historicParam={
    "exchange": "NSE",
    "symboltoken": "99926009",
    "interval": "ONE_MINUTE",
    "fromdate": "2023-09-15 01:00",
    "todate": "2023-09-22 20:00"
    }
    but gave me this response

    {'status': True, 'message': 'SUCCESS', 'errorcode': '', 'data': None}