Complete database api requests