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
-
Link Activity to site keeps decreasing
Recently I have started seeing daily declines in the total inbound links to my site. 4 of my top 5 sources are all experiencing pretty significant declines and in fact, Pinterest has declined from a high of 16,295 links in Nov '15 to a current number that is 8,479 on 1/6/16. Any ideas on what could be causing these declines? I did upload a new sitemap in Nov, could this be the cause?
Reporting & Analytics | | ctripp10100 -
Types of Links
I am not sure what the difference is between the different types of links...my competitors exceed my site in certain types, and lag behind in other types...I'm trying to figure out which are more important maybe? Followed Linking Root Domains External "Followed" Links vs External links Linking C-Blocks Just trying to understand the general differences...
Reporting & Analytics | | sdwellers0 -
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 -
Do misspelled brand queries count as branded keywords?
Are misspelled brand queries considered branded keywords? I'm trying to segment branded traffic and wasn't sure what to include.
Reporting & Analytics | | IMM0 -
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 -
Will javascript generated links affect my bounce rate?
Hi all, I run a site called Applicable Jobs (http://www.applicablejobs.com) and from analyising my analytics I notice my bounce rate is unusually high at around 85%. I'm keen to get this right down as I've read recently that a high bounce rate is a metric Google uses in determining positioning in the SERPs. I honestly don't think it's the quality of my content because I feel it's genuinely useful to my target audience but I'm wondering if the way my jobs list is generated is causing an issue. At the moment I have my jobs listings generated through javascript so I can have nice effects and use a bit of ajax but if Google crawls it, it obviously won't be able to see the listings. So I'm wondering if when a user comes to the site and they click on one of the job listings, does the Google analytics code recognise that click because that link is generated through javascript? Thanks
Reporting & Analytics | | Benji870 -
Export all links on page with anchor text
As the question says really. Is there a tool that will export all the links on a page and anchor text related to those links into Excel? Thanks.
Reporting & Analytics | | RikkiD220 -
Linking domain dropped followed by significant decrease in Domain Authority
A relatively high ranking site disappeared from the linking root domains of a client site, and the site dropped significantly in domain rank, authority, and trust. Oddly enough, traffic is almost double the previous week, and search results for keywords remain strong. I checked OSE and the linking domain is not listed. There are also several other linking root domains that have never shown in the domain analysis, but we'll leave those for a later topic. I visited the linking root domain that disappeared from the analysis and found everything to be in order. The site is a major local forum with a relatively high domain authority. All links are still there, and there hasn't been any change to the site as far as links are treated according to the owner. The only thing that has changed since the last site analysis is an event campaign ran with unpaid ads posted throughout the forum. The site being analyzed is a catering company that is cooperating with the forum owner and local bar to host a local celebratory event. Of course I'll wait for the next indexing to see if things change, but what could be going on here? This is more of an SEOmoz question, as we're talking over 10 point deduction in domain authority, although search results are still strong.
Reporting & Analytics | | kwoolf0