Fix API call for bulk data