Abstract The present work is devoted to testing spacetime properties around black holes surrounded by a dark fluid that are candidates for dark energy, which can be described by the Chaplygin-like equation of state through its shadow. To do this, we first study the horizon structure of the black hole and its shadow. Then, we obtain a rotating black hole solution in the presence of a dark fluid using the generalized Newman-Janis algorithm and study the effects of the black hole spin and the fluid parameters on the black hole horizons. Also, we obtain the shadow cast of the rotating black hole using celestial coordinates and have shown that the presence of the dark fluid causes an increase in shadow size. Moreover, we also obtain constraints on the spin and black hole charge together with the dark fluid parameters using the shadow size of supermassive black holes Sagittarius A* and M87* from Event Horizon Telescope observations. Finally, we also investigate the energy emission rate of the charged black hole surrounded by a Chaplygin-like dark fluid compared to both rotating and nonrotating cases.