Hello, we’re sorry to hear that you’re facing an API Error: HTTP 400 with the SEO analyzer. This error indicates that the server is unable to process your API request due to a client error. Here are some common reasons and how you can fix them:
-
Website Under Maintenance: If your website is under maintenance, it cannot be accessed. Try switching your website back to normal mode.

-
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.

If there are errors, you can address them accordingly.

-
API Timeout: If your website takes more than 30 seconds to load, this could 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 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 after checking these points, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Sources:
Why Am I Getting "API Error: HTTP 400" Error » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.
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.