First, this is the first study to evaluate the potential of serum PTX3 as a biomarker for both the diagnosis and prognosis of primary liver cancer, potentially advancing diagnostic and treatment strategies. This evidence concerns the gene PTX3 and liver cancer.