What Is Decentralized API (dAPI) ? with Difference between centralized and decentralized API example

 What Is  Decentralized API (dAPI)?

APIs are the backbone of the new digital economy, serving as a fundamental component of digital solutions and the focal point of the API Economy. 


APIs have been centralized for a long time, however, many decentralized platforms use blockchain technology to provide completely decentralized APIs.


 A great example of it is decentralized apps (dApps) that work on a decentralized system, thanks to dAPIs. While dAPIs are comparable to conventional APIs in terms of functionality, legacy APIs are centralized and not inherently compliant with blockchain technology. 


To understand decentralized APIs you have to understand what an API is:


An Application Programming Interface (API) is a well-defined and well-documented mechanism that allows web and mobile apps to communicate with one another by transferring data and services. 


Online companies can now provide their data and services as marketable service modules through an API, which developers can subsequently incorporate into their apps. This enhances the efficiency of software development in terms of both cost and time. 


When compared to the days when developers had to design every feature of their program from scratch, it is easy to see why APIs have become the most important building blocks in the digital world.



Difference between centralized and decentralized APIs


The API gateway in a decentralized system redirects queries to other API endpoints, which may be the backend of an application or a public API of the app's trading partner.


 At runtime, the API gateway is in charge of handling the appropriate protocol, security, and data conversions.

The data is gathered in a central data store, which is part of the API platform, in a centralized arrangement. Through asynchronous connections, this central data store maintains near real-time bi-directional synchronization with the linked backend applications and business partners. 


The API queries are sent straight to the central data storage in this situation.

Post a Comment

Previous Post Next Post