improvement apiCall