Skip to main content
Definition Website Computer and Technology

Application Programming Interface

Subject: Computer and Technology noun /ˌæp.lɪˈkeɪ.ʃən ˈproʊ.ɡræm.ɪŋ ˈɪn.tər.feɪs/ 1 definition

  1. Definition (noun)

    Entry #1 · Updated

    An Application Programming Interface (API) is a formalized set of definitions, protocols, and conventions that allows different software components or systems to interact with one another. It establishes a strict contract—specifying the exact operations a caller can invoke, the required input formats, and the expected outputs—while abstracting away internal implementation details. By decoupling consumers from underlying codebases, APIs enable modular software design, third-party service integration, and controlled access to operating system, library, or network capabilities.

    Common Types

    • Web APIs: Interfaces exposed over HTTP or HTTPS—commonly using architectural styles such as REST or GraphQL—that allow clients and servers to exchange structured payloads like JSON.

    • Library and Framework APIs: Collections of functions, classes, and methods exposed by a software package so developers can reuse built-in functionality directly within their own codebase.

    • Operating System APIs: Low-level system calls and interfaces, such as POSIX or the Windows API, that grant user-space applications controlled access to hardware, memory, and file systems.

    • Remote Procedure Call (RPC) APIs: Network interfaces such as gRPC that let a client execute a function on a remote server as if it were a local call, typically using compact binary serialization.

    Example

    When a ride-sharing mobile app renders a live route map, it sends an HTTPS GET request containing geographic coordinates and an API key to a mapping provider's REST API. The provider's server validates the request and returns structured JSON with turn-by-turn directions without exposing its internal routing algorithms or proprietary database.