---
title: "What is an API?"
term: "API"
description: "An application programming interface (API) is a defined set of rules that lets one piece of software request data or services from another without needing to know how the other system works internally."
url: "https://glossary.io/application-programming-interface/"
published: "2026-11-22T20:48:37.058Z"
updated: "2026-11-22T20:48:37.058Z"
aliases:
  - "Application programming interface"
topics:
  - "Web development"
wikidata: "https://www.wikidata.org/wiki/Q165194"
---

# What is an API?

**Definition:** An application programming interface (API) is a defined set of rules that lets one piece of software request data or services from another without needing to know how the other system works internally.

**Also known as:** Application programming interface

An API acts as a contract between two programs. The system that provides it documents which requests it accepts and what it returns, and other programs use those requests to get data or trigger actions. On the web, APIs usually work over HTTP: a client sends a request to a URL and receives data in return, often formatted as [JSON](https://glossary.io/json/). Common design styles include [REST](https://glossary.io/rest/) and GraphQL.

APIs let services work together. A site can show a map from another provider, take payments, send email or publish to social networks by calling those services' APIs. Browsers also offer APIs to JavaScript, for features such as storage, location and notifications. Many APIs require an [API key](https://glossary.io/api-key/) or token to identify and authorize the program making the request.

## API resources

- [API on Wikipedia](https://en.wikipedia.org/wiki/API)

## Related terms

- [API key](https://glossary.io/api-key/)
- [JSON](https://glossary.io/json/)
- [headless commerce](https://glossary.io/headless-commerce/)
- [NeverBounce](https://glossary.io/neverbounce/)
- [OAuth 2.0](https://glossary.io/oauth-2-0/)
- [REST](https://glossary.io/rest/)

**Topic:** [Web development](https://glossary.io/topics/web-development/)

## Cite this definition

- APA: What is an API? (2026, November 22). Glossary. https://glossary.io/application-programming-interface/
- MLA: “What Is an API?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/application-programming-interface/.
- Chicago: “What Is an API?” Glossary. Coywolf. November 22, 2026. https://glossary.io/application-programming-interface/.

Published November 22, 2026.
