Watch Lists
Get list of predefined MW scrips
POST
/NorenWClientAPI/PreDefinedMWAuthorization token is required. Enter your access_token from GenAcsTok above.
jData fields
Values are sent as a JSON string in the jData form field.
Logged in User Id
Name of the Watchlist, for which scrip list is required.
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
Request to be POSTed to url : /NorenWClientAPI/PreDefinedMW
Request Details
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
| Json Fields | Possible value | Description |
|---|---|---|
| uid* | Logged in User Id | |
| wlname* | Name of the Watchlist, for which scrip list is required. |
Response Details
Response data will be in json format with below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Market watch success or failure indication. |
| values | Array of json objects. (object fields given in below table) |
| Json Fields of object in values Array | Possible value | Description |
|---|---|---|
| exch | NSE, BSE, NFO ... | Exchange |
| tsym | Trading symbol of the scrip (contract) | |
| token | Token of the scrip (contract) | |
| pp | Price precision | |
| ti | Tick size | |
| ls | Lot size | |
| dname | Display Name | |
| cname | Company Name | |
| instname | Instrument Name |
Example
jData={"uid":"{{USER_ID}}","wlname":"NIFTY50"}Sample Success Response
{
"stat": "Ok",
"values": [
{
"exch": "NSE",
"token": "15083",
"tsym": "ADANIPORTS-EQ",
"pp": "2",
"ls": "1",
"ti": "0.05"
},
{
"exch": "NSE",
"token": "236",
"tsym": "ASIANPAINT-EQ",
"pp": "2",
"ls": "1",
"ti": "0.05"
},
{
"exch": "NSE",
"token": "5900",
"tsym": "AXISBANK-EQ",
"pp": "2",
"ls": "1",
"ti": "0.05"
},
{
"exch": "NSE",
"token": "16669",
"tsym": "BAJAJ-AUTO-EQ",
"pp": "2",
"ls": "1",
"ti": "0.05"
},
{
"exch": "NSE",
"token": "16675",
"tsym": "BAJAJFINSV-EQ",
"pp": "2",
"ls": "1",
"ti": "0.05"
},
{
"exch": "NSE",
"token": "317",
"tsym": "BAJFINANCE-EQ",
"pp": "2",
"ls": "1",
"ti": "0.05"
}
]
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/PreDefinedMW' \
--header 'Content-Type: text/plain' \
--data 'jData={}'Response will appear here after sending a request