Skip to main content

Span Margin Info

This API retrieves detailed SPAN margin information for a derivative contract based on the scrip token and exchange segment.

🛣️Path Parameters

ParameterTypeRequiredDescriptionExample/ENUM
tenantIdstringYesUnique tenant identifiertenant123
exchangeSegmentintegerYesExchange segment ID (e.g., NSE: 1, BSE: 2)"1"
scripTokenintegerYesToken of the derivative scrip (as per exchange scrip master)58964

🔑Header Parameters

HeaderTypeDescriptionExample
AuthorizationstringBearer token for API accessaccess-token
x-api-keystringAPI provided for authorizationx-api-key

🟢Success Response - 200 Ok

FieldTypeDescriptionExample/ENUM
statusbooleanIndicates if the API call was successfultrue
resultobjectContains SPAN margin detailsSee details below

📑 Result Object Info Fields

FieldTypeDescriptionExample/ENUM
Market SegmentstringName of the exchange market segmentNSE F&O
SymbolstringSymbol code of the contract as per scrip masterINFY
Instrument TypestringType of instrument"FUTSTK"
ExpiryDatestringExpiry date of the contract (format: dd MMM yyyy)30 Jun 2025
Lot SizeintegerNumber of units per lot50
Initial Margin LongintegerInitial margin (in ₹) to buy 1 lot22000
Initial Margin ShortintegerInitial margin (in ₹) to sell 1 lot22500
Initial Margin % LongintegerMargin % required to buy15
Initial Margin % ShortintegerMargin % required to sell16
Exposure MarginintegerAbsolute exposure margin (in ₹)3000
Exposure Margin %integerExposure margin percentage2
Total Margin % LongintegerTotal % margin for long positions17
Total Margin % ShortintegerTotal % margin for short positions18
Total Margin LongintegerTotal ₹ margin required to buy 1 lot25000
Total Margin ShortintegerTotal ₹ margin required to sell 1 lot26000
Total Future Value LongintegerContract value for buying (₹)150000
Total Future Value ShortintegerContract value for selling (₹)150000
CVFintegerCommon Value Factor (used in contract valuation)100
get/nontransactional/{tenantid}/v1/getSpanMargin/{exchangeSegment}/{scripToken}