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
-
Does MozPro SiteCrawl provide info on structured data for my domain?
I'd like to verify via SiteCrawl that my structured data is set up throughout my website/domain. Does the MozPro SiteCrawl look for this? I have seen reference to schema.org on some of my random ecommerce product pages, but that's all I know. Thanks.
Moz Bar | | spiderx.ing0 -
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 -
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 -
URL Link Counts
Hi Can someone clarify what the URL link counts in the SERP report means? Is this total internal links on this page? My followed internal links are very high compared with sites I am comparing against, some sites only have 1 internal followed link - is this possible? Have they simply no followed all the rest on that page?
Moz Bar | | BeckyKey0 -
Mozbar SERP overlay stopped working in Firefox
Hello, I recently upgraded Firefox and the Mozbar SERP overlay stopped working. I rely on that data so need to get it working. Are others experiencing this issue?
Moz Bar | | IrvCo_Interactive0 -
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 -
On Page Grader not working on the fly
On Page Grader has this lovely little re-grade page button next to the URL and term field but it's never worked on the fly for me. What's going on here? You discover something critical, fix it and you want the satisfaction of re-grading to test it and get that A but it doesn't work. I can see the changes on the site so why not??
Moz Bar | | wearehappymedia0