Skip to main content

Place cover order

This API lets you place a cover order, which includes a main market/limit order and stop loss in a single request.

🔑Header Parameters

FieldsTypeRequiredDescriptionExample/Enum
AuthorizationStringYesAccess token for authenticationaccess_token
x-api-keyStringYesAPI keyx-api-key
content_typeStringYesFormat of the dataapplication/json

📦Request Body Schema: application/json

FieldsTypeRequiredDescriptionExample/ENUM
Scrip_infoobjectYesExchange segmentsNSE_EQ
transaction_typestringYesWhether its a BUY or SELL orderBUY
main_legobjectYesDetails of the primary order.See below table
stoploss_legobjectYesDetails of the stop-loss (can include multiple legs)See below table
order_identifierstringNoOptional Identifier for users own tracking (max 10 Chars)"Myorder1"
part_codestringNoCustodian participant code  if any"P123"
algo_idstringNoAlgo ID for automated strategies"A001"
strategy_idstringNoStrategy ID"S001"
vender_codestringNoIn-house vendor code"V123"

📝Scrip Info Object Fields

FieldsTypeRequiredDescriptionExample/ENUM
exchangestringYesExchange segmentNSE_EQ
scrip_tokenintegerNoUnique scrip token (required if symbol-based data is not give)10100001
symbolstringNoScrip symbolRELIANCE 
seriesstringNoSeries for equitiesEQ
expiry_datestringNoExpiry date for F&O (yyyy-mm-dd format)2025-06-27
strike_pricenumberNoStrike price for options (in paise)25000
option_typestringNoOption type- "CE" (Call) or "PE"(Put)CE

📝Main Leg Object Fields

FieldsTypeRequiredDescriptionExample/ENUM
order_typeStringYesOrder Types. Allowed values: RL (Regular Limit) or RL-MKT (Regular Market)RL/RL-MKT
quantityintegerYesQuantity to transact100
pricenumberYesPrice for the order. Must be 0 for RL-MKT type.0

📝Stoploss Leg Object Fields

FieldsTypeRequiredDescriptionExample/ENUM
LegsArrayYesArray of stop loss order legsSee below table

📘 Stoploss_leg → legs Array Object Fields

FieldTypeRequiredDescriptionExample
quantityintegerNoQuantity for the SL leg. Currently ignored by the system — send 00
pricenumberConditionalSL execution price. Required for SL type; send 0 for SL-MKT300
trigger_pricenumberYesPrice at which the stop-loss activates and places the order300

🟢Success Response - 200 Ok

FieldsTypeRequiredDescriptionExample/Enum
StatusStringyesStatus of API Callsuccess
Codestringyescode indicating results-101
messagestringyesHuman-readable message"order Entry Sent to OMS"
datastringyesDetailed result for each cancelled order"NWSYF00006>3"