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
-
Sudden increase in on-page links
Within one week, the site crawl shows my on-page links going from ~10 to ~100+ Does anyone know of a rational reason for this? Sucuri shows my site is clean, so I don't think it's a hack. 10 seems too low to begin with anyway. Any ideas? Thanks 🙂
Moz Pro | | pupstar0 -
Why don't i see a domain mozrank or moztrust?
Why don't i see a domain mozrank or moztrust? The compeitor's numbers work, but not my own site. Thanks a lot!
Moz Pro | | ivordg0 -
Why are my external links not showing?
I've had Pro long enough to get at least two weekly crawls and yet no external links are showing (which do absolutely exist). Why would this be?
Moz Pro | | SearchAppeal0 -
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 -
Page Authority vs Domain Authority
I'm using the site explorer to compare a potential clients site against 4 others, in an incredibly competitive market. Each of their competitiors has a higher page authority (on the home page) than their domain authority. This is untrue for the clients site. (which have much lower metrics all round) Any input as to what this means/says about their competitors who I would guess (looking at some of their backlink profiles) have done some failry widespread grey hat stuff in the past. (Though haven't we all 😉 )
Moz Pro | | FDC0 -
How do i get to know th pages crawled by SEOMOZ?
My SEOMOZ campaign says that "n" number of pages were crawled. How do i get access to the list of the pages crawled by SEOMOZ?
Moz Pro | | IM_Learner0 -
Why would PA be 1 (0 links from 0 root domains) if it's linked to internally?
Question just about said it all: I've seen a number of pages on sites that have a PA of 1 (with the metrics being 0 links from 0 root domains) when I can see on the site that it is linked to internally - from the main nav (which is CSS, not Javascript) and also from the footer, if not other places. Why would this be? Update: upon looking further at the site, it appears that there's some kind of redirect going on, where the page linked to from the nav actually redirects to the real page. Would that eliminate PA, even if it's a 301? And additionally, is whatever is causing this lack of PA a reflection of how Google would relate to the page? Thanks, Aviva
Moz Pro | | debi_zyx0