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 -
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 -
What is the difference between External Followed Links, Total External Links and Total Links?
What is the difference between Total External Links and Total Links? Below is my metric and 3 competitors. | External Followed Links | 12 | 43 | 227 | 5 |
Reporting & Analytics | | seohlp44
| Total External Links | 19 | 51 | 296 | 11 |
| Total Links | 2,990 | 704 | 15,234 | 12,518 |0 -
Mysterious Referral Link
This keeps coming up in some of our top Referrals on our website in Analytics. Does anyone know what it is? We have tried researching it and have had not luck. http://vizedhtmlcontent.next.ecollege.com/
Reporting & Analytics | | TracSoft0 -
Lost rankings after disavowing links
About two months ago, I received an unnatural inbound links message from Google. Then I disavowed 58 (the worst ones) and now I can see that right after the date I submitted my disavow file I'm losing rankings. What would you suggest? I don't really want to revoke my disavow file because it has totally bad links. I have this idea to build 58 links from high quality sites (instead of the 58 I disavowed). Do you think it'll work faster (if at all) or I just need to remove my disavow file?
Reporting & Analytics | | VinceWicks0 -
Internal Links not Showing Up
Hi, I have a wordpress blog at www.learnbonds.com. I am looking through open site explorer and and showing only 9 internal links on my report. I have hundreds of internal links on the site so I am wondering why they are not showing up? Any assistance would be appreciated. Thanks Dave
Reporting & Analytics | | fxtrader19790 -
Trackbacks vs Links: What's the Difference?
Our Google Analytics social pages report isn't showing several of our links. And several links are from high quality sources, such as about.com. Does anyone know why this may be?
Reporting & Analytics | | nicole.healthline0 -
Rel=nofollow link to a NoFollow, NoIndex Page?
I have a multitude of "schedule a demo" pages/forms on my site that are all identical, so I have on all of them. My question is, should I also place on the link to the "schedule a demo" pages? I know the generic rule is to never nofollow any internal links (per Matt Cutts http://www.youtube.com/watch?v=bVOOB_Q0MZY), but should that still apply if the link directs to a page that is noindex, nofollow? Thanks for your input in advance; don't want to run into, as Matt Cutts puts it, "a mini kerfuffle!"
Reporting & Analytics | | BethA0