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.

51 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. how do we use it with a service that requires a shortening endpoint? like tweetdeck with %@?

    ReplyDelete
  4. 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
  5. 便利だと思います。

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

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

    ReplyDelete
  8. 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
  9. omg wow now we can automate the task of giving you more of our personal data for free - so sweet!

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

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

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

    ReplyDelete
  13. 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
  14. Loved it. Thanks for the release...

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

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

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

    ReplyDelete
  18. I am a robot ::cheer::

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

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

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

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

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

    Back to the lab!

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

    ReplyDelete
  25. Well lets put it to test

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

    ReplyDelete
  27. catalogue designer in delhi 9810968828

    ReplyDelete
  28. 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
  29. 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
  30. 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
  31. One of the Smartest Feature of Google :)

    ReplyDelete