Load data from an API