Immune checkpoint inhibitors (ICI) have emerged as a promising therapeutic option for melanoma, which demonstrating improved clinical outcomes in melanoma patients regardless of specific genetic mutations. However, the identification of reliable biomarkers for predicting immunotherapy response and prognosis remains a challenge. In this study, we performed genetic profiling of the melanoma patients with different subtypes and evaluated the efficacy of ICI treatment. A total of 221 melanoma patients were included in our cohort, consisting primarily of acral lentiginous melanoma (ALM), cutaneous malignant melanoma (CMM), and mucosal malignant melanoma (MMM). Genetic analysis revealed BRAF mutations was predominant in CMM and NRAS mutations was prevalent in ALM. Copy number variants (CNVs) and structural variants (SV) were also detected, with CCND1 and CDK4 being the most affected genes in CNV and BRAF, ALK and RAF1 being the druggable targets in SV. Furthermore, NRAS mutations were associated with a poor prognosis in ALM, while TERT mutations were linked to unfavorable outcomes in CMM after receiving PD-1 therapy. Additionally, ALK expression exhibited improved outcomes in both ALM and CMM subtypes. Our study provides a comprehensive genomic and pathological profiling of Chinese melanoma patients, shedding light on the molecular landscape of the disease. Furthermore, numbers of gene mutations and ALK expression were identified as prognostic indicators. These findings contribute to the understanding of melanoma genetics in the Chinese population and have implications for personalized treatment approaches.