Monday, January 10, 2011

Google URL Shortener gets an API

When we launched Google’s URL shortener externally back in September, there was no accompanying API to allow people to integrate goo.gl into their applications and web pages. However, we said that we were working on one, and today we're happy to announce that we’ve launched the goo.gl API in Google Code Labs. The documentation can be found on the Google Code site, with example code in the Getting Started section.

With this API, developers are able to programmatically access all of the fast, sleek goo.gl goodness that we currently provide via the web interface. You can shorten and expand URLs using the API, as well as fetch your history and analytics. You could use these features for a wide variety of applications, enabling behaviors ranging from auto-shortening within Twitter or Google Buzz clients to running regular jobs that monitor your usage statistics and traffic patterns. You can check out the Google APIs console to get started.

We’re very excited to be able to offer you this API to access one of the fastest URL shorteners out there. We’re continuing to work on several usability improvements and to make our auto-detection of spammy or malicious content even more robust. We hope that with the new API, you’ll find goo.gl to be even more useful in your future shortening endeavors! If you’re an application developer, check out the goo.gl API documentation and see how it looks.

58 comments:

  1. Finally! Looking forward to having Twitter apps incorporate is ASAP.

    ReplyDelete
  2. Great! One more tool to do magic !
    @custodio_m

    ReplyDelete
  3. Will use that, thanks.

    ReplyDelete
  4. how do we use it with a service that requires a shortening endpoint? like tweetdeck with %@?

    ReplyDelete
  5. Excellent. Any way to do the same for the URL shortener when installed for a domain in google apps? I looked through the API but it's not clear domain on the short URL is settable.

    Thanks!

    ReplyDelete
  6. 便利だと思います。

    ReplyDelete
  7. Hey Google please make a goo.gl extension for Chrome.

    ReplyDelete
  8. This is great - have been waiting for this! Can't wait to try it out :D

    ReplyDelete
  9. I have been reading about this API and I don't know if it can be used to generate goo.gl links which you can use in your webapp without user interaction. Can someone verify that?

    ReplyDelete
  10. omg wow now we can automate the task of giving you more of our personal data for free - so sweet!

    ReplyDelete
  11. You going to get the google maps team to use it?

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Thanks.
    We will probably start using it at www.avst.com

    ReplyDelete
  14. I just blogged about this. http://www.jphellemons.nl/post/Google-URL-shortener-API-%28googl%29-C-sharp-class-C.aspx
    it's a class for Asp.Net C# solutions :)

    ReplyDelete
  15. Loved it. Thanks for the release...

    ReplyDelete
  16. It's great!
    I supporse Google will buy Bit.ly

    ReplyDelete
  17. Is it automatically found in Chrome? I've been using the Bit.Ly extension in Chrome.

    ReplyDelete
  18. guys wait, tinyurl.com was already there from ages... got it... google should Donate using there knowledge...

    ReplyDelete
  19. Awesome, Thanks Google.

    ReplyDelete
  20. +1 for Ry4an's point - is there a plan to "upgrade" the existing GAFYD shortlink service to use this new service?

    ReplyDelete
  21. I could not resist creating the Google Chrome browser extension that leverage just announced API. Give it a try. http://goo.gl/F2shY

    ReplyDelete
  22. I would like to echo Ryan's question is this available for shortlinks on google apps?

    ReplyDelete
  23. COJO-" NUDO " <=> El " GUANTE BLANCO @... URL&Google||||||||||||||||||||||||||||||||||||||Si

    ReplyDelete
  24. I created chrome extension to shorten url using official goo.gl api on same day.
    http://goo.gl/jxjk2

    ReplyDelete
  25. Where can we find a truly free app with no strings attached unless you upgrade?

    Back to the lab!

    ReplyDelete
  26. thnx....at last we get it

    ReplyDelete
  27. Well lets put it to test

    ReplyDelete
  28. We added it to our social media management app: http://goo.gl/0Ntxl

    ReplyDelete
  29. Whenever i see the post like your’s i feel that there are still helpful people who share information for the help of others, it must be helpful for other’s. thanx and good job.
    Thesis Writing

    ReplyDelete
  30. Thank you for sharing a nice article.
    seslisohbet

    ReplyDelete
  31. Great news, cannot wait to try this out with my List Building Tips. Thanks Alot Google

    ReplyDelete
  32. Here is an (unofficial) goo.gl URL Shortener Gadget:

    http://goo.gl/7PcSI

    You can add it to your dashboard or web site. It's written entirely in JavaScript.


    XML Source Code Manifest: http://goo.gl/0d53v

    ReplyDelete
  33. It's fast and it works, but the rate limiter makes it pretty close to useless. The rate limiter on the control panel has no effect.

    ReplyDelete
  34. I've been using the api and it awesome, however I'm wondering if there is any way to get the chart?? I mean with the API I can get lot of information like, countries, devices, click, etc. But is it posible get a complete stats including dates, times etc.?? you know in order to draw the stats in a chart using google chart tools.

    Thanks!!

    ReplyDelete
  35. One of the Smartest Feature of Google :)

    ReplyDelete