APIs
In short: APIs (application programming interfaces) are interfaces through which programs use functions and data of other programs.
In more detail: A web API is addressed via HTTP, mostly in JSON format.
In Depth
Types
REST, GraphQL, SOAP, WebSocket. Plus library APIs in programming languages.
Securing
Authentication via API key or token (JWT), rate limiting, versioning. See API, JSON.