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
-
Best to Leave Toxic Links or Remove/Disovow on Site with Low Number of Linking Domains
Our site has only 87 referring domains (with at least 7,100 incoming links). LinkDetox has identified 29% of our back links as being toxic and 14% as being questionable. Virtually all of these links derive from spammy sites. We never received a manual penalty, but ever since the first Penguin penalty in 2012 our search volume and ranking has dropped with some uneven recover in the last 3 years. By removing/disavowing toxic links are we risking that over optimized link text will be removed and that ranking will suffer as a result? Are we potentially shooting ourselves in the foot? Would we be better to spend a few months building quality links from reputable domains before removing disavowing bad links? Or toxic links (as defined by LinkDetox) so bad that it should be a priority to remove them immediately before taking any other step? Thanks, Alan
Reporting & Analytics | | Kingalan10 -
How Am I Linked to These Sites?
I was going through Google Analytics, specifically looking at the Channels under Acquisition. I found a number of sites that Google is giving credit as sources of traffic.
Reporting & Analytics | | TowerMarketing
When I went to the sites, however, and searched the page source for links to my site, I could not find any. My site is www.towermarketing.net. The sites being listed by GA are:
blackhawkhardware.com
musicas.baixar-musicas-gratis.com If anyone can tell me how Tower is getting traffic from these sites, and what I can do to fix it - because at this point I am considering them spam - I would appreciate it. Thanks!0 -
Accidental Link not being removed by Google WMT
I operate two sites for a client. One is a local business and one is their national business. I used the same template for both sites (with changes) but accidentally left a link in the footer to the local site. Now the local site is showing 12k backlinks from the national site. I removed the link over 2 weeks ago but it still shows up in Google WMT in the "Links to your Site" section. It goes to a coupon page and not a "targeted" page but 12k links to the local site is 6 TIMES what I had before. My question is: "Is there a way to get Google to remove the link from Google WMT?" More specifically force it. Like I said the link has been removed for over 2 weeks but it still shows up in the Local site's Incoming Links section of WMT. Thanks.
Reporting & Analytics | | DarinPirkey0 -
Spam link? Links from linguee.*
Hello, in a site, in which I'm working .. in webmaster tools i see a lot of links as following: With more links to your site: linguee.es 3.066
Reporting & Analytics | | jarizaro
linguee.com 2.964
linguee.pe 2.722
linguee.mx 2.721 Total inlinks to my site are 20.000, and links incoming from linguee.* are more than 50% !!! My site is about spanish courses in spain, but i think all these links are fuck*ng me. I checked if these links have nofollow tag, and not, they don't have this attritute. What can i do? My site is going down in Google. ¿disavow that domain? Please help.0 -
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 -
Do links tagged with Analytics UTM parameters has the same significance as once without any parameters?
If we add UTM parameters to inbound links, for tracking specific referral behavior, will those link have the same SEO significance as links without parameters?
Reporting & Analytics | | Usearch0 -
Custom GA tracking and link value
Hi I'm working on a real estate agents web site which has a lots of links coming from paid listings in real estate linstings sites (this in France so I'm not sure examples will mean anything but basically the agents have 900 house listings in each site and each listing has a backlink) In analytics these are classified as referals and that's fine for the moment But because sites provide different types of links, we are considering tagging all paid links with analytics utm codes. Mainly to learn which ads are actually providing qualified traffic (providing contacts). I'm guessing that currently these links, there are thousands, bring seo value to my client's web site and are not considered as paid links. Will adding the analytics codes to these links cause a loss of their value by clearly indicating to Google that we paid for them? What's the current thinking on this? I'm tempted not to be worried about being honest about the origin of these links but I'm worried that there is a real danger of loosing current ranking Any arguments FOR tagging paid links ? Thanks for you help Neil
Reporting & Analytics | | NeilInFrance0