Index Data

INDEX DATA API

This API is used to get index data for BSE,NSE in json format

Method POST
Production URL https://openapi.motilaloswal.com/rest/report/v1/getindexdatabyexchangename
Test URL https://uatopenapi.motilaloswal.com/rest/report/v1/getindexdatabyexchangename
Request JSON
Response JSON

Request JSON

Field Type Mandatory Description
clientcode String N Its mandatory in case of Dealer Only
exchangename String Y NSE,BSE

Sample Request (Body)


{
  "clientcode":"AA020", // In case of dealer else not required
  "exchangename":"NSE"
}

	
	

Sample Response

	
{
  "status": "SUCCESS",
  "message": "EOD Data",
  "errorcode": "",
  "data": [
{
  "exchange": "NSE",
  "indexcode": 26009,
  "indexname": "Nifty Bank",
},
{
  "exchange": "NSE",
  "indexcode": 26012,
  "indexname": "Nifty 100",
},
{
  "exchange": "NSE",
  "indexcode": 26065,
  "indexname": "Nifty 200",
 },{..},{..},....
            
}

	

INDEX DATA (CSV Format)

This API is used to get index data for BSE,NSE in CSV format

Method GET
Production URL https://openapi.motilaloswal.com/getindexdatacsv?name=BSE
Test URL https://uatopenapi.motilaloswal.com/getindexdatacsv?name=BSE
Response File Download in .csv Format

Symbol Parameters Define

Field Type Mandatory Description
name String Y NSE,BSE

Sample File Format


exchangename,indexcode,indexname
BSE,999902,BSE100
BSE,999903,BSE 200
BSE,999904,BSE 500
BSE,999913,BSE AUTO
BSE,999912,BSE BANKEX
BSE,999907,BSE CAPGOOD
BSE,999926,BSE CARBON
BSE,999908,BSE CONSDUR
BSE,999929,BSE CPSE