Five key genes-ITGAM, TLR4, MMP9, STAT3, and TLR2-were identified as significantly dysregulated in AIS and showed good diagnostic performance. Here, STAT3 is linked to androgen insensitivity syndrome.