Skip to main content

GET SCRIP FOR SECOND LEG

This API is used to fetch available scrip details for constructing the second leg of a multileg/spread order.

It provides instrument metadata such as token, lot size, strike price, expiry, and option type.

🔗 Path Parameters

ParameterTypeRequiredDescriptionExample
tenantidstringYesUnique id provided for the tenant by SIPL"TENANT123"

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token{{access_token}}
x-api-keystringAPI key{{x-api-key}}

📑 Request Body Parameters

FieldTypeRequiredDescriptionExample / Enum
mktSegidintegerYesMarket segment ID1
symbolstringYesSymbol name"NIFTY"
instrumentstringYesInstrument type"OPTIDX", "FUTIDX"
strikepriceintegerNoStrike price18000
optiontypestringNoOption type"CE", "PE"
expiryDatestringYesExpiry date"2026-06-25"

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"Scrip details fetched successfully"
dataarrayList of matching scripsRefer Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample / Enum
nTokenintegerScrip token12345
sSymbolstringSymbol"NIFTY"
nRegularLotintegerLot size50
nPriceTickintegerPrice tick size5
sSeriesstringSeries"EQ"
sSecurityDescstringSecurity description"NIFTY 18000 CE"
sInstrumentNamestringInstrument name"OPTIDX"
nExpiryDateintegerExpiry timestamp1718928000
nPriceBdAttributeintegerPrice attribute0
nStrikePriceintegerStrike price18000
sOptionTypestringOption type"CE", "PE"
nFIILimitintegerFII limit1000
nNRILimitintegerNRI limit500