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
-
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 -
Keyword Difficulty Not Working (using it for AU)
Hello Guys, The Keyword Difficulty is not working for AU. Can you please get AU KWs to work? We've: deleted KWs and started over. logged out & logged back in. tried from multiple computers. waited hours. Thanks,
Moz Bar | | WME0 -
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 -
Rank Tracker not Working.
That's all. It has not worked for last 3 days I believe. I use Google Chrome.
Moz Bar | | SammisBest0 -
Q&A text box not working on iPad
Has anyone else noticed that you can't move the courser or copy and paste in the comments on an ipad without continually having to click out of the box and back in again.
Moz Bar | | mark_baird0 -
Is there a way to get Page Authority values included in the Crawl Diagnostic .csv export?
Would be nice to have these values included so that you can sort by Page Authority. 4uF6efx.png
Moz Bar | | WebReputationBuilders0 -
Tracking a domain with multiple locations
Esteemed Marketers of the Moz community, We'd like to track a domain that has a separate web presence for specific locations. In other words, the business has multiple locations in NJ and one in NYC. Any tips and tricks to track how we're doing in the rankings for both NJ and NY? Thanks Much, Paul
Moz Bar | | brainrainmedia1