FAP, THY1, MXRA5, and SFRP4 can be selected as diagnostic biomarkers for both HF and OA, and they are significantly correlated with immune cell infiltration, indicating HF and OA may share the immune pathogenesis. Here, THY1 is linked to hydrops fetalis.