BackgroundThe Y-box-binding proteins (YBX) act as a multifunctional role in tumor progression, metastasis, drug resistance by regulating the transcription and translation process. Nevertheless, their functions in a pan-cancer setting remain unclear.MethodsThis study examined the clinical features expression, prognostic value, mutations, along with methylation patterns of three genes from the YBX family (YBX1, YBX2, and YBX3) in 28 different types of cancer. Data used for analysis were obtained from Cancer Genome Atlas (TCGA) and Genotype-Tissue Expression (GTEx) databases. A novel YBXs score was created using the ssGSEA algorithm for the single sample gene set enrichment analysis. Additionally, we explored the YBXs score’s association with the tumor microenvironment (TME), response to various treatments, and drug resistance.ResultsOur analysis revealed that YBX family genes contribute to tumor progression and are indicative of prognosis in diverse cancer types. We determined that the YBXs score correlates significantly with numerous malignant pathways in pan-cancer. Moreover, this score is also linked with multiple immune-related characteristics. The YBXs score proved to be an effective predictor for the efficacy of a range of treatments in various cancers, particularly immunotherapy. To summarize, the involvement of YBX family genes is vital in pan-cancer and exhibits a significant association with TME. An elevated YBXs score indicates an immune-activated TME and responsiveness to diverse therapies, highlighting its potential as a biomarker in individuals with tumors. Finally, experimental validations were conducted to explore that YBX2 might be a potential biomarker in liver cancer.ConclusionThe creation of YBXs score in our study offered new insights into further studies. Besides, YBX2 was found as a potential therapeutic target, significantly contributing to the improvement of HCC diagnosis and treatment strategies.