How to create awesomplete list with data from an external API

Hi there!
I want to create such list(shown in the screenshot). But I want to insert data from a different API endpoint using fetch API e.g: I can’t save the data from the API endpoints into MariaDB because the data is sensitive. Is there any way to achieve this using js or jsquery?

Screenshot from 2023-02-13 11-58-04