Stock name to Symbol


  • I want to input a stock name for example "Reliance Industries Limited" and the smart api will fetch its Symbol (RELIANCE.NS) , how to implement it?


  • Hi @sourav344

    Use SearchScrip API for Implementing search feature

    URL :

    https://apiconnect.angelone.in/rest/secure/angelbroking/user/v1/searchScrip

    Sample Request :

    {
    "exchange": "NSE",
    "searchscrip": "Reliance Industries Limited"
    }

    Sample Response :
    {
    "status": "success",
    "message": "",
    "error_code": "",
    "data": {
    "dataList": [
    {
    "type": "scrip",
    "icon": "icons/scrip/eq_v1.png",
    "tradeSymbol": "RELIANCE-EQ",
    "isCashWithFno": true,
    "nseCashToken": "2885",
    "bseCashToken": "500325",
    "curFutToken": "",
    "details": "RELIANCE INDUSTRIES LTD",
    "expirydate": "01 Jan 1980",
    "instName": "",
    "isinCode": "INE002A01018",
    "mktSegID": "1",
    "optType": "",
    "priceTck": "0.05",
    "regLot": "1",
    "secDesc": "RELIANCE INDUSTRIES LTD",
    "strkPrice": "-1",
    "symbolName": "RELIANCE",
    "token": "2885",
    "isCommodityWithOption": false,
    "isIndices": false,
    "maxSingleTransactionQty": "67658",
    "compName": "RELIANCE INDUSTRIES LTD",
    "npriceNum": "1",
    "npriceDen": "1",
    "sector": "Refineries",
    "marketCapCategory": "Large Cap",
    "mktcap": "1787896.63",
    "scripType": "nseCash",
    "isMTFEligible": true,
    "astCls": "cash",
    "series": "EQ",
    "segmentSubType": "stockCash",
    "minLot": "1",
    "lotSize": "",
    "divider": "100",
    "filterTypes": [
    "STOCKCASH"
    ]
    },
    {
    "type": "scrip",
    "icon": "icons/scrip/eq_v1.png",
    "tradeSymbol": "RELIANCE",
    "isCashWithFno": false,
    "nseCashToken": "2885",
    "bseCashToken": "500325",
    "curFutToken": "",
    "details": "RELIANCE INDUSTRIES LTD.",
    "expirydate": "01 Jan 1980",
    "instName": "",
    "isinCode": "INE002A01018",
    "mktSegID": "3",
    "optType": "",
    "priceTck": "0.05",
    "regLot": "1",
    "secDesc": "RELIANCE INDUSTRIES LTD.",
    "strkPrice": "-1",
    "symbolName": "RELIANCE",
    "token": "500325",
    "isCommodityWithOption": false,
    "isIndices": false,
    "maxSingleTransactionQty": "0",
    "compName": "RELIANCE INDUSTRIES LTD",
    "npriceNum": "1",
    "npriceDen": "1",
    "sector": "Refineries",
    "marketCapCategory": "Large Cap",
    "mktcap": "1787896.63",
    "scripType": "bseCash",
    "isMTFEligible": true,
    "astCls": "cash",
    "series": "A",
    "segmentSubType": "stockCash",
    "minLot": "1",
    "lotSize": "",
    "divider": "100",
    "filterTypes": [
    "STOCKCASH"
    ]
    }
    ],
    "suggester": {
    "suggester": []
    },
    "categories": [
    {
    "keyword": "",
    "displayValue": "All"
    },
    {
    "keyword": "STOCKCASH",
    "displayValue": "Cash"
    }
    ],
    "scripExperiment": ""
    }
    }

    Regards, Smart API Team