Skip to main content

PLACE ORDER API

This API allows you to place a fresh buy or sell order for a given client.

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the requestapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize the request{{x-api-key}}

📑 Request Body Parameters

FieldTypeRequiredDescriptionExample / Enum
client_idstringNoClient ID for placing order. If empty, order is placed for logged-in user"CL12345"
scrip_infoobjectYesScrip details (via token OR full instrument info)Refer below
transaction_typestringYesOrder side (BUY/SELL)"BUY"
product_typestringYesProduct type of the orderRefer global constants
order_typestringYesOrder typeRefer global constants
quantityintegerYesNumber of units to transact10
pricenumberNoPrice per unit100.5
trigger_pricenumberNoTrigger price for SL orders99.5
disclosed_quantityintegerNoQuantity disclosed to market5
validitystringNoOrder validity"DAY"
validity_daysintegerNoValidity for GTD orders2
is_amobooleanNoAMO order flagfalse
order_identifierstringNoCustom identifier (max 10 chars)"ORD123"
part_codestringNoParticipant code"PC001"
algo_idstringNoAlgo ID for strategy orders"ALG123"
strategy_idstringNoStrategy ID"STR001"
vender_codestringNoVendor code for in-house apps"VEN001"

📘 Scrip Info Object Fields

FieldTypeRequiredDescriptionExample / Enum
exchangestringYesExchange segment"NSE_EQ"
scrip_tokenintegerNoExchange token of instrument12345
symbolstringNoInstrument symbol"RELIANCE"
seriesstringNoSeries (equity only)"EQ"
expiry_datestringNoExpiry date (YYYY-MM-DD)"2026-12-31"
strike_pricenumberNoStrike price (options)2500
option_typestringNoOption type"CE"

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-101"
messagestringSuccess message"Order placed successfully"
dataobjectOrder response payloadRefer to Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample
orderIdstringSystem-generated order identifier"ORD00012345"