I imagine, the API is being used as a datasource for a repeating group. The API is called as soon as the repeating group loads, if you can condition the repeating group to show hwn the user has typed a couple characters or on the press of the search button, you can avoid an empty call (which then takes the initialization value). Alternatively, you can also set a conditional source on the repeating group, switch the API data source when the search input box is not empty.