We propose a method using the redshift dependence of the Alcock–Paczynski (AP) test and volume effect to measure the cosmic expansion history. The galaxy two-point correlation function as a function of angle, (μ), is measured at different redshifts. Assuming an incorrect cosmological model to convert galaxy redshifts to distances, the shape of (μ) appears anisotropic due to the AP effect, and the amplitude is shifted by the change in comoving volume. Due to the redshift dependence of the AP and volume effect, both the shape and amplitude of (μ) exhibit redshift dependence. Similar to Li et al. ( 2014 ), we find that the redshift-space distortions (RSD) caused by galaxy peculiar velocities, although significantly distorting (μ), exhibit much less redshift evolution compared to the AP and volume effects. By focusing on the redshift dependence of (μ), we can correctly recover the cosmological parameters despite the contamination of RSD. The method is tested by using the Horizon Run 3 N -body simulation, from which we made a series of 1/8-sky mock surveys having eight million physically self-bound haloes and sampled to have roughly a uniform number density in z = 0–1.5. We find the AP effect results in tight, unbiased constraints on the density parameter and dark energy equation of state, with 68.3% CL intervals m ~ 0.03 and w ~ 0.1, and the volume effect leads to much tighter constraints of m ~ 0.007 and w ~ 0.035.