Bladder cancer and osteosarcoma are 2 types of cancers that originate from epithelial tissues inside the bladder and bone or muscle tissues. Ultrasound-guided biopsies provide crucial support for the diagnosis and treatment of bladder cancer and osteosarcoma. However, the relationship between myosin light chain kinase (MYLK) and caldesmon (CALD1) and bladder cancer and osteosarcoma remains unclear. The bladder cancer datasets GSE65635 and GSE100926, the osteosarcoma dataset GSE39058, were obtained from gene expression omnibus. Differentially expressed genes (DEGs) were screened and weighted gene co-expression network analysis was performed. The construction and analysis of protein-protein interaction network, functional enrichment analysis, gene set enrichment analysis. Gene expression heat map was drawn and immune infiltration analysis was performed. The comparative toxicogenomics database analysis were performed to find disease most related to core gene. Western blotting experiments were performed. TargetScan screened miRNAs that regulated central DEGs. We obtained 54 DEGs. Functional enrichment analysis revealed significant enrichment in terms of cellular differentiation, cartilage development, skeletal development, muscle actin cytoskeleton, actin filament, Rho GTPase binding, DNA binding, fibroblast binding, MAPK signaling pathway, apoptosis, and cancer pathways. Gene set enrichment analysis indicated that DEGs were primarily enriched in terms of skeletal development, cartilage development, muscle actin cytoskeleton, MAPK signaling pathway, and apoptosis. The immune infiltration analysis showed that when T cells regulatory were highly expressed, Eosinophils exhibited a similar high expression, suggesting a strong positive correlation between T cells regulatory and Eosinophils, which might influence the disease progression in osteosarcoma. We identified 6 core genes (SRF, CTSK, MYLK, VCAN, MEF2C, CALD1). MYLK and CALD1 were significantly correlated with survival rate and exhibited lower expression in bladder cancer and osteosarcoma samples compared to normal samples. Comparative toxicogenomics database analysis results indicated associations of core genes with osteosarcoma, bladder tumors, bladder diseases, tumors, inflammation, and necrosis. The results of Western blotting showed that the expression levels of MYLK and CALD1 in bladder cancer and osteosarcoma were lower than those in normal tissues. MYLK and CALD1 likely play a role in regulating muscle contraction and smooth muscle function in bladder cancer and osteosarcoma. The lower expression of MYLK and CALD1 is associated with poorer prognosis.