How to get the total external links to a page and total external links to the domain using Mozscape API? I could not see an option in the bit flags
-
Hi,
I was trying to get the data for total external links to a page and total external links to the domain using Mozscape API but I can't see a bit flag which can do that. There are bit flags for external followed links to a page and external followed links to a domain but I wanted the total external links data, is there a way to do that using Mozscape API else I would end up copying the data manually from OSE which would be cumbersome and time consuming.
Your help is highly appreciated.
-
Thanks for the email id! I will drop a mail. I would update the thread as soon as I get a response. Appreciate your response :).
-
Gotcha, looks like Mozscape doesn't provide "just" internal or nofollowed for a subdomain. Too bad. Perhaps someone from SEOmoz will notice this post and respond with whether or not they can provide that information via API. Otherwise, you might want to drop them a line at help@seomoz.org.
Good luck, looks like you are working the API to the bone!
-
Thanks again George!
The formula in your response would give me external nofollowed links + internal links to the subdomain. I wanted to have Total External links (followed + nofollowed) linking to the subdomain. Though this value is visible in the comparison metrics of OSE under subdomain metrics, it does not seem to have a bit flag defined in Mozscape and I was trying to find a work around by adding/substracting the URL metrics parameters but the data seems to be insufficient to do that. Still digging in to this to find a solution else at the end I would have to manually plugin the data in excel sheets which would be a pain.
I am using JsonpathonURL to get these metrics in excel sheet.
-
Ah ok, do you think Links to Subdomain (bit flag value:4294967296 - Total links (including internal and nofollow links) to the subdomain of the URL) minus the Subdomain External Links (bit flag value:64 - The number of juice-passing external links to the subdomain of the URL) will give you the number of NoFollowed links?
Edit: updated second bit flag
-
Thanks for the response George!
I was looking at the metrics page earlier. My problem is related to the total external links to a page and total external links to a subdomain. I am able to set the bit flags and get the external followed links to a page as well as to the subdomain but I want to find out if I can get the total external links (followed + nofollowed) excluding the internal links. I was able to find the external links to a page using the formula:
Total Link (uid 2048) - Juice Passing links (ujid 256) = NoFollowed Links
NoFollowed Links + External Links (ueid 32) = Total external links
But I cant do this for Total external links to the subdomain. I know its a bit complicated but I hope you got the picture
-
Hello HQP,
You should be able to find this information here: http://apiwiki.seomoz.org/url-metrics.
The total juice-passing (followed) external links to a page should have a bit flag value of 32.
The total juice-passing (followed) external links to a root domain should have a bit flag value of 128.
You can also get the total juice-passing (internal or external) links to a page with a bit flag value of 256.
Hope this helps!
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
-
Should I set blog category/tag pages as "noindex"? If so, how do I prevent "meta noindex" Moz crawl errors for those pages?
From what I can tell, SEO experts recommend setting blog category and tag pages (ie. "http://site.com/blog/tag/some-product") as "noindex, follow" in order to keep the page quality of indexable pages high. However, I just received a slew of critical crawl warnings from Moz for having these pages set to "noindex." Should the pages be indexed? If not, why am I receiving critical crawl warnings from Moz and how do I prevent this?
Moz Pro | | NichGunn0 -
How best can I change my domain name and keep my domain authority and page authority.
I've recently changed domain names and my old domain was a DA42 and now I am at a DA22. Everything has 301 redirects. Any advice would be appreciated.
Moz Pro | | perpetualmarketing0 -
How can we get follow links from Pinterest and Instagram
While using Open Site Explorer from Moz I came across follow links from Instagram and Pinterest. Now my question is how can we get follow links from Pinterest and Instagram
Moz Pro | | rakesh10 -
Authority from Linking Root Domains: youtube.com / wikipedia.org / adobe.com
Hi there, Presently doing competitor analysis and note two competitors who have a way higher 'moz domain authority' than my client. Using moz tools I notice their top 5 linking root domains all have a score of 100. Refer to screen shot. Of note, both list youtube.com and _wikipedia.org. _ Similarly, my client's domain is ALSO linked from their user profile on youtube.com. They also have a published wiki page with their URL linked. BUT, youtube.com or wikipedia.org are not listed in their "top 5 linking root domains". Their highest scoring linking root domain is prweb.com - with a score of 97. If my client has links on these top domains why would they not be listed in my client's top five domains list like they are listed in their competitors top five? Researching for reasons I came across this old post (2009) here - http://moz.com/blog/followed-links-from-four-unexpected-sources - and wonder if the competitor's links are 'followed' links - even though all resources suggest wiki and youtube are definitely 'no follow' links? Other interesting "Top 5" domains that are listed for my competitors as top "linking root domains" are microsoft.com, adobe.com and europa.eu - again, refer to screenshot. Questions are IF these top linking root domains are in fact 'followed' links/valuable links and help with domain authority scores calculated by the moz tool then 1) HOW do I get these links to show/provide the same value? AND 2) How are my competitors, who are simply travel products, getting links from top domains like adobe.com? I do hope all the above makes sense and that I'm using/interpreting the moz comparative tool correctly! Cheers iGe864i.jpg?1
Moz Pro | | catherineh0 -
Using the On-Page optimization Report Card
I am curious if there is a way to get the on page optimization report card to not show a grade of "F" for a page that I'm not targeting a particular keyword for? For example my home page has a lot of grade "F's" for keywords that are targeted on different pages.
Moz Pro | | kadesmith0 -
Mozscape API call returning no json
Hi - I'm having issues getting started with the Mozscape API. I'm putting the following into my browser: http://[member-ID]:[secret key]@lsapi.seomoz.com/linkscape/url-metrics/greatbritishchefs.com According to the blog posts I'm reading I should get loads of json script returned but all I'm getting is {} Does anybody have any pointers as to what I might be doing wrong? Thanks
Moz Pro | | GBC0 -
Duplicate pages with canonical links still show as errors
On our CMS, there are duplicate pages such as /news, /news/, /news?page=1, /news/?page=1. From an SEO perspective, I'm not too worried, because I guess Google is pretty capable of sorting this out, but to be on the safe side, I've added canonical links. /news itself has no link, but all the other variants have links to "/news". (And if you go wild and add a bunch of random meaningless parameters, creating /news/?page=1&jim=jam&foo=bar&this=that, we will laugh at you and generate a canonical link back to "/news". We're clever like that.) So far so good. And everything appears to work fine. But SEOMoz is still flagging up errors about duplicate titles and duplicate content. If you click in, you'll see a "Note" on each error, showing that SEOMoz has found the canonical link. So SEOMoz knows the duplication isn't a problem, as we're using canonical links exactly the way they're supposed to be used, and yet is still flagging it as an error. Is this something I should be concerned about, or is it just a bug in SEOMoz?
Moz Pro | | LockyDotser0 -
Problem with advanced linking domains report in OSE
Hi everyone, I request an advanced linking domains report in Open site explorer, but my csv file have only three columns as a normal linking domains report : Root Domain, Domain Authority, Number of Linking Root Domains. I have missed some important data as: anchor text, origin, target url Etc I try to request the same report two time, but I have the same problem. Someone have experienced this issue and know the fix ? thanks
Moz Pro | | wwmind0