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
-
I bought a domain name ez1.in and it has high MOZ spam score. Althought i
I bought a domain name https://ez1.in and it has a high MOZ spam score. Although it is because of the previous webmaster who used this domain as a URL shortening website. But now I am using it as a service delivery website. I wanted to know once a domain is deleted and ready to resell MOZ doesn't update its Spam score? Or it has periodic updates that are scheduled? How does the whole process work?
Moz Bar | | vadir9690 -
New Domain Authority 2.0 have affected my website rankings badly
My website https://www.successvalley.tech/ domain authority was 39 but after the new update, its now 15. Am not happy at all because it took me three years to get that and now it has been reduce to nothing. Please I kindly need explanation as to what happened. Thanks
Moz Bar | | Amenorhu1 -
I have 3 domains with deffrent TLD and convert them to .com domaim why spam score show 9/17 for them
My other domains (.net - .org) was redirect by 301 redirection domain.net domain.org redirect to domain.com then i show 9/17 flag spam score please if there any problems just tell me . my website: arabbus.com xnnnTCj.png
Moz Bar | | mahmoudsamy3600 -
Tracking Across 3 Sub-directories on the Same Domain in Google Analytics
Hello everyone, I'm trying to track 3 sub-directories on the same domain. http://domain.com/1/http://domain.com/2/
Moz Bar | | vndflkvnlkzdfnv
http://domain.com/3/ Could someone help confirm this is the correct code for GA? var pageTracker = _gat._getTracker("UA-12345-1"); pageTracker.**_setCookiePath**("/1/"); pageTracker._trackPageview(); pageTracker.**_cookiePathCopy**("/2/"); pageTracker._trackPageview(); pageTracker.**_cookiePathCopy**("/3/"); Thanks in advance.0 -
Rank tracker not working
Since 2-3days ago the tool rank tracker is not working... gif loading keeps running and I can't use the tool. The keywords I track are for Google ES (Spain)
Moz Bar | | mozismoz0 -
Moz Rank Tracker doesn't work with "PHRASE" Keywords!?
Hello, If at http://ranktracker.moz.com trying to track phrase KW - the system wont accept it. But adding [EXACT] match with [] - works well. Have I missed something? Cheers.
Moz Bar | | SEOisSEO0 -
Open site explorer linking root domains
My company has been trying to increase the number of linking root domains for a specific page on our website using our PR company and press releases that are sent out and linked back to this page. This is working nicely, but the number of linking root domains is still not increasing under the "linking root domains" tab. I am noticing the correct links to this domain under "fresh web mentions" though. I know this tool can take a bit to update, but it has been quite some time and I still only see the one link.
Moz Bar | | isret_efront0