What is an API?

DefinitionAn 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. Common design styles include 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 or token to identify and authorize the program making the request.

API resources

Topic: 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/.

HTML link
<a href="https://glossary.io/application-programming-interface/">What is an API?</a>

Published