Google URL shortener Goo.gl now has an API
Rejoice ye programmers! You can now access Google's URL shortener via a simple API. It can either be accessed in a brute-force "gimme a short link now" way; or you can make authenticated requests, which puts shortened URLs into your Goo.gl dashboard, allowing clickthroughs to be analyzed.In the announcement, Google also points to Royal Pingdom's research into the fastest and most reliable URL shorteners. Not only does Google match Bit.ly for reliability, but it blows the competition out of the water when it comes to speed. Goo.gl is about three times faster than Bit.ly, and two times faster than Is.gd. The main difference seems to be that Google has servers all over the world, whereas Bit.ly seems to only have a North American presence.
Don't forget, Google also applies its excellent spam and malware filters to all Goo.gl-shortened links. Is there any reason to not use Goo.gl...?












Comments
6
Subscribe to comments2late2dieJan 11th 2011 7:23AM
Actually, right now bit.ly (or j.mp to be more precise) still has a leg up on Google, at least as far as I'm concerned. They have a bookmarklet that let's me share straight to twitter, facebook or email (with a customizable message obviously), not to mention the shortest domain as far as I know. But I have started seeing more and more goo.gl links on twitter, and I guess this will make them even more common.
Sebastian AnthonyJan 11th 2011 9:42AM
@2late2die I'm pretty sure Goo.gl bookmarklets will now swiftly follow (and I'm surprised there aren't any already...)
MarcoJan 11th 2011 9:36AM
>> Is there any reason to not use Goo.gl...?
* Click analytics are public
* No link preview
* no hosted solution (with own (sub)domain
Sebastian AnthonyJan 11th 2011 9:41AM
@Marco Are you sure they can't be made private? That seems a bit odd :)
MarcoJan 11th 2011 10:08AM
@Sebastian Anthony At least that's what it says at goo.gl: "All goo.gl URLs and click analytics are public and can be shared by anyone". The "Google URL Shortener API" doesn't mention "private" url shortening either. Adding a plus sign after some test goo.gl/XXX addresses show all the stats. But probably goo.gl. is really only made for individuals who don't care for that.
Google Short Links (for Google Apps) supports private stats... but as far as I know there's no API -.-
directoryJan 12th 2011 1:57AM
very nice post.thanks for sharing a information.
iPhone Application Development