Definition
An API specifies the requests a program can make to another service and the responses it will receive. Developers use APIs to connect payment systems, maps, weather data and many other services to their own applications.
APIs are usually accessed over HTTP with formats such as JSON. They often require credentials, such as an API key, and enforce rate limits.
When using a third-party API, read its terms, store credentials securely and handle errors gracefully.