AFM-based rheology methods enable the investigation of the viscoelastic properties of cancer cells. Such properties are known to be essential for cell functions, especially for malignant cells. Here, the relevance of the force modulation method was investigated to characterize the viscoelasticity of bladder cancer cells of various invasiveness on soft substrates, revealing that the rheology parameters are a signature of malignancy. Furthermore, the collagen microenvironment affects the viscoelastic moduli of cancer cell spheroids; thus, collagen serves as a powerful proxy, leading to an increase of the dynamic moduli vs. frequency, as predicted by a double power law model. Taken together, these results shed new light on how cancer cells and tissues adapt their viscoelastic properties depending on their malignancy and the microenvironment. This method could be an attractive way to control their properties in the future, based on the similarity of spheroids with in vivo tumor models.