Does API Content Count For SEO

I am thinking about using an API from a content provider on a section of my site.

Just wondering if it would be crawled by search engines?

if it is on your page it will be crawled

Make sure the content is visible in the html code and not inserted via javascript, then you can be assured it will be indexed.

If it is visible on the page the user sees then there is a good chance the search engines will index it, but if it is inserted via javascript then it would not be visible in the code so the search engines would not know about it.