I am looking to purchase an API solution that can provide the closing price of stocks listed on the NSE (National Stock Exchange) or BSE (Bombay Stock Exchange). The requirements are as follows:
The API should accept an ISIN code or stock symbol as input.
It should return the closing price of the specified stock.
Please let me know:
The availability of such an API.
Pricing details and subscription plans.
Documentation or sample endpoint for testing.
Any additional features or limitations related to your service.
For the latest market data, you can also explore the Market Quote API, which provides closing prices within OHLC and Full Market Quotes: Market Quote API.
Additionally, if youâre interested in real-time data, you can use our WebSocket API: WebSocket API.
Key Details:
Availability: Our APIs are highly reliable and offer low latency.
Pricing: We currently do not charge for API usage, but standard brokerage charges apply for orders. You can view the charges here: Brokerage Charges.
Hi Radeep,
Thanks for your quick response.
Please provide me an example of API.
For example, I want to get todayâs closing price of TATAMOTORS on BSE. What will be API?
Hi Shanmu,
Thanks for quick response.
Kindly let me know, how to get â-H âAuthorization: Bearer ââ?
API is returning below errorâŚ
{âstatusâ:âerrorâ,âerrorsâ:[{âerrorCodeâ:âUDAPI100050â,âmessageâ:âInvalid token used to access APIâ,âpropertyPathâ:null,âinvalidValueâ:null,âerror_codeâ:âUDAPI100050â,âproperty_pathâ:null,âinvalid_valueâ:null}]}
Generate Access Token: Finally, refer to Generate Access Token to generate the access token.
Youâll receive the auth code on the Redirect URL during the second step, which youâll need to use in the process of generating an access token in the third step.
It looks like your auth code might have been expired. Could you please regenerate your access token and try again? Let us know in case that doesnât work, thanks.
Hi Ushnota,
I am waiting for your kind reply to the above query. Additionally, I am facing another issue. I am generating an Access_Token from the app, but it expires after one day. Could you suggest a way to validate the Access_Token for at least one month?
No, we donât have such a mechanism and as a standard, the token will be valid maximum for a day. You can refer to this documentation for more info - Get Token | Upstox Developer API
Hi Shanmu,
Thanks for your reply.
When I am trying to generate âExtended Tokenâ API is returning NULL. Please let me know, how to get Extended Token.