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
-
Losing referrer data on http link that redirects to an https site when on an https site. Is this typical or is something else going on here?
I am trying to resolve a referral data issue. Our client noticed that their referrals from one of their sites to another had dropped to almost nothing from being their top referrer. The referring site SiteA which is an HTTPs site, held a link to SiteB, which is also an HTTPs site, so there should be no loss, however the link to SiteB on SiteA had the HTTP protocol. When we changed the link to the HTTPs protocol, the referrals started flowing in. Is this typical? If the 301 redirect is properly in place for SiteB, why would we lose the referral data?
Reporting & Analytics | | Velir0 -
Curious, anyone ever had over half of their indexed links drop on an e-commerce site?
In a year went from around 300k indexed pages to around >100k according to GWT. Could this be duplicate content issue, lost links, spam, aged links or all of the above? either way an audit is in order. Thanks! Chris
Reporting & Analytics | | Sundance_Kidd0 -
Linking My Google analytics with visual.ly
Hello, I have a quick question: Is it secure and safe to link my Google Analytics account with Visual.ly here's the link: https://create.visual.ly/graphic/google-analytics I want to create easy-to-understand report from Google Analytics and if you have any experience with this service can you share it with me please. Thanks.
Reporting & Analytics | | JonsonSwartz0 -
Find 404 Broken Links
We are looking for tools to help us repair broken backlinks, those with 404 error. We have used the Open Site Explorer tool to create a CSV file from our client's URL. We read the "Fixing Crawl Diagnostic Issues", but don't see how to "find the 404ed URL", nor do we see a "referral column" to scroll to. What steps should we take to locate the broken 404 linkages? What steps can we take to streamline repairs?
Reporting & Analytics | | jamie_netsitemarketing.com0 -
Any thoughts on why Nextag and MonsterMarketPlace are linking to our site?
I'm looking in WMT at the crawl errors and I noticed that our website has gotten a lot of Not Found crawl errors that seem strange. A lot of these not found pages are Display URLs that I use in PPC advertising, but not actual redirects (i.e. explorica.com/EducationalTrips). When I looked at how these links were being found, the inbound links were coming from Nextag.com and monstermarketplace.com, two sites that our company has never had a relationship with. We're an educational travel company, so we'd have no reason to. When I followed the links, it looks like it's coming from their "Sponsored Links," but these aren't Google or Bing Ads. We don't even advertise on the content network. Example link: http://www.monstermarketplace.com/starters-and-alternators/alternator-motorola-style-12v-51a-10376 (the ads do rotate so my site might not appear when you check it out). Anyone ever had experience with this type of issue?
Reporting & Analytics | | Explorica0 -
Link value when with parameter ?
Hi all, I added some links to my website, but because I want to track traffic and other things, all links were created with Google URL Builder and slightly customized. So the end result looks like this: http://www.example.com/example_home.asp?acs=986lfqa&utm_source=keyword.fr&utm_medium=RP&utm_content=example_Link&utm_campaign=General All links are containing keyword as anchor text. And the question is if Google is smart enough to figure out that the anchor text is for http://www.example.com and not for the whole /example_home.asp............ I'm afraid that it will see it as entirely different page and don't pass link value.
Reporting & Analytics | | VasilTasev0 -
Backlinks vs Incoming links
Hi, I've been getting stuck into some SEO analysis for a company I work for and I am a little confused. I've tried a search to get an answer but this has ended up being more confusing. The company has been around for decades and their website since 1996. I read everywhere about 'backlinks'. My SEO toolbar shows ZERO backlinks in Google but 218 in Bing. Google Webmaster tools shows nearly 2,000 incoming links from other sites. Is a backlink the same as an incoming link? Why is this tool showing zero? I am even getting email from SEO spammers saying my backlink count is ZERO. But I can see links everywhere I look to the site. Also, on the link analysis tool with SEOMOZ a competitor is showing 3000 external showing links with 250,000 total links. My site is showing 50 and 470 respectively. I have spent the best part of two years getting the site listed in industry related directories. We have paid for entries in Yahoo and some other high (PR) -ranking directories. Prior to me there was someone else adding the site to directories and getting incoming links from industry related sites. So this has been going on a while. Why are the backlings showing as zero but links from external sites showing over 1800? Thanks TT
Reporting & Analytics | | TheTub0 -
Problem when searching for "link:www.mysite.com" vs "link: www.mysite.com"
Why does a search for "link:www.mysite.com" show no results, but when there is a space before www.mysite.com it shows results? The same happens for "link:www.mysite.com" (nothing shows up), but when I search for "link:www.mysite.com/index.php" it returns results. Is there a problem I am missing? Thanks so much!
Reporting & Analytics | | EmilyP0