read the api