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 -
Page with "Missing Title Tag" isn't a page
Hello, I am going through the various errors that the Moz Pro Crawl report and some non-existent pages keep coming up in the report. For example, one error category is "Missing Title Tag" with one page identified. But this page http://www.immigroup.com/news/“http%3A/crs.yorku.ca”?page=2 isn't real. It would have been a 404 were there not a redirect for everything that is /news/gobbledygook to /news. So my question is: when moz (or GA for that matter) identifies these pages as "real" and having errors, do I need to take this seriously? And what do I do about it? Thanks! George
Moz Pro | | canadageorge0 -
On Link Analysis tab I my best pages are 301 and 404 pages.
I looked on my redirrect file and found that /* redirects to /v/404.asp.
Moz Pro | | sbetzen
However if you look below at the link analysis the 404 page is getting a 404 error.
The homepage ecowindchimes.com/ is getting a 301 (but I don't know where it is going to).
The third one is also redirected. 1. [No Data] ecowindchimes.com/ ||| 301 ||| 2 ||| 36 2. 2. [No Data] ecowindchimes.com/v/404.asp ||| 404 ||| 2 ||| 34 3. [No Data] 3. ecowindchimes.com/index.html?lang=en-us&target=d2.html ||| 301 ||| 1 ||| 33 So I have 2 questions: 1) should this be fixed? and 2) how? This is a volusion site and I believe the "catchall" redirect was done by them0 -
Can I change the Competitive Domain Analysis Domains?
I need to change a couple of the competitors listed under Competitive Domain Analysis but I cant find how to do this? Can anyone point me in the right direction? Thanks Chris
Moz Pro | | ChrisMcIlroy0 -
I have a client with a bit over 100 inbound links but Open Site Explorer shows total links on Subdomain as over 66,000, how can this be?
I have a client www.woodard247.com that shows only a bit over 100 inbound links. using the Open Site Explorer, they are a well trafficed local site and are not doing any grey hat or black hat techniques. However the rankings for their main keywords have suffered recently and we cannot identify any duplicate content or keyword stuffing issues. We have never purchased links or used link building software. Now for the main question: When we run Open Site Explorer it shows only a bit over 100 inbound links on the page and the domain, but the subdomain shows over 66,000 total links! How can this be possible? Could this be a problem? How can I find out what these links are since Open Site Explorer and Seo Spyglass both show only a hundred or so?
Moz Pro | | tjkirgin0 -
How do I collect all links through the SEOMoz API?
How do I collect all links through the SEOMoz API? Yes, I know how to pull url metrics info but want to pull the inbound links only via php script w/out having to go to the OSE page to pull. any suggestions would be great!
Moz Pro | | destdigi0 -
Newly acquired links not showing up on link analysis
I have recently gained a few links which I know are definitly up, because I have seen them, however, when I navigate to link analysis on SEOmoz pro, the number of links isnt showing as more than before. How long does it take to update?
Moz Pro | | CompleteOffice0 -
In competitive domain analysis my website shows pages that I no longer have.
When I go to my campaign, link analysis, under competitive comparison/followed backlinks, the 5 pages under Anchor Text/Target URL, supposedly on my website, are not on my website anymore. I recently moved my domain name to another server (before signing up for seomoz) and deleted the forum associated with my website. Those 5 pages are all from that now extinct forum. What's going on?
Moz Pro | | ovistomih0