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


Leave a Reply

Your email address will not be published. Required fields are marked *

More Interesting Read

How long does it take for bonus shares to get listed after book close date 1
r/NepalStock

How long does it take for bonus shares to get listed after book close date

Can someone please tell me how long (on average) it takes to list the bonus share in nepsetms and mero share after the book close date? For example, STC book close date was on 22nd Mar 2024 but I do not find the listing date anywhere. Thank you. View on r/NepalStock by p_gautam Popular Tags: […]

Read More
Are there any Screener like sites for nepse listed companies? 3
r/NepalStock

Are there any Screener like sites for nepse listed companies?

Are there any websites that shows latest data and provides convenience for fundamental analysis? View on r/NepalStock by anonymoustwenty20 Popular Tags: Companies, sites, Fundamental Analysis, NEPSEListed, Screener Highlights: Why is the banking sector down? When will it bounce bank? Why is no IT companies listed in the stock market in Nepal? Where do all these […]

Read More