API security is the set of controls that protect application programming interfaces, which let software systems exchange data and actions. Because APIs often expose the same business functions used by web and mobile apps, they can become a direct path to sensitive accounts, transactions, and records if they are not properly protected.
It matters in cyber security because attackers frequently target APIs for weak authentication, broken authorization, excessive data exposure, and abuse such as credential stuffing or automated scraping. Defenses typically include strong authentication, token validation, least-privilege access, input validation, rate limiting, schema checks, logging, and anomaly detection. In edge and cloud environments, API security is often combined with bot management and DDoS protection so defenders can block misuse before requests reach core systems.


