Hello,
We apologize for the issue you are facing with the SEO analyzer returning an HTTP 400 error. This error typically indicates that the server is unable to process your API request due to a client error. Here are some common reasons and potential fixes:
-
Website Under Maintenance: If your website is under maintenance, it cannot be accessed. Please ensure your website is back to normal mode. You can find more information on how to do this here.

-
Check Website Status: Ensure your website is returning a 200 status code. You can check the status of your website here. Enter your URL and click Check Status.

-
API Timeout: If your website takes more than 30 seconds to load, it may result in a timeout error.
-
API Requests Blocked by Firewall: Sometimes, server security or firewall settings may block our API requests. If this is the case, you will need to whitelist the IP 46.30.211.100
and the user-agent RankMathApi/2.0.2; https://rankmath.com
. You can do this in your firewall settings or ask your web hosting provider for assistance.
-
Locally Hosted Website: The SEO Analyzer module only works on live sites that return a 200 OK status when crawled from an external site. If your site is hosted locally, the SEO Analyzer will not function and will return an API error.

If you continue to experience issues, please reply to this ticket with your website URL so we can assist you further. Thank you for raising this concern, and we look forward to helping you resolve it!
Sources:
Why Am I Getting "API Error: HTTP 400" Error » Rank Math
Why Am I Getting "API Error: HTTP 400" Error » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please get in touch with your host and make sure the IP 46.30.211.100
and the user-agent RankMathApi/2.0.7;
https://rankmath.com
are whitelisted on your firewall.
Once done, please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Clear SEO Analysis
and Remove Transients
buttons to flush the SEO Analysis cache.

Please clear your website and any server-level caching on your site before doing the SEO analysis again.
For more details on this issue, please check this URL: https://rankmath.com/kb/api-http-400-error/
Let us know how it goes. Looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.