Application Programming Interfaces (APIs) are constructs made available in programming languages to allow developers to create complex functionality more easily. They abstract more complex code away from you, providing some easier syntax to use in its place.
As a real-world example, think about the electricity supply in your house, apartment, or other dwellings. If you want to use an appliance in your house, you simply plug it into a plug socket and it works. You don't try to wire it directly into the power supply β to do so would be really inefficient and, if you are not an electrician, difficult and dangerous to attempt. - MDN

Basically, an API allows you to exchange data or information from one end to another.
Client-side JavaScript, in particular, has many APIs available to it β these are not part of the JavaScript language itself, rather they are built on top of the core JavaScript language. They generally fall into two categories:
These are built into your web browser and are able to expose data from the browser to do useful complex things with it.
These are not built into the browser by default, and you generally have to retrieve their code and information externally from somewhere on the Web. You can do complex things with this too.
See a full list of them here
Let's turn this into an educative thread, looking forward to learning from all your comments :)
Web Audio API ? No π What category will a RESTful API built with NodeJs fall?
Web Audio API is cool, you should check it out.
Any API that does not belong to the default browser APIs is a third-party API.
Danford Kija
#dev #kijacode
thanks bro and that's cool i was not aware of Categories of Api