get info from API url