Additionally, 70 potential therapeutic drugs for PCOS were predicted, with ibuprofen associated with DDIT3 and IFNG. RT-qPCR validation confirmed the expression trends of key genes IFNG, DDIT3, and APOA1 were consistent with the dataset, and the observed differences were statistically significant (P < 0.05). Here, APOA1 is linked to polycystic ovary syndrome.