NEPSE has changed its API authentication method as of 15 Feb, 2023 (solution posted on GitHub)


A year ago or so, I posted a solution to access nepse API on this sub Reddit. It seems that nepse has pushed some breaking changes in its client side token modifier code making the previous solution not working.

I think some people out here were using it to access the API. I am posting it here so that they can continue doing what they were doing.

This time I used a WASM parser “pywasm” to parse css.wasm file (check nepse website, if you don’t know where this file is) so the solution won’t appear too cryptic.
https://www.github.com/basic-bgnr/NepseUnofficialAPI

(Checkout branch 15_feb_2023)


View on r/NepalStock by basic_bgnr


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, NEPSEListed, sites, Screener, Fundamental Analysis 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