Skip to main content

Brokerage and Charges Page​

This API returns approximate brokerage and statutory charges applicable on an order before it is sent to the exchange, as per SEBI circular. These charges are useful for pre-trade transparency and must be displayed to the user.

Note The entire request string must be Base64-encoded before sending via the enct parameter. Do not include whitespace from line breaks.

🔗HTTP Request​

GET http://DOMAIN/newnetnet/BrokerageDetails.aspx?type=1&enct=<Base64_Encoded_String>

🔍Query Parameters​

ParameterTypeRequiredDescriptionExample
typeintegerYesAlways 1 for standard requests1
enctstringYesBase64-encoded string of all required order parameters as a query stringUHJvZHVjdD1XQVZFMiZ...

🔐Fields in Base64-encoded Query String​

FieldTypeRequiredDescriptionExample
ProductstringYesProduct source IdentifierWAVE2
ThemestringNoUI theme usedL
UserIdstringYesUser IDAPITEST
GroupIdstringYesGroup/Branch IdentifierHO
MktSegmentIdintegerYesMarket Segment ID2
SeriesstringNoSeries of the scrip (usually equity symbol series)XX
ProductTypestringYesProduct typeCARRYFORWARD, DELIVERY, INTRADAY
TransactionTypeintegerYes1 = Buy, 2 = Sell1
QuantityintegerYesQuantity of the order250
PricefloatFloatOrder price (₹)26.50
BrokeragefloatYesBrokerage amount (from GetOrderMarginInfo API)20.50
LegIndicatorintegerYesOrder type: 1 = Normal, 4 = Spread, 5 = 2-Leg, 6 = 3-Leg1
SessionIdstringYesUser's trading session ID (from login/session API)0x011017F506627E18C2FC2952D6937C
InstrumentstringYesInstrument typeFUTSTK, EQ, OPTIDX
PriceLocatorintegerYesUse 1 normally. For commodities, calculate using (PriceNum / PriceDen) * (nAVMBuyMargin / nAVMSellMargin)1

🟢Response - 200 Ok​

⚠️Notes:

  • This API helps you see estimated charges before placing an order.
  • It's like a "preview bill" showing how much you'll pay including taxes, fees, and brokerage.
  • Make sure the values are Base64 encoded — otherwise, the request won't work.
  • Always use Brokerage value from GetOrderMarginInfo API to match real-time cost estimates.
  • Integrate with ScripInfo API for commodity segments when needed.