Skip to main content

GET SCRIP FOR SECOND LEG

This API retrieves the corresponding scrip details for the second leg of a strategy or multi-leg order based on the contract parameters provided.

The response includes token, lot size, strike price, option type, expiry details, and other contract-specific attributes required to construct the second leg.

🔗 Path Parameters

FieldsTypeRequiredDescriptionExample
tenantidstringYesUnique id provided for the tenant by SIPLtenant001

🔑 Header Parameters

FieldsTypeRequiredDescriptionExample
AuthorizationstringYesBearer token for authenticationaccess_token
x-api-keystringYesAPI key providedx-api-key

🔍 Query Parameters

FieldsTypeRequiredDescriptionExample
userIdstringYesUser ID (UCC){{user_id}}

📦 Request Body Schema

FieldsTypeRequiredDescriptionExample
mktSegidintegerYesMarket Segment ID2
symbolstringYesSymbol code provided in exchange scrip master fileNIFTY
instrumentstringYesInstrument type of the contractOPTIDX
strikepriceintegerNoStrike price of the contract in paise2500000
optiontypestringNoOption typeCE
expiryDatestringNoExpiry date of the contract2026-07-30

🟢 Success Response - 200 OK

FieldsTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"Scrip details fetched successfully"
dataobjectScrip details for the second legSee below table

📘 Data Object Fields

FieldsTypeDescriptionExample
nTokenintegerToken number received from Exchange Scrip Master56838
sSymbolstringSymbol code provided in exchange scrip master"NIFTY"
nRegularLotintegerRegular lot size50
nPriceTickintegerPrice tick5
sSeriesstringSeries to which the scrip belongs"EQ"
sSecurityDescstringSecurity description"NIFTY JUL 25000 CE"
sInstrumentNamestringInstrument name"OPTIDX"
nExpiryDateintegerExpiry date of the contract20260730
nPriceBdAttributeintegerPrice band attribute0
nStrikePriceintegerStrike price of the contract in paise2500000
sOptionTypestringOption type"CE"
nFIILimitintegerFII limit100
nNRILimitintegerNRI limit100