Hi everyone,
I'm trying to retrieve data for a specific URL using the Moz API, specifically the data.site.metrics.fetch method. The URL I'm querying is:
https://www.fiftyfiveandfive.com/ai-agents-marketings-new-means-of-production
When I make the API request, I receive the following 404 error:
{
"id": "unique-id-testing",
"jsonrpc": "2.0",
"error": {
"code": -32655,
"status": 404,
"data": {
"key": "site_query.query",
"value": "https://www.fiftyfiveandfive.com/ai-agents-marketings-new-means-of-production"
},
"message": "That query was not found."
}
}
However, when I check the URL in Moz Link Explorer, I can see that the page has a Page Authority of 23 and a Domain Authority of 36, but no backlinks or ranking keywords.
What I'm Trying to Achieve:
I’m attempting to retrieve metrics for this page via the API, but it seems like the API does not recognise the URL, even though it’s visible in Link Explorer.
Questions:
-
Why does the API return "Query Not Found" for a URL that is indexed in Link Explorer?
-
Is there a way to request Moz to crawl or re-crawl this URL to ensure it's accessible via the API?
-
Are there any additional criteria the API requires (e.g., backlinks, ranking keywords) before it recognises a URL?
Additional Info:
-
I’ve verified that my robots.txt file allows all bots, including Rogerbot.
-
list itemThe page is included in the sitemap, and the URL is accessible without any restrictions.
-
list itemI’d appreciate any insights on how to resolve this issue or steps to take so that the Moz API can retrieve data for this URL.