trying to get data from database apis

completed partialy