How to load dynamic content into a theme extension?

I’m still getting acquainted with the shopify development environment (and shopify apps in general) so this may be a dumb question. Is there a way to dynamically load content to a theme extension? I want to make a call to an external api that returns some basic content and then display that in the extension.

Any help would be greatly appreciated. Thanks!