What is an API?

Applications, Programming, Interfaces

The term API stands for:

Application Programming Interface

Applications, Programming, Interfaces

It's a way for developers to automate systems and software designed to be modular, extendable or integrated into other systems.

Applications, Programming, Interfaces

APIs are the glue that connect modern software and networks.

At its most simple atomic level an API is:

An Interface

One of the best real-world examples of an API that most people have interacted with is the menu and speaker found at any drive-through or fast food restaurant.

What Does an API do?

  • It provides information about what options are available and the status of the system
  • It allows you to make requests and receive predictable responses
  • It reduces transactional friction (self-serve or more)
  • It integrates with an existing system or infrastructure.
"Hello, can I take your order?"
Example of interface showing a fast-food ordering sign with speaker and food options

Now that we better understand what APIs do, what are some more concrete examples? To truly understand APIs you have to consider that there are multiple types of software that all are correctly identifed as APIs. Deep understanding of web technologies allows us to reccomend the most cost effective technologies for each project for existing teams or greenfield projects still in planning.

Three types of APIs:

1. Software:

A library, module or other piece of code published and maintained by a specific organization. It can be included into existing software projects or packages to allow developers to integrate functionality. Developers write software that can call an API, as an example using the Google Maps API to include a dynamic front-end component on any webpage or a backend script that handles image uploads and saves them to AWS S3 buckets.

Examples:

2. Service:

A URL and corresponding servers that execute behavior on behalf of the user. Developers can write code that makes an external request causing the API to perform an action and report back on the outcome. Every API described as a Service is powered by at least one, but sometimes many Applications. Examples include making an API call to a service to send an SMS text message, charge a credit card or add an email to a newsletter subscription list.

Examples:

3. Application:

A collection of code that runs on a server and responds to requests from other systems. Similar to Service above, but this definition specifically refers to either a dedicated interface to data or functionality or an additional interface separate from the main frontend or backend. Applications are the building blocks that power Services. Not every application built with these type of tools is explicitly an API, some offer an API to provide additional customization options (ex: Wordpress) and others are designed to be either standalone APIs (Hapi) or full-blown applications (Laravel, Next.js).

Examples:

Do you know what kind of API you need help with?

Whether you're building software from scratch or extending an existing platform, our experience building new systems and integrating with services can help anticipate problems and improve outcomes.
Contact Us Today to Get Started