EOD Data

EOD API

This API is used to get end of day data (OHLC,Volume) for different exchanges in json format

Method POST
Production URL https://openapi.motilaloswal.com/rest/report/v1/geteoddatabyexchangename
Test URL https://uatopenapi.motilaloswal.com/rest/report/v1/geteoddatabyexchangename
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,NSEFO,NSECD,NCDEX,MCX,NSECO,BSECO,BSECD

Sample Request (Body)


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

	
	

Sample Response

	
{
  "status": "SUCCESS",
  "message": "EOD Data",
  "errorcode": "",
  "data": [
{
  "exchange": "NSE",
  "scripcode": 4934,
  "open": 218.9,
  "high": 223.95,
  "low": 217.55,
  "close": 222.45,
  "volume": 99235,
  "date": "09-02-2023",
  "scripfullname": "INDIA PESTICIDES LIMITED-IPL EQ",
  "scripshortname": "IPL",
  "instrumentname": "      ",
  "expirydate": "0",
  "strikeprice": 0,
  "optiontype": "  "
 },
{….} ]
}
	

EOD (CSV Format)

This API is used to get end of day data (OHLC,Volume) for different exchanges in CSV format

Method GET
Production URL https://openapi.motilaloswal.com/geteoddatacsv?name=NSE
name = exchangename in URL and you will get CSV file for that exchange
Test URL https://uatopenapi.motilaloswal.com/geteoddatacsv?name=NSE
name = exchangename in URL and you will get CSV file for that exchange
Response File Download in .csv Format

Sample File Format


exchange,scripcode,open,high,low,close,volume,date,scripfullname,scripshortname,instrumentname,expirydate,strikeprice,optiontype
NSE,4934,218.900,223.950,217.550,222.450,99235,09-02-2023,INDIA PESTICIDES LIMITED-IPL EQ,IPL,"      ",0,0.00,"  "
NSE,20030,1134.300,1134.300,1134.300,1134.300,1,09-02-2023,7.74% TAX FREE NCD-IREDA N7,IREDA,"      ",0,0.00,"  "
NSE,29605,0.000,0.000,0.000,1093.000,0,09-02-2023,BOND 6.88% PA TAX FREE S1-IRFC N5,IRFC,"      ",0,0.00,"  "
NSE,29607,0.000,0.000,0.000,1096.000,0,09-02-2023,BOND 7.04% PA TAX FREE S2-IRFC N6,IRFC,"      ",0,0.00,"  "