One wonders what overly-narrow definition of API you're stuck on.

One wonders why you wonder.

https://en.wikipedia.org/wiki/API