Calling external Javascript API

Check —> wix-fetch and http-functions.
Perhaps also this post here will help you to understand it a little bit more…