Google considers page load speed as a ranking factor. A slow website will not rank highly. Therefore, optimizing your page load time is the best way to improve your website’s organic visibility. The following are some of the ways you can improve your page speed.
Be able to run an extensive analysis of your page speed with this API. Ideal to know about your page performance.
You can check Page Speed Analyzer API for free here.