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
-
Unsolved Why for some keywords there is no metrics in search results?
I have installed moz addon in chrome and for some search results moz shows metrics under search card but for some keywords does not. This is very anoying. Could you help?
Moz Bar | | paulavervo0 -
I added a privacy policy link to my footer and now Moz is showing thousands of 4xx errors
My website didn't have a privacy policy so I added one and put the link in the footer menu. When I did this, Moz came back telling me that there are a lot of new errors on the site. Is this a bad thing? Do I need to address it? HY59Iks sYyAHCB
Moz Bar | | elisa175910 -
Keyword explorer tool - keywords by domain functionality
Hi, We have issues with the new searching for keywords by root domain functionality in keyword explorer. We are based in Australia and need rankings for google.com.au, which is what we have set up within our MOZ campaign ranking reports. The explorer tool rankings are way off and not accurate for our site's actual rankings. Also, many of the top, high volume keywords that we are tracking and for which we rank on first page for are not even appearing when I do an explorer search using our root domain. Is the root domain functionality within keyword explorer providing results based on google.com rather than google.com.au? Does this mean that if we are outside the US that we can't use the tool as it is not accurate? Cheers, Damien
Moz Bar | | Devenish0 -
Why doesn't the Keyword Explorer "Explore By Site" work?
Whatever page/domain url I put in here, I get a message coming up saying ""Getting rankings counts failed" Why does his happen? I can't find anything in the Help about this.
Moz Bar | | mfrgolfgti0 -
Keyword Explorer - root domain (NEW): Domains outside US & Canada - no or no meaningful results
Basically I really like and would love to use the new root domain feature in the Keyword Explorer in my daily work. I usually deal with small to medium sized sites in Switzerland. Looking these up unfortunately it either gives me back nonsense (i.e. keywords that merely have nothing to do with the site; sites are very well keyword optimized) or no data ("There are no results for your search") at all. Is this going to change in the future (...honestly) or its simply due to the fact that MOZ focuses primarily on US & Canada and maybe huge sites in Europe? Thanks for your input. Cheers, Cesare
Moz Bar | | Cesare.Marchetti0 -
Learn How to Use Fresh Web Explorer to Build Links. Get your Daily SEO Fix.
Hi there, If you have unique data or a particularly excellent resource on your site, this content can be a great link magnet. Watch The Moz Daily SEO Fix: How to Use Fresh Web Explorer to Build Links to learn how to use Fresh Web Explorer to set up alerts and track mentions of relevant keyword phrases, find link opportunities, and build links to your content. This post wraps up The Moz Daily SEO Fix for this week. To view more Moz tool tips and tricks, check out The Moz Daily SEO Fix playlist on YouTube. Thanks!
Moz Bar | | kellyjcoop2 -
Anyone else seeing completely wrong metrics for rank tracker?
I'm really upset, I have used it to work on a spreadsheet with thousands of words and today I decided to check and a keyword we rank #1 for showed as not in top 50. This makes me very nervous.
Moz Bar | | Sika221 -
Pinterest Back Links Showing For One Website But Not Other in OSE
Hello, I have verified my business websites on both of my pinterest accounts for the following websites Http://www.prickettproperties.com and Http://www.ChicFamilyTravels.com The backlinks for prickett shows up in OSE, but not for ChicFamily. I am curious as to why that is? Thanks in advance for your help
Moz Bar | | Prickett0