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
-
Pages with Temporary Redirects on pages that don't exist!
Hi There Another obvious question to some I hope. I ran my first report using the Moz crawler and I have a bunch of pages with temporary redirects as a medium level issue showing up. Trouble is the pages don't exist so they are being redirected to my custom 404 page. So for example I have a URL in the report being called up from lord only knows where!: www.domain.com/pdf/home.aspx This doesn't exist, I have only 1 home.aspx page and it's in the root directory! but it is giving a temp redirect to my 404 page as I would expect but that then leads to a MOZ error as outlined. So basically you could randomize any url up and it would give this error so I am trying to work out how I deal with it before Google starts to notice or before a competitor starts to throw all kinds at my site generating these errors. Any steering on this would be much appreciated!
Moz Pro | | Raptor-crew0 -
Domain Authority
Has there been an update re DA since there has been signifanct drops the lat 24 hours?
Moz Pro | | NineFiftyNine.net0 -
Advanced Link Report Different Link # than Total Links??
Hi, I've downloaded a csv report for links in "advanced reports" section. At the very top in blue OSE lists overall metrics, i.e. Domain Auth, Page Auth, Linking Root Domains, and then it lists "Total Links" at 1,769. When I download the advanced report in csv I have 505 total links in Excel. Why is there a difference between Total Links and what I have downloaded? What makes up the Total Links? The report I created included, "inbound links/linking pages, Types of Links: any; Links that come from: Any Page, Any IP; Links that link to: any page on subdomain; links with properties: any; Thanks!
Moz Pro | | toby-020 -
About Links API
I'ma Japanese, So, I'm sorry in poor English.
Moz Pro | | flaminGoGo
Question about the API.
Will be returned as unauthorized api 'links' to the following request. http://lsapi.seomoz.com/linkscape/links/domain/blog?Scope=page_to_page&Sort=domain_authority&AccessID=xxx&Expires=xxx&Signature=xxx Is it OK in the request parameters?0 -
Only crawling one page
Hi there, A campaign was crawling fine, but at the last crawl, for some reason, SEOmoz can only crawl one page... any ideas? If I run a custom crawl I still access all of the site's pages.
Moz Pro | | harryholmes0070 -
External Links through Open site explorer
I have just ran an Open site explorer query on our site due to having one of a constant ranking keywords drop, and found that we have 48 new links appear on the report under the anchor text 'home' These are not normal links, and I cannot see where or how these have been connected to our site for example: <colgroup span="1"><col span="1" width="696"></colgroup>
Moz Pro | | hickboy5
| http://regvac.com/TrIsland.swb <colgroup span="1"><col span="1" width="696"></colgroup>
| http://meteonorm.com/fileadmin/tmy3/722066ndry3.rdm | <colgroup span="1"><col span="1" width="696"></colgroup>
| http://www.sexintheshower.net/downloads/SS960-12-pack.psd?ActDo=ShowArt&Information_ID=2396&Parent_ID=&type=&Langue_ID=An&rubID=3068473 | My question is how and why are these appearing on the seomoz open site explorer report? What are they? How can I get them removed, and let google know this was nothing to do with us? Thanks S |0 -
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 -
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