The OpenNode API: The most powerful in Bitcoin3 min read

April 10, 2019 3 min read


The OpenNode API: The most powerful in Bitcoin3 min read

Reading Time: 3 minutes

We built OpenNode from the ground up with developers in mind. We build a robust, yet simple API because we want to make sure that anyone who wants to build on Bitcoin can do so with ease. Our interactive documentation portal now makes it easier than ever to use our API, and it is now mobile friendly. Our improved docs also include a new guides section and a simulation web hook tool. Here’s what you need to know before you dive in to your terminal and start using our API.

Developer environments

OpenNode has two separate environments for developers to work in, development and production. It is important to design and test your tools within the development environment. This environment is perfect to catch bugs with because it runs on Bitcoin’s testnet. The production environment is on Bitcoin’s mainnet. Only tested apps are ready for the production environment. Find the key differences between the environments listed below:

Testnet vs Mainnet

Once you’re sure that your app is ready for the production environment, you are ready for the final step. All you have to do is change your API keys and the API URLs listed above from development to production.

API with multi-language support

Javascript Code
Javascript Code. Image by Marcus Spiske on Unsplash

We provide libraries for the following languages/frameworks: PHP and NodeJS. Other developers in the community have created other non-official libraries for Java, Elixir, Haskell, and Scala. We don’t officially support or maintain these libraries, so please use them at your own discretion. Don’t code in those languages? No worries. We offer a RESTful API. All you need to do is implement a few HTTP calls and you’re good to go. You don’t need a library for your language to build on OpenNode; it only makes it a bit easier.

We intend to develop more language support as we grow. If you would like to see an more languages supported please contact us at support@opennode.co.

Guides and Debugging

Our new guides section helps you learn how to debug your code should anything go wrong with receiving or paying with Lightning. Each guide has examples to help you find the code you need to iron out the kinks in your site.

OpenNode documentation portal with Guides
Our new documentation portal. The guides section is in red.

SegWit and Lightning enabled

We fully support the latest Bitcoin technologies, including segregated witness (SegWit) and the Lightning Network. We are always testing new features and protocols in Bitcoin to stay on the bleeding edge. It is our goal to provide a secure platform to build with the latest and greatest tools in Bitcoin.

The simplest, most powerful API in Bitcoin

Our API is the simplest and most powerful Bitcoin on-chain/Lightning tool for accepting Bitcoin. Our concise documentation, Testnet development environment, and full programatic access to your Bitcoin stand us apart from our competition. Experience full programatic access to your Bitcoin through our API.

Now that you have a few simple answers about our developer tools, you’re ready to dive into our new documentation page. We’re excited to see what you build!