Loading data from the new API endpoint