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
| Fields | Type | Required | Description | Example |
|---|
| tenantid | string | Yes | Unique id provided for the tenant by SIPL | tenant001 |
| Fields | Type | Required | Description | Example |
|---|
| Authorization | string | Yes | Bearer token for authentication | access_token |
| x-api-key | string | Yes | API key provided | x-api-key |
🔍 Query Parameters
| Fields | Type | Required | Description | Example |
|---|
| userId | string | Yes | User ID (UCC) | {{user_id}} |
📦 Request Body Schema
| Fields | Type | Required | Description | Example |
|---|
| mktSegid | integer | Yes | Market Segment ID | 2 |
| symbol | string | No | Spread symbol provided in the exchange scrip master | NIFTY JUL-AUG SPREAD |
| token | integer | No | Token number received from the Exchange Scrip Master | 87654 |
🟢 Success Response - 200 OK
| Fields | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code | "s-101" |
| message | string | Success message | "Spread scrip details fetched successfully" |
| data | array(array) | List of underlying scrip details mapped to the spread symbol | See Notes |