Skip to main content

SPAN MARGIN INFO

This API retrieves the SPAN Margin information for a derivative contract, including initial margin, exposure margin, total margin requirements, and contract value details.

🔗 Path Parameters

ParameterTypeRequiredDescriptionExample
tenantidstringYesUnique id provided for the tenant by SIPL"tenant001"
exchangeSegmentintegerYesExchange Segment ID2
scripTokenintegerYesScrip Token of the derivative contract56838

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample
userIdstringYesUser ID (UCC)"{{user_id}}"

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize request{{x-api-key}}

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescription
statusbooleanStatus of API call
resultobjectSPAN margin details for the specified derivative contract

📦 Result Object Fields

FieldTypeDescriptionExample
Market SegmentstringExchange market segment"NSE_FO"
SymbolstringTrading symbol"NIFTY"
Instrument TypestringInstrument type"FUTIDX"
ExpiryDatestringContract expiry date"27 Jun 2026"
Lot SizeintegerMarket lot size75
Initial Margin LongintegerInitial margin required to buy 1 lot150000
Initial Margin ShortintegerInitial margin required to sell 1 lot155000
Initial Margin % LongintegerInitial margin percentage to buy 1 lot12
Initial Margin % ShortintegerInitial margin percentage to sell 1 lot13
Exposure MarginintegerExposure margin prescribed by the exchange50000
Exposure Margin %integerExposure margin percentage4
Total Margin % LongintegerTotal margin percentage required for buying 1 lot16
Total Margin % ShortintegerTotal margin percentage required for selling 1 lot17
Total Margin LongintegerTotal margin required to buy 1 lot200000
Total Margin ShortintegerTotal margin required to sell 1 lot205000
Total Future Value LongintegerTotal contract value for buying 1 lot1250000
Total Future Value ShortintegerTotal contract value for selling 1 lot1250000
CVFintegerCommon Value Factor1

📝 Notes

  • SPAN Margin information is available only for derivative contracts.
  • The API provides margin requirements for both:
    • Long (Buy) positions
    • Short (Sell) positions