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



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