call api to retrieve info