Count of links
-
I am using free link API to get total number of internal links,
external links, follow links and no follow links by using *
http://lsapi.seomoz.com/linkscape/links/* url.I have given following attributes along with the url as,
- SourceCols=4
- TargetCols=4
- Scope=page_to_page
- Sort=page_authority
- Limit=1000
- Filter=nofollow
By implementing this, I am getting array for each filter and by counting
array size, I can get the count of total links.This is a long procedure and seomoz link API is taking a long response time.
Is there any way by which I can get the total number of link for each
filter directly ? Or is there any other alternative ? -
Oky ...Thank you...
Let me know if you can develop such feature of getting direct link counts for different filters ...
-
Hey Ravi,
If you are a Free API user, that is probably the fastest way you're going to be able to pull that data. However, if you're using the Site Intelligence API, you would be able to get those calls from the URL-metrics API call, which is much more efficient and a lot faster.
You can see the Free versus Paid list here: http://apiwiki.seomoz.org/w/page/13991153/URL Metrics API
Internal links: Links (uid) - External Links (ueid)
External links: ueidFollow links: External Links (ueid) - Juice-Passing Links (ujid)
Nofollow links: Links (uid) - Juice-Passing Links (ujid)I'm sorry I can't be more help! Let me know if you have more questions,
Carin
-
hey thank you for your reply . The url I am using is like : "http://lsapi.seomoz.com/linkscape/links/".urlencode($url_to_check)."?SourceCols=4&TargetCols=4&Scope=page_to_page&Sort=page_authority&Limit=1000&Filter=follow"."&AccessID=".$accessID."&Expires=".$expires."&Signature=".$urlSafeSignature;
There is one request at a time for a link.
Thanks!
-
Hey Ravi,
The links call is pretty intensive and does take some time to process requests, but there could be a way to optimize your call. Would you be able to post the final URL you are sending to the API (eliminating your secret key)?
Also, how many requests are sending in at a time? Are you sending these in as batch requests or single requests?
Thanks!
Carin
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
-
What would be causing our linking domains and inbound links to decline?
I am noticing a decline in the number of our linking domains and inbound links from month to month. It isn't drastic but looking like a trend. Any reason why this would happen? I'm not sure where to start. Thanks!
Reporting & Analytics | | amanda_feagle0 -
Www.google-analytics.com/analytics.js what is this link doing on my website?
Hello Expert, I am using google tag manager and google analytic is already configured in that now i just want to confirm when i do inspect element of my home page in that i can see this link - http://www.google-analytics.com/analytics.js where as if i do view source of my page then it is not visible. so what is this link - www.google-analytics.com/analytics.js and what role it play? Do we really need this link to be present on website? Regards, Raghuvinder
Reporting & Analytics | | raghuvinder0 -
How long before links are found in analytics?
I'm new to website building and have recently set up some links by submitting my website in directories and have also got some people in the same industry to link to my website. But they aren't being found in moz analytics. Does it take time or should they be getting found?
Reporting & Analytics | | PaddyCoop0 -
Does Lightbox Gallery Clicks Count Positively Toward Page Rank?
When a user clicks through a lightbox gallery, are these counted as a click through for page rank? I am using WonderPlugin Grid Gallery on multiple pages with multiple galleries. I do not want these clicks to be wasted. Please advise. Regards, Clever Name SEO www.clevernameseo.com
Reporting & Analytics | | cindymariesilva0 -
How to link Analytics to Webmaster Tools at the profile level?
What do you do when you have a few profiles under one property in analytics (for subdomains etc) but you want to link each one of them to webmaster tools? Far as I know, you can only link them at the property level. Thanks! -Dan
Reporting & Analytics | | evolvingSEO0 -
Problem with Enhanced Link Attribution
I set up Enhanced Link Attribution yestarday on two my websites, but it still doesn´t work. When I look at numbers of clicks at In-page analytics I see the same numbers of clicks for example on heading, read more button, thumbail of blogposts - so it doesn´t work. My GA code: <script type="<a class="attribute-value">text/javascript</a>"> var _gaq = _gaq || []; var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_setAccount', 'XXXX']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); script> Could you help me? thanks 🙂
Reporting & Analytics | | mysho0 -
Count of words in all urls in a subdomian
Hi, I am trying to understand in a simple way how much content (words per url) are included in all urls under a subdomain. Is there a way to get this information from any of the tools ? thanks!
Reporting & Analytics | | picolo0 -
Google Webmaster not accounting for internal links
Hi SEO gurus! All my websites in GWT show the website in question at the top of the "Links to your site", in the form of: Domains Total links my-site.com 1,000 third-party-1.com 500 third-party-2.com 300 third-party-3.com 200 etc.com 100 However, I have a specific account that suddenly (a few weeks back) disappeared its own link count: Domains Total links third-party-1.com 500 third-party-2.com 300 third-party-3.com 200 etc.com 100 Has this happened to any of you? Any ideas how to solve it? The website is www.gmvbodybuilding.com which you can see has plenty of properly formed links.
Reporting & Analytics | | hectorpn0