A MHz X-ray diffraction set-up for the investigation of material behaviour under dynamic compression in a diamond anvil cell at intermediate strain rates has been developed at the High Energy Density (HED) instrument at the European XFEL.