I'm only seeing 3 results for DA/PA, is this a limitation?
-
I'm checking the DA/PA of the top 10 urls on google for a keyword, but I only get the DA/PA results for 3 of the domains, I know the other domains in the list would have results, is this a limitation on the API or should I be able to get DA/PA for more than 3 domains at a time?
would it help if I only check one at a time instead of a larger set?
-
Hi there!
Jo here from Moz support, I'm having a tricky time figuring out what exactly is going on here.
I wonder if you could please send an unedited screenshot and the full url of your api call to help@moz.com?
I look forward to hearing back from you!
Cheers!
Jo -
I was using seostats from github that used the mozscape api and made calls like this. the query was for seo so all the domains would have results . starting to think it might be an issue on seostats end.
id loop over the results from google from that keyword then display the da/pa
in the screenshot I blocked out the domains, but I attached a new screenshot, now If I only check 3 domains it works fine, anything over that says n.a
use \SEOstats\Services\Google as Google;
use \SEOstats\Services\Mozscape as Mozscape;$getKeyword = $_POST['keyword'];
$serps = Google::getSerps($getKeyword, 3);
foreach ($serps as $serp) {
$serp = $serp['url'];
$pageAuthority = Mozscape::getPageAuthority($serp);
$domainAuthority = Mozscape::getDomainAuthority($serp);
$backlinks = Google::getBacklinksTotal($serp);echo "
";
echo "" . $serp. "";
echo "Page Authority: " . round($pageAuthority) . " ";
echo "Domain Authority: " . round($domainAuthority) . "";echo "
";
}
?>