Skip to main content

GET SCRIP FROM SPREAD SYMBOL

This API retrieves the underlying scrip details associated with a Spread Symbol.

The API can be used to identify the individual contracts and instruments that make up a spread instrument using either the spread symbol or spread token.

🔗 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
symbolstringNoSpread symbol provided in the exchange scrip masterNIFTY JUL-AUG SPREAD
tokenintegerNoToken number received from the Exchange Scrip Master87654

🟢 Success Response - 200 OK

FieldsTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"Spread scrip details fetched successfully"
dataarray(array)List of underlying scrip details mapped to the spread symbolSee Notes