For Windows 7, the most recent rendition upheld is 11.1. It tends to be refreshed physically or with Windows Update and is accessible with the administration pack or in the update KB2670838. For more seasoned forms, Microsoft keeps up a particular page for downloads.
You can download Direct X all versions for free from below sites
https://directx12download.com/