Codecademy Logo

APIs and HTTP Requests

Application Programming Interface

An Application Programming Interface, or API, is a tool that makes it easier for developers to access software from another application.

Browser APIs

Browser APIs provide developers with access to information that the browser can access from users’ computer.

Third-Party APIs

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.

API Documentation

Third-party APIs provide documentation for how to properly use their API.

API Keys

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.

API Response Data

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.