Skip to main content

Trade Bookโ€‹

The Trade Book API lets you fetch list of trades executed of current day by the user.

๐Ÿ”Query Parametersโ€‹

FieldsTypeRequiredDescriptionExample/Enum
offsetintegernoSpecifies the page number of the collection to be displayed1
limitsintegernoLimits the numer of items on the page100
order_idstringnoSingle order ID to filter trades (URL-encoded if special characters present)NXWAO00001N3

๐ŸŸขSuccess Response - 200 Okโ€‹

FieldsTypeDescriptionExample/Enum
statusstringIndicates the result of API Call"success"
codestringResponse code corresponding to the request"s-101"
messagestringDescriptive message for the response"Success Message"
dataarray of objectsList of trader recordsSee below table

๐Ÿ“˜ Data object fieldsโ€‹

FieldsTypeDescriptionExample/Enum
order_idstringSystem-generated unique order numberXWAO0000N3
exchangestringExchange segmentsNSE_EQ
scrip_tokenintegerToken number of the instrument12345
trade_nostringExchange Trade numberTRD1234567890
exchange_order_nostringExchange order numberEXORD1234567
transaction_typestringBUY or SELLBUY
product_typestringProduct typeDELIVERY
order_typestringOrder TypesLIMIT
traded_quantityintegerTraded quantity100
trade_pricestringPrice at which trade was executed865.5
symbolstringSybmol code from excange scripmaster fileTCS
seriesstringSeries of the instrumentEQ
instrumentnumberInstrument name or code101
expiry_datestringExpiry date of the contract2025-02-02
strike_pricestringStrike price in paise89000
option_typestringOption type: CE call or PE putCE
trade_timestampstringTime of trade execution2025-06-08T11:22Z
initiated_bystringApp ID or terminal ID that initiated the orderWEB_APP_01
modified_bystringApp ID or terminal ID that modified the orderMOBILE_APP_002
order_identifierstringOptioal identifier to trackTRACK123

๐Ÿ“˜ Metadataโ€‹

FieldsTypeDescriptionExample/Enum
Total_recordsstringTotal count records12

๐Ÿ”ด Error Response - 400 Bad Requestโ€‹

FieldTypeDescriptionExample
statusstringStatus of the API call Default Error"error"
codestringError code indicating the failure"e-101"
messagestringSpecific message explaining the reason for failed request."Error Message"
get/transactional/v1/trades