Application Programming Interface (API)

Funny illustration glossary
Because apps can’t just walk over and ask each other for data, they need a go-between.

An API is a set of rules and protocols that allows one software program to interact with another. Think of it as a bridge that lets different apps or systems "talk" to each other. For example, when you use an app to check the weather or pay through PayPal, the app communicates with a server via an API to retrieve or send data.

What is API in simple terms?

In simple words, an API is like a waiter in a restaurant. You (the user) tell the waiter (the API) what you want, and the waiter brings it from the kitchen (the server). APIs make it easy for apps to get data from other services without having to know how everything works behind the scenes.

What is an example of an API?

A common example of an API is the Google Maps API, which allows developers to integrate Google Maps into their apps or websites. When you see a map embedded on a website showing a location, that’s the Google Maps API in action, delivering map data without you leaving the page.

What is the difference between UI and API?

A UI (User Interface) is what users interact with directly - buttons, forms, menus - while an API is a backend tool that allows applications to communicate with each other. Essentially, the UI is for humans, while the API is for machines.

Is ChatGPT an API?

Yes! ChatGPT can be used as an API. Developers can integrate the ChatGPT API into their own applications, websites, or services to provide AI-powered responses, just like you’re seeing here.