Microbial cytochrome P450 enzymes (CYPs) are able to mimic the metabolism of human CYPs. One challenge is to identify the respective drug metabolites and to compare substrate specificities to those of the human enzymes. In this study, a class VIII self-sufficient CYP from Aspergillus fumigatus (CYP505X) and variants of this enzyme were heterologously expressed in E. coli. The substrate scope of the variants was determined using active pharmaceutical ingredients (APIs) and (hetero)cyclic compounds. Capsaicin – the active compound in chili peppers – was oxidized most efficiently (4.36 μM/min) in a whole cell mediated biotransformation. The products were isolated, purified and their structures elucidated by 1D and 2D NMR. The two major metabolites showed modifications on the lipophilic side chain. Specifically, capsaicin was hydroxylated at position 8 to give (E)-8-hydroxy-N-(4-hydroxy-3-methoxybenzyl)-8-methylnon-6-enamide and epoxidized at the double bond to give N-(4-hydroxy-3-methoxybenzyl)-5-(3-isopropyloxiran-2-yl)-pentanamide.