An Application Programming Interface, or API, is a tool that makes it easier for developers to access software from another application.
Browser APIs provide developers with access to information that the browser can access from users’ computer.
Third-party APIs are apps that provide some type of functionality or information from a third-party, usually a company.
For example, the OpenWeather API is a third-party API that provides in-depth weather information.
Third-party APIs provide documentation for how to properly use their API.
Some third-party APIs require a unique API key that is given to a developer to interact with the API. These API keys are secret and should NOT be shared.
When a successful request is made to an API, data is sent back.
Many APIs format their data using JSON, and it is up to developers to decide how to consume it.