> API is indeed the correct word to describe a set of functions from a library (built-in or not).
Uncorroborated by WP, note.
> If you disagree perhaps you should share your preferred term here?
Library functions.
“API” meant “library functions” long before the first web server responded with JSON.
“API” meant “library functions” long before the first web server responded with JSON.