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
-
Bounce Rates: Leaving my domain.com/blog to shop on mydomain.com counts as bounce rate?
Hello! I have a kind of difficult question. On my main domain i have: Store: mydomain.com and wordpress blog on mydomain.com/blog If I have a link to a specific product on my blog and user goes to the product on the store, will bounce rate increase or as it's the same domain will be like a new page view? Different CMS's and blog is on a different analytics account than the store. I hope i could explain myself! Thank you
Reporting & Analytics | | prozis0 -
Hello, our domain authority dropped significantly overnight from 37 to 29\. We have been building good links from high DA pages and producing quality, regular content.
Hello, our domain authority dropped significantly overnight from 37 to 29. We have been building good links from high DA sites and producing regular, good quality content. Anyone able to offer any ideas why? Thanks
Reporting & Analytics | | ProMOZ1231 -
Difference between External links and anchor text?
What is the exact meaning of external links & anchor text and what is different between these?
Reporting & Analytics | | surabhi60 -
How can I redirect incoming links from an old version of my site ending in .ctlg and .ivnu?
My original site was published in 2001 using "version 2" software from Ivenue, the hosting company that I signed up with at that time. The site's structure was built in such a way that the primary category pages ended in the extension .ivnu. Product or item pages on the shopping cart side ended in the extension .ctlg. My site's name was and is [Lamplight Feather, Inc.](<a class="webkit-html-attribute-value webkit-html-external-link" href="http://www.tonyhill.net/" target="_blank">http://www.tonyhill.net/</a>). We built our business between 2001 and 2011 and by the last three years (2009 - 2011) of using their version two were averaging a million dollars per year in gross sales. We decided to "upgrade" to Ivenue's "version 3" in 2011 to take advantage of some more modern options and because their newer software created web pages ending in .html which we thought more desirable. We made the switch in late 2011. But it was a disaster. Traffic and sales dropped precipitously. For the past two years (2012-2013) our annual gross sales average dropped to $400,000. (Two other factors were involved beside losing the many incoming links and link juice we had built up over the years: Panda came in that fall and my little niche market (decorative feathers) was flooded with competitors.) However as I try to rebuild our traffic and business little by little, I am stumped as to how to redirect the many incoming links that went to our first site's .ivnu and .ctlg pages. I have constructed redirects for some of our current but changed .html pages like this and put them in the file cabinet and they work: For (example): http://www.tonyhill.net/feathers_c384589.html then But trying the same thing for (example) http://www.tonyhill.net/craftfeathers.ivnu still returns a 404. Is there something I am missing. Ivenue is useless in this matter by the way. Their "technicians" are no help. I plan to be migrating my site once again to a new hosting company and hope to solve this problem before then. Thanks for the attention, Tony Hill This is an example from Google Webmaster of the type of links that show up as 404's that I would like to redirect: | URL: | http://www.tonyhill.net/productCat96521.ctlg | | | Error details | Linked from | | <colgroup><col></colgroup>
Reporting & Analytics | | featherman
| http://www.tonyhill.net/productCat43986.ctlg |
| http://forum.muppetcentral.com/showthread.php?t=21416&page=2 |
| http://www.cosplay.com/showthread.php?p=3832751 |
| http://forum.muppetcentral.com/showthread.php?t=21416&page=2&highlight=fur |
| http://www.muppetcentral.com/forum/threads/puppeteers-resources-links.19330/page-2 |
| http://www.muppetcentral.com/forum/threads/how-do-you-like-my-puppets.18549/page-2 | | | | |0 -
How to Detect Links within PDFs
Hi All, I have a funny situation that I would like some advice on handling... There are a handful of domains that were created several years ago in support of an offline to online campaign. These domains are simply vanity domains that use an IFrame at 100% to show the content of another page. Essentially, the content of the sites I manage are embedded into the frame on the vanity URL. Since I do not monitor or have access to any analytics for the vanity URLs, is there a way to tell how others are discovering those vanity URLs? As stated above, they were used on direct mail flyers two years ago and never appeared online. However, I still get a good deal of traffic from them and cannot believe people have hung onto those flyers in such volume. I have used Open Site Explorer for the vanity URLs, which show no links existing anywhere online. I am wondering if the vanity URLs may exist in pdf lists of local businesses that match my category, etc. Is there any way to tell how traffic finds those vanity URLs without analytics or discovered links through link profiling tools?
Reporting & Analytics | | dsinger0 -
Can you link several sites together in Google Webmaster Tools?
I have a client saying that there is a way to link 3 separate websites (A website for each department of a company) in Google Webmaster tools to tell Google it's basically one site but really its 3. Or to tell Google it's the same company and all the sites are one. I have never heard of this & I don't see the point in making 3 separate small sites & "linking" them as one in Webmaster tools. Is there in fact a way? Am I out to lunch on what they might be referring to? I am recommending they create one larger authority site with a page on each department & earn links for each department page & provide informative unique content for each page. Thoughts? Thanks for the help!
Reporting & Analytics | | DCochrane0 -
Want to link to GA profile, but the one I want is not showing in drop-down
How can I manually add the correct Google Analytics data in to my account? The two options I see on the drop-down are not the ones I want to select and I don't see a way to do it manually. Help!
Reporting & Analytics | | Uniqueson0 -
How do shortened links show up in Google Analytics?
Hey, How do shortened links show up in GA? So if I tweet about something and use bitly, does twitter get the referral? I am thinking not. I have never seen bitly show up as a referrer, but we gets lots of clicks from those links. Hmmmm. Anyone? E
Reporting & Analytics | | ErinTM0