X-rays have developed into an essential tool in variety of fields, such as biology, materials, chemistry, and physics etc. Numerous X-ray types, including the orbital angular momentum (OAM), the Laguerre-Gauss, and the Hermite-Gauss states, have been proposed. This greatly enhances the depth of application of X-ray. The X-ray states described above are mostly produced by binary amplitude diffraction elements. In light of this, this paper proposes a flat X-ray diffraction grating based on caustic theory to generate Airy-type X-ray. It is proved by the simulation of multislice method that the proposed grating can generate the Airy beam in the X-ray field. The results show that the generated beams have a secondary parabolic trajectory deflection with the propagation distance, which is consistent with the theory. Inspired by the success of Airy beam in light-sheet microscope, the Airy-type X-ray can be anticipated to enable novel image capability for bio or nanoscience.