Chronic heart failure (CHF) can induce chronic kidney disease (CKD), called type 2 cardio-renal syndrome (CRS2). The mechanism is not completely clear, and there is a lack of early warning biomarkers of CKD in the context of CHF. Two CKD, one CHF-PBMC and four CHF-cardiac tissue expression profile datasets were obtained from GEO database. Differential expression analysis and WGCNA were used to detect CKD key genes and CHF-related secreted proteins. Protein–protein interaction (PPI), functional enrichment, and cMAP analysis reveal potential mechanisms and drugs of CHF-related CKD. Five machine learning algorithms were used to screen candidate biomarkers, construct a diagnostic nomogram for CKD and validate it in two external cohorts. Clinical serum samples were collected in our hospital to evaluate the correlation and diagnostic value of biomarkers and CKD. 225 CKD key genes and 316 CHF-related secreted proteins were identified. Four key subgroups, including 204 genes, were identified as CRS2-related pathogenic genes by PPI analysis. Enrichment analysis revealed that the identified subgroups exhibited significant enrichment in cytokine action, immune responses, and inflammatory processes. The cMAP analysis highlighted metiradone as a drug with greater potential for therapeutic intervention for CRS2. Utilizing five machine learning algorithms, three hub genes (CD48, COL3A1, LOXL1) were pinpointed as potential biomarkers for CKD, and a nomogram model was constructed. Receiver operating characteristic analysis demonstrated that the nomogram’s area under the curve (AUC) exceeded 0.80 in both the CKD combined dataset and two external cohorts. In addition, the three biomarkers were significantly correlated with the glomerular filtration rate, and the AUC of the model predicting disease progression was 0.944. Furthermore, analysis of immune cell infiltration indicated a correlation between the three biomarkers and the infiltration fraction of macrophages, neutrophils, and other immune cells in CKD. Our clinical cohort validated the expression patterns of three biomarkers in serum, and the diagnostic model achieved an AUC of 0.876. CHF has the potential to facilitate the progression of CKD via the release of cardiac and PBMC secreted proteins. Furthermore, CD48, COL3A1, and LOXL1 have been identified as potential biomarkers for the detection of CKD.