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.
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
-
The factors considered in the new domain authority algorithm? On-site factors we can use to compare with competitors? Is having an NA as a spam score a bad thing?
Does anyone know the factors considered in the new domain authority algorithm other than spam score and complex distributions of links based on quality and traffic? Does anyone know of on-site factors we can use to compare with competitors to try and improve DA? Is having an NA as a spam score a bad thing?
Moz Bar | | CQMarketing0 -
Changed Domains and Internal Links haven't followed, Old Domain redirects to new domain
On our domain residentiallandlord.com we are a little confused on the Compare Link Profiles option,I'm wondering if you can helpWe changed our domain a few years back and have our old domain redirected to our new domain.On our new domain we have only internal links visible, https://residentiallandlord.com/wp-content/uploads/2018/06/moz-rl.com.pngbut if you look at our old domain, which goes to our new domain it has loads of internal links, even though there is no physical site on this domain as it redirects to our new one, https://residentiallandlord.com/wp-content/uploads/2018/06/moz-rl.co.uk.png Can you help me understand why no internal links are showing for the new domain and how to fix this.
Moz Bar | | karlh19740 -
How to increase Page Authority
Hi All, I have had some free time lately and have wanted to try and figure out how Moz calculates page authority and what I can do to increase page authority. For instance, I have a real estate site (As some of you may know already) and of course there are places like Zillow.com who have amazing Domain Authority and even page authority for a certain address. So this is just some random address to where most of the local sites I compete with have a PA of 1. Is there a way to get that PA up? Would it be sharing it on Social Media, or writing a blog post about it (which I of course would not want do do with every listing (hundreds) but was curious how Zillow could have such a high page rank on a property that maybe came up a day or two ago. Examples: zillow: http://goo.gl/99A57C my site: http://goo.gl/K6xmW6 Thanks for any guidance!
Moz Bar | | Veebs0 -
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 -
On-Page Grader not working?
I've been using the On-Page Grader tool for a while now, and have always had great success using it to better optimize my pages. But just recently I've noticed that it's not detecting any changes I make to any of my pages.
Moz Bar | | CMinc
For example: One of my pages was coming up with Exact Keyword is Used in Page Title. So I changed it and uploaded it to the site and then clicked the re-grade page button. The only problem is that it's not seeing any of the changes that I made.1 -
Weird back link showed in moz crawl
Some time ago somebody from this site: http://dianibeach.com created a weird link to our site which had on the end db. Later we have realized that the link was coming from every footer on each page. I believe that the back links from footer does not have realy value and even the more of them the less value. We have asked the guy to remove that links as I thought it might harm our site more then help. Now I I was very surprised to find this link in moz crawl error as second top page on our site in current index??? Can somebody explain how is this possible?? The most ridiculous thing is that when I click on that link it realy opens our site! How is that possible, what is it? This is the link: http://villasdiani.com/?db Thank you very much for any help with this
Moz Bar | | Rebeca10 -
Moz Analytics only working with Google Analytics?
Hi, My company uses Piwik for analytics. Do you know if there is a way to make the new Moz Analytics work with Piwik? Or if Piwik support will be provided at some point? Thanks! P.S. : I know it would be easier to switch to Google Analytics, but for many reasons we can't 😞
Moz Bar | | Xilopix0 -
How does an index page have a higher Authority than the root domain?
So just curious, but on my domain, http://www.bulwarkpestcontrol.com the Page Authority is 59 and the root domain authority 52. That seems odd as it is the same page. Explanation?
Moz Bar | | Thos0030