Introducing the NodeJS SDK for Dhan's Open Source APIs

Empowering Developers and Traders: Introducing the NodeJS SDK for Dhan’s Open Source APIs

In the world of open-source software, collaboration, and innovation converge to shape the future of technology. It is within this vibrant ecosystem that I had the privilege to contribute to Dhan’s open-source APIs, a journey that led to the creation of the much-awaited NodeJS Software Development Kit (SDK). This SDK not only bridges the gap for developers but also empowers traders with a seamless integration of Dhan’s APIs onto the NodeJS applications.

Since a lot of developers like me were having the hindrance of not having a NodeJs SDK, I took the responsibility of reimagining the DhanHQ SuperFast Trading APIs from Python into NodeJS. The transition from the Python API to NodeJS was not just a technical endeavor but a testament to the open source spirit: collaboration, openness & unity.

I hope that this SDK will be immensely helpful to Dhan’s diverse community of developers and traders.

Here are the guidelines for its implementation:

  • In the dhan-oss, you can now see an additional repository of NodeJS.
  • Users can install the package directly on the system with ease and start communicating with the Dhan APIs within minutes.

An important question: Why NodeJS?

NodeJS is a cross-platform, open-source server environment that can run on Windows, Linux, Unix, and macOS. It provides cross-platform applications which run easily on any web. Node JS SDK has all the necessary methods to access the DhanHQ API, with this library, it helps you to remove the step of adding and running individual APIs in your codebase. To integrate with Dhan HQ using the package, you will need node version 12.0.0 or above.

Please feel free to add your contribution to the SDK as well. For more details check here: GitHub - dhan-oss/DhanHQ-js: NodeJS client for communicating with the DhanHQ API.

I would like to express my sincere gratitude to Dhan for providing me with the opportunity to contribute to this remarkable project. Their unwavering support, encouragement, and belief in the open-source philosophy have been instrumental in bringing this NodeJS SDK to life.

~ Vinay S


Hey @vinay_sd17

Glad to have our first community contributed library for DhanHQ APIs. Looking forward to having more tech enthusiasts like you building amazing tools on top of the API stack :rocket: