Probing dark energy at galactic and cluster scales