Through network pharmacology analysis, we revealed that SMs of Crataegus pinnatifida and obesity-related gut microbiota could target obesity by interacting with PIK3R1, PIK3CB, SRC, PIK3CA and PIK3 CD. The gene discussed is PIK3CB; the disease is obesity disorder.