Link Metrics API: sort by domain authority not working?
-
I’m trying to make calls to the Link Metrics API (via the Linkscape gem); queries that set sorting to :page_authority work, but queries that set it to :domain_authority return
Unrecognized API method: 'links/page_to_domain.domain_authority'
Unrecognized API method: 'links/page_to_page.domain_authority'
Meanwhile, Open Site Explorer happily sorts by domain authority.
How should I query the Link Metrics API to get results sorted by domain authority?
-
Hello,
You're correct, currently the API does not offer this call directly. However, we've escalated the question to our engineers who are looking at the issue now. I expect if they do make the change they'll mention it on the devblog: devblog.moz.com
-
Please let me know whether I’m right in assuming there’s no way to obtain the below results via the API:
http://www.opensiteexplorer.org/links.html?group=0&page=1&site=moz.com%2Fblog&sort=domain_authority (page to page, sort by domain authority)
http://www.opensiteexplorer.org/domains.html?page=1&scope=domain_to_page&site=moz.com%2Fblog&sort=domains_linking_domain (domain to page, sort by domains linking domain)
-
I assume this is also why I can’t query links/domain_to_page.domains_linking_page (nor links/domain_to_page.domains_linking_domain), but I can links/domain_to_domain.domains_linking_domain – even though both of the below seem to work:
I.e., there’s no way to get the former link’s results from the API?
-
Thanks for the quick answer (and it does make sense!).
Does this mean that there’s no way to obtain, say, top ten of these results (sorted this way) via the API (other than requesting all of the results and sorting by Domain Authority on the client side)? http://www.opensiteexplorer.org/links.html?group=0&page=1&site=moz.com%2Fblog&sort=domain_authority
To the best of my understanding, this is page_to_page sorted by Domain Authority.
-
Hey there,
Thanks for the question. The Links API's Domain Authority sort is actually working as intended. What's causing the problem is a compatibility between the 'page to xxxx' scope and the domain authority sort.
When running page scopes you are only able to sort by page authority.
I also noticed that that's not very well documented, so I'm going to try and put something together for everyone and put it up on the wiki at http://apiwiki.moz.comI hope that makes sense.
Cheers,
Joel.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Outbound 404 Links
My blog goes back to 2005 and occasionally I find outbound links on old posts that now generate a 404 error. Is there a Moz tool that can find and report on such errors? If not, are there other tools you can recommend?
Moz Bar | | btreloar0 -
Data Analysis Tool - No data found for this domain
For some reason, about a week ago, my clients website nolonger appears on the moz analysis tool ( www.movietrailersarea.org ) which it previously was. now i get the error "Bummer! No data found for this domain" and now nearly all traffic has also depleted.
Moz Bar | | Mike569
site is still indexed by google & robots isnt blocking any crawlers.
any idea?3 -
Why my Domain Authority is Drop from 36 to 29?
Hello, I need to know why my website domain authority Drop from 36 to 29 Domain Authority for my this domain http://latesthairstylez.com was 36 and it is drop to 29 in with in one day . Though i have a very decent and good links going over to all my pages my DA is affected and decreased. and my all links are showing in moz how i can find the solution ...? which links are disturbing or coz of doping Domain authority ....? or how to find the reason of Droping DA
Moz Bar | | hangnga0 -
Increase Moz authority above 26
Hi, I have been using Moz for 12 months and found some very useful features. My site’s score steadily increased from 18 to 26. But I seem to have now ‘hit a wall’ and my Moz ranking is static. My question is: Where on Moz.com can I find what next steps I need to take to improve my Moz score? Thanks in advance. Matt
Moz Bar | | wonderdome0 -
In the Moz Site Crawl, what does "External Links" mean?
I thought I knew what it meant but am finding instances where the value in the column, "Linking Root Domains" is greater than the value in the column, "External Links?" Thanks!
Moz Bar | | Edward_Sturm1 -
Keyword explorer not working
Hi there, The keyword explorer tool has been malfunctioning for the last week. Moz barely seem to have any data (Search Volume) for any keywords I search for, particularly for suggested keywords. It's rather frustrating as I can't explore any keyword opportunities using the Moz keyword tool... I'm based in the UK BTW. Thanks I've attached a screenshot as an example. ZX3Kw3H.jpg
Moz Bar | | SEONOW1231 -
Ww.domain.com coming up with error
our domain is showing in moz with the following error in crawl reports Crawl Error We were unable to access your homepage, which prevented us from crawling the rest of your site. It is likely that other browsers as well as search engines may encounter this problem and abort their sessions. This could be a temporary outage, but we recommend making sure your network and server are working correctly. note that the url being displayed is ww.domain.com and not www.domain.com . we do not have a 301 in place, we have switched off wildcard forwarding from the server.. its acting as the url is a subdomain that is not working.. should i just ignore it?
Moz Bar | | Direct_Ram0 -
Find all the back links to all the posts/pages within the blog subdirectory only.
Hi, I am new to Moz. I using the open site explorer to find backlinks for a website's blog. The website itself is huge. I want to find all the backlinks to all the posts/pages within the blog subdirectory only. Not the regular website. I ran a few reports, but it is giving me links to that page, not all the sub pages.Fi
Moz Bar | | DarrenD0