Current Price¶
This endpoint supports instruments from NSE, BSE, and MCX. If exchange is omitted, use NSE as the default.
The Current Price API provides the latest market price snapshot for a given instrument or index across supported exchanges.
Method: GET
Endpoint: optionchains/{instrument}/price
Example cURL Requests¶
curl --location 'https://uatapi.nubra.io/optionchains/NIFTY/price' \
--header 'x-device-id: TS123' \
--header 'Authorization: Bearer eyJh...6Pno'
curl --location 'https://uatapi.nubra.io/optionchains/SENSEX/price?exchange=BSE' \
--header 'x-device-id: TS123' \
--header 'Authorization: Bearer eyJh...6Pno'
curl --location 'https://uatapi.nubra.io/optionchains/FUT_CRUDEOIL_20260618/price?exchange=MCX' \
--header 'x-device-id: TS123' \
--header 'Authorization: Bearer eyJh...6Pno'
Path Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| instrument | string | Yes | Trading symbol of the instrument or index (e.g. NIFTY, RELIANCE, BANKNIFTY) |
Query Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| exchange | string | No | Exchange for the instrument. Defaults to NSE. Supported values: BSE, MCX |
⚠️ When
exchangeisNSEor not provided, the default endpoint is used without query parameters.
Example Endpoints¶
-
NSE (default)
optionchains/NIFTY/price -
BSE
optionchains/SENSEX/price?exchange=BSE -
MCX
optionchains/FUT_CRUDEOIL_20260618/price?exchange=MCX
Response Structure¶
{
"message": "current price",
"exchange": "NSE",
"price": 2575555,
"prev_close": 2572755,
"change": 0.10883275
}
Response Attributes¶
| Field | Description |
|---|---|
| message | Description of the response |
| exchange | Exchange of the instrument |
| price | Latest traded price of the instrument (integer, exchange price units) |
| prev_close | Previous closing price of the instrument |
| change | Percentage change from previous close |
Notes¶
- Authentication via
Authorizationandx-device-idheaders is mandatory. - NSE is used by default when
exchangeis not specified. - This API returns a snapshot of the current price.
- The response format is uniform across all instruments and indices.
- Price values are returned in exchange-defined integer units.
- Prices are subject to market availability and exchange rules.