Skip to content

Current Price

This endpoint supports instruments from NSE, BSE, and MCX. Always pass the exchange query parameter explicitly. If omitted, the backend currently defaults to NSE.

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

Base URLs

Environment Base URL
PROD https://api.nubra.io
UAT https://uatapi.nubra.io

Example cURL Requests

curl --location 'https://api.nubra.io/optionchains/NIFTY/price?exchange=NSE' \
--header 'x-device-id: TS123' \
--header 'Authorization: Bearer eyJh...6Pno'
curl --location 'https://api.nubra.io/optionchains/SENSEX/price?exchange=BSE' \
--header 'x-device-id: TS123' \
--header 'Authorization: Bearer eyJh...6Pno'
curl --location 'https://api.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 Yes Exchange for the instrument: NSE, BSE, or MCX. Pass it explicitly for every request.

If exchange is omitted, the backend currently defaults to NSE. For BSE or MCX instruments, omitting it can result in an exchange-specific lookup error.


Example Endpoints

  • NSE

    optionchains/NIFTY/price?exchange=NSE
    

  • 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,
  "indicative_close_price": 2574000
}

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
indicative_close_price Optional indicative close price for applicable NSE and BSE cash-market instruments. Returned only when provided by the exchange, such as during an indicative or special market session.

Notes

  • Authentication via Authorization and x-device-id headers is mandatory.
  • Always pass exchange explicitly, even for NSE requests.
  • indicative_close_price is currently applicable to eligible NSE and BSE cash-market instruments and is omitted when no indicative close price is available.
  • 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.
NEO Assistant