Skip to main content

Order Book

To get characters you need to make a GET call to the following url

RESPONSE ATTRIBUTES

AttributesDatatypeDescription
exchangestringExchange name
tokenstringToken of the scrip
tsymstringTrading symbol
productstringProduct Code
pricetypestringPrice type
validitystringvalidity
pricestringPrice
trgprcstringTrigger price
qtystringQuantity
dscqtystringDisclosed quantity
trantypestringTransaction type
avgprcstringAverage price
fillsharesstringFilled Quantity
remarksstringRemarks
exchordidstringExchange order id
syomorderidstringSyom Order ID
nstordnostringOrder number
orderentrytimestringOrder entry time
exchconfrmtimestringExchange confirmation time
statusstringStatus of the order
ordvaldatestringOrder validity date
rejreasonstringRejection reason
curl / cURL
curl --location --request GET 'https://api.gwcindia.in/v1/orderbook' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 05b8167eed78367034cb5ed4a8c15930'
Response Example
{
"status": "success",
"data": [
{
"exchange": "NSE",
"token": "14366",
"tsym": "IDEA-EQ",
"product": "CNC",
"pricetype": "MKT",
"validity": "DAY",
"price": "0.00",
"trgprc": "",
"qty": "1",
"dscqty": "0",
"trantype": "S",
"avgprc": "6.55",
"fillshares": "1",
"remarks": "",
"exchordid": "1100000017705694",
"syomorderid": "",
"nstordno": "23031400017243",
"orderentrytime": "13:10:32 14-03-2023",
"exchconfrmtime": "14-03-2023 13:10:32",
"status": "complete",
"ordvaldate": "",
"rejreason": ""
}
]
}