A method and apparatus for determining an x-ray image data record of a target location subjected to a movement using an x-ray device. A number of basic images of the target location are recorded using a basic exposure time in each case and the x-ray image data record corresponding to an x-ray image with a longer exposure time is determined by combining basic images registered with one another. At least one quality value assigned hereto and relating to the movement in the target location during the recording is determined for each basic image and the contribution of a basic image to the x-ray image data record is determined as a function of the quality value.