DPR Data

This API is used to get daily price range of BANKNIFTY OR NIFTY scripts in json format

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

Request JSON

Field Type Mandatory Description
clientcode String N It's mandatory in case of Dealer only
Symbol String Y It's either BANKNIFTY or NIFTY

Sample Request (Body)


    {
      "clientcode":"", // In case of dealer else not required
      "symbol:"BANKNIFTY"
    }


	

Sample Response

    
        {
        "status": "SUCCESS",
        "message": "DPR Data",
        "errorcode": "",
        "data": [
        {
        "exchangename": "NSEFO",
        "exchange": 2,
        "scripcode": 60605,
        "scripname": "BANKNIFTY 24-Nov-2022 PE 38300",
        "scripshortname": "BANKNIFTY",
        "strikeprice": 38300,
        "optiontype": "PE",
        "instrumentname": "OPTIDX",
        "expirydate": 1353767400,
        "lowercircuitprice": 218.7,
        "uppercircuitprice": 1918
        },{......}  ]
        }
    

DPR CSV

This API is used to get daily price range of BANKNIFTY OR NIFTY scripts in CSV format

Method GET
Production URL https://openapi.motilaloswal.com/getdprcsv?symbol=NIFTY
Test URL https://uatopenapi.motilaloswal.com/getdprcsv?symbol=NIFTY
Request None
Response CSV File

Symbol Parameters define

Field Type Mandatory Description
symbol String Y It''s either NIFTY or BANKNIFTY

Sample File Format

    
        exchangename,exchange,scripcode,scripname,scripshortname,strikeprice,optiontype,instrumentname
        ,expirydate,lowercircuitprice,uppercircuitprice
        NSEFO,2,52826,NIFTY 13-Oct-2022 PE 16500,NIFTY,16500.000,PE,OPTIDX,1350138600,0.050,17.400
        NSEFO,2,52827,NIFTY 13-Oct-2022 CE 16550,NIFTY,16550.000,CE,OPTIDX,1350138600,0.050,1548.050