An API to the Tangle of IOTA

The full article was originally published by tangleMesh on Medium. Read the full article here.

We at tangleMesh try to make life easier for users of the tangle where we can. Besides our Donation button we are proud to offer our second service. An interface to securely, quickly and reliably process IOTA payments via an API.

You can use this service with your own user account at tangleMesh at no additional cost. All you need to do is create one or more API keys to authenticate yourself and you’re ready to go. The same fees apply as for the donation button of approx. 0.8% of the transaction volume on each deposit.

But before we delve deeper into this topic, we would like to explain our vision behind this service and perhaps answer some of your initial questions. For example, what such an API might be needed for, or what advantages it might have for you. Our vision is relatively simple and clear to write down. We want everyone to have easy access to the tangle. It doesn’t matter if it’s an individual, a company or a non-profit organization. Everyone should have access to a DLT under the same conditions and equal opportunities.

But the Tangle is not easy to understand and even harder to use in some context. Especially in existing systems and architectures the Tangle is not always easy to use. Therefore we have committed ourselves as Mission to develop a simple interface and many supporting services. Thus everyone should be able to benefit from the security, stability and functionality of the tangle. This is also possible without your own Full-Node, an RPC-HUB or other special challenges. We want to set the entry hurdles as low as possible. And this is exactly where our services come in.

With a simple API, classic applications and systems can use the tangle without any further effort or setting up new technologies. Our API uses the widespread REST principle in combination with HTTP. This is the basis of many applications on the Internet and can therefore easily be integrated into existing structures. JSON is set as the data exchange format. Version 1.0.0 of our API is now available and ready for use. (The versions of our services are all based on the principle of Semantic Versioning 2.0.0).

In order to be able to communicate with our API, authentication is required for almost all requests. To do this, you must first create a new API key in your dashboard under “Manage -> Users”. To be able to use this key, it must have the status “active”. If this Api key should be denied access, it can simply be set to “inactive”.

The interface of tangleMesh on creating a new api key

Furthermore, some of our endpoints are only available for certain user groups. So there are the groups “root” and “user”. It depends on the purpose of the Api key which of these two roles should be assigned to it. This role can of course also be adjusted afterwards.

Read the full Article

The full article was originally published by tangleMesh on Medium, where people are continuing the conversation by highlighting and responding to this story.

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More