preferred location apis