In conclusion, NCKAP1 and SLC7A11 are promising prognostic and diagnostic biomarkers for GC, which correlate with the activities of actin, energy metabolism of GTPase, immune infiltration and immunotherapy. Here, SLC7A11 is linked to gastric cancer.