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 - 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 -
Domain Authority Not Updating?
Anyone know why DA hasn't been refreshing? Last one was in August, then it said the next update would be 6th September, then 8th October, 15th October, but nothing, and now 17th November. Nothing too important, just curiousThanks,
Moz Bar | | jamesbox2 -
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 -
Wistia does not work well - always! (no Whiteboard Friday for me)
Hi, I am a strong follower of the Whiteboard Friday videos.
Moz Bar | | BeytzNet
I am based in Israel so I see them my Sunday morning (currently Sunday 1:40AM est - UTC+02:00). It never works for me (even from different computers and different networks).
I do not know if it always maintenance time etc. but it ALWAYS gets stuck in the middle (Loading... and stops). I hope you can find a solution to this (maybe even also loading into YouTube?). Thanks0 -
How to find and reduce more of 100 internal links on Prestashop
hi, i'm working on a site endrena.com who has more of 466 links, but i don't know what they are, i know only the links from menu and subcategories but they are not 466. the moz onpage grader say me the category receive a A grade and it don't say me any advice like more link but if i use the rankranger onpage it found more of 466 links! Can you help me to find all this links? 166m3gz.png
Moz Bar | | seopalermo0 -
Domain.com isn't recognized by on-page-grader, but domain.com/index.php is
I am running a website through On-page-grader, as www.domain.com and scores an "F" for a specific keyword. When it's ran as www.domain.com/index.php, it scores an "A" for that same keyword and has everything checked other than "keyword in the domain name". There are no other files such as index.htm, or index.html that would interfere and can't figure out why this page is not being recognized. I checked, the robots and .htaccess file, but do not see anything that would hinder. Could this be a server issue?
Moz Bar | | werkbot0 -
Java script links in Wordpress causing 404 not found
hi everyone, I've just done a moz crawl on my new site and am getting as few 404 errors on certain urls http://www.wilsonfield.co.uk/services/equity-finance/197/ after analyzing the link its the 197 which is a href="#197", this is controlled by javascript to show hide additional data Is there anyway to stop these links being crawled or fixing the 404 as there is no /197 it is just a link to hidden content
Moz Bar | | Wilson_Field0