An optical coherence tomography apparatus based on spectral interference where object information can be speedily obtained and an information acquisition range in a depth direction can be enlarged, and an ophthalmic apparatus. The apparatus includes a first optical system for projecting light with short coherence length onto an object to form object light which is reflection light from the object, a second optical system for projecting light with short coherence length onto a reference surface to form reference light which is reflection light from the surface, an optical system for synthesizing the object light and the reference light to be interference light, dispersing the interference light into predetermined frequency components and photo-receiving the dispersed light with a photodetector, a device varying a spectral characteristic when the interference light is dispersed by the interference/dispersion/photo-receiving optical system, and a calculation part obtaining the information based on an output signal from the photodetector.