Often, an API is considered a backend component. And, for example, a database can also be considered as another backend component. The APIs you are referring to here are Web APIs, so they can be considered as backend components.