An application programming interface (API) is software that acts as an intermediary between two programs, helping them exchange information.