Skip to main content

Brokerage and Statutory charges

This API provides the brokerage and all applicable statutory charges (e.g. STT, GST, SEBI charges) for a given order. Configuration is based on ODIN Admin settings.

Note⚠️

This API is not for multileg orders. Use this only for single-leg orders.

🔑Header Parameters

HeadersTypeRequiredDescriptionExample/ENUM
AuthorizationstringYesBearer token for authenticationBearer {{access_token}}
x-api-keystringYesAPI key for access{{x-api-key}}
Content-TypestringYesRequest formatapplication/json

📦Request Body Schema

FieldTypeDescriptionExample/ENUM
marketSegmentIdintegerExchange segments ID1
seriesstring"EQ" for equities; for others use "XX" or leave blank"EQ", "XX"
productTypestringType of order productMARGIN, DELIVERY, CARRYFORWARD, etc.
transactionTypeinteger1 = Buy, 2 = Sell1
quantityintegerOrder quantity100
pricefloatOrder price per unit (in ₹)253.75
brokeragefloatValue from GetOrderMarginInfo API20.00
legIndicatorinteger1 = Normal (for single-leg orders only)1
instrumentstringInstrument typeEQUITIES, FUTSTK, OPTSTK
priceLocatorintegerAlways 1, unless handling commodities (special calculation logic applies)((PriceNum / PriceDen) * (nAVMBuyMargin / nAVMSellMargin)) And for NCDEX as: (PriceNum / PriceDen) These values are available with ScripInfo API calls.1

🟢Success Response - 200 Ok

FieldTypeDescriptionExample/ENUM
statusstringStatus of the API call"success"
codestringResponse code"s-101"
messagestringResponse message"Success"
dataobjectContains all brokerage and statutory charge detailsSee below table

📝Brokerage details Object Fields

FieldTypeDescriptionExample/ENUM
orderValueintegerCalculated total value of the order25375.00
totalBrcokerageAndChargesintegerSum of all charges and taxes30.65
brokerageintegerBrokerage charged for the order20.00
securitiesTransactionTaxintegerSTT applicable5.07
transactionChargesintegerExchange transaction charges1.10
gstintegerGoods & Services Tax (GST)2.45
stampDutyintegerStamp duty on the transaction0.78
sebiChargesintegerSEBI charges0.20
dpChargesintegerDP (Depository Participant) charges (if applicable)0.00
clearingChargesintegerCharges for clearinghouse processing1.05

💬Notes:

  • Use this API to pre-calculate all charges for a given order before placing it.
  • Integrates well with GetOrderMarginInfo for end-to-end margin + cost computation.
  • Helps in displaying cost breakdown to users before order execution.
post/transactional/v1/brokerage-and-charges