Pharmaceuticals released into the aquatic and soil environments can be absorbed by plants and soil organisms, potentially leading to the formation of unknown metabolites that may negatively affect these organisms or contaminate the food chain. The aim of this study was to identify pharmaceutical metabolites through a triplet approach for metabolite structure prediction (software-based predictions, literature review, and known common metabolic pathways), followed by generating in silico mass spectral libraries and applying various mass spectrometry modes for untargeted LC-qTOF analysis. Therefore, Eisenia fetida and Lactuca sativa were exposed to a pharmaceutical mixture (atenolol, enrofloxacin, erythromycin, ketoprofen, sulfametoxazole, tetracycline) under hydroponic and soil conditions at environmentally relevant concentrations. Samples collected at different time points were extracted using QuEChERS and analyzed with LC-qTOF in data-dependent (DDA) and data-independent (DIA) acquisition modes, applying both positive and negative electrospray ionization. The triplet approach for metabolite structure prediction yielded a total of 3762 pharmaceutical metabolites, and anin silico mass spectral library was created based on these predicted metabolites. This approach resulted in the identification of 26 statistically significant metabolites (p < 0.05), with DDA + and DDA - outperforming DIA modes by successfully detecting 56/67 sample type:metabolite combinations. Lettuce roots had the highest metabolite count (26), followed by leaves (6) and earthworms (2). Despite the lower metabolite count, earthworms showed the highest peak intensities, closely followed by roots, with leaves displaying the lowest intensities. Common metabolic reactions observed included hydroxylation, decarboxylation, acetylation, and glucosidation, with ketoprofen-related metabolites being the most prevalent, totaling 12 distinct metabolites. In conclusion, we developed a high-throughput workflow combining open-source software with LC-HRMS for identifying unknown metabolites across various sample types.