Bypassing the nepalstock.com site API


I am trying to access data here : https://nepalstock.com/company

This is what I see when I inspect in browser.

First the client js (frontend) requests an auth token from https://nepalstock.com/api/authenticate/prove.

I think then, some js code( running on frontend aka client side ) is internally manipulating this first token slightly. Only then the frontend calls this another https://nepalstock.com/api/nots/company/list endpoint with the updated accesstoken.

There are couple of js code I can see when I inspect. But don't know which one is doing the manipulation. Any help with this ?


View on r/NepalStock by Neither_Reception_21



Disclaimer

The information provided in this article is for general informational and educational purposes only. It should not be interpreted as financial, investment, trading, or professional advice. Market data, company announcements, ratings, and analysis may contain errors, may change without notice, and should always be verified directly from official filings, regulatory disclosures, and company press releases.

Investing in the share market, IPOs, FPOs, mutual funds, insurance products, or any financial instruments carries inherent risks. Past performance does not guarantee future results. Readers are strongly encouraged to consult a licensed financial advisor, investment professional, or legal expert before making any investment decisions. This website and its authors are not responsible for any financial losses, decisions, or actions taken based on the information provided.

Scroll to Top