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
-
Reclaim lost links to old pages?
We recently moved our site to a new CMS and did a complete redesign, with new content. It's really hit our SEO. Open site explorer is telling me there are lots of 404 web pages which were basically old product pages that no longer exist, since the way we have structured the site has changed. So is it worth trying to reclaim these links? If so, how can I do that without building pages at the URL - will a 301 redirect be enough?
Moz Pro | | jbritchford0 -
High Page Authrority, low Domain Authority. Good?
I am seeking links from real estate content sites to promote a free course I have about apartment investing. The response has been good from the first five sites I approached, with three granting links. In putting the linking pages on Open Site Explorer though I noticed on had a PA of 40, but a DA of 28. Of course I am grateful for the link, but usually it is the DA that is higher. What does it mean when the PA is higher than the DA, and would a link from this page help me? Any help is much appreciated.
Moz Pro | | HankR0 -
Is there an external tool to check for Link Balance profile (anchor text)?
Hi, Regarding the topic of Link Balance (anchor text from external sites). Is there an external tool you can point to your site or an individual URL that can give you the link balance (branded terms, exact match etc). This article is great:
Moz Pro | | STL
http://moz.com/blog/anchor-text-distribution-avoiding-over-optimization But it's a lot of work to do for individual pages (of which we have many). Just trying to see if there's a tool out there (Moz or otherwise), that can report on such balance on a page-by-page basis (paste in URL, hit 'Go'). Thanks.
Rich Talbot0 -
Why did I not get on page analysis
I signed up last Friday for a 30 day trial and was hoping to get the on page analysis so I could get cracking on it. Moz said the crawl was done but I have no info for on page analysis which I find really useful when I have used this before. Any ideas and are any of the MOZ moderators able to get the system to perform one so I can make changes tonight for the MOZ crawl again tomorrow? Thanks Paul
Moz Pro | | ptrobson0 -
Is www.domain.com/page the same url as www.domain.com/page/ for Google? (extra slash at end of url)
Dear all, in open site explorer there is a difference the url's 'www.domain.com/page' and 'www.domain.com/page/' (extra slash at end). There can be different values in pageauthority etc. in the open site explorer tool, but is this also the case for Google? Thanks for replying, Regards, Ben
Moz Pro | | HMK-NL0 -
Why am I getting 400 client errors on pages that work?
Hi, I just done the initial crawl on y domain and I sem to have 80 400 client errors. However when I visit the urls the pages are loading fine. Any ideas on why this is happening and how I can resolve the problem?
Moz Pro | | moesian0 -
How to crawl the whole domain?
Hi, I have a website an e-commerce website with more than 4.600 products. I expect that Seomoz scan check all url's. I don't know why this doesn't happens. The Campaign name is Artigos para festa and should scan the whole domain festaexpress.com. But it crels only 100 pages I even tried to create a new campaign named Festa Express - Root Domain to check if it scans but had the same problem it crawled only 199 pages. Hope to have a solution. Thanks,
Moz Pro | | EduardoCoen
Eduardo0 -
Link Count Per Page Including JavaScript Links - Should We Worry About Them?
With large ecommerce sites, we usually have more than 100 links per page and many times have more than 200 links on each page due to links and images in the header, footer, guided navigation and then the body product grid and content. When I use most on-page link counting tools like SEO x-ray and the SEO Moz Pro crawl report, I notice that every visible link on the page gets counted. This includes and javascript based links that expand the product grid to 30, 60 or view all, javascript sorting links, javascript links to view customer reviews for each product. etc. There was a QA post here http://www.seomoz.org/q/should-i-nofollow-the-main-navigation-on-certain-pages about nofollowing and page rank sculpting and it seems pretty unanimous that most don't think that page rank sculpting is very valuable. So my question is, are the javascript links on pages that don't link to another page viewed differently by search engines? If so, shouldn't there be a way to see on-page link count minus javascript call links that don't actually link to another page? To expand a bit on my question, we also use nofollow attributes on the text links in the left navigation that are meant for refining products just as the javascript links in the product grid are meant to refine the products, sort them, allow for product comparison, allow for viewing customer reviews, etc. So should it be ok to have 300 links on a page if the unimportant ones that you don't want crawled like the left navigation refinements and product grid javascript links all have rel="nofollow" applied to them? I know that would basicly be PageRank sculting, but it seems like the best options for shopping sites that have a lot of navigation links.
Moz Pro | | abernhardt0