An API, or application programming interface, is a set of defined requests that lets one piece of software talk to another. An HR system's API might let a company read headcount into a dashboard or create employees from another system. Useful APIs come with documentation, authentication, versioning rules, rate limits and a safe place to test.
In plain words
A way for other software to read from and write to a system automatically.
Example
A company's data team pulls headcount and attrition figures nightly through the HR system's API into its own dashboard. They authenticate with a key, page through results in batches, and test changes in a sandbox first, because a mistaken write to the live system would change real employee records.
Illustrative figures, not a statutory calculation.