The results showed that eight key genes (NUAK2, TNFRSF10B, TNFRSF10C, TNFRSF12A, UNC5B, and PMAIP1) exhibited good diagnostic performance in differentiating between thyroid cancer patients and controls. Here, TNFRSF12A is linked to thyroid cancer.