skip to main | skip to sidebar

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.

By Ben D’Angelo, URL Shortener Team

51 comments:

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

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

    Reply Delete
  3. Will use that, thanks.

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

    Reply Delete
  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!

    Reply Delete
  6. Finally!

    Reply Delete
  7. 便利だと思います。

    Reply Delete
  8. Hey Google please make a goo.gl extension for Chrome.

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

    Reply Delete
  10. 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?

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

    Reply Delete
  12. You going to get the google maps team to use it?

    Reply Delete
  13. This comment has been removed by the author.

    Reply Delete
  14. Thanks.
    We will probably start using it at www.avst.com

    Reply Delete
  15. 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 :)

    Reply Delete
  16. Loved it. Thanks for the release...

    Reply Delete
  17. It's great!
    I supporse Google will buy Bit.ly

    Reply Delete
  18. Is it automatically found in Chrome? I've been using the Bit.Ly extension in Chrome.

    Reply Delete
  19. guys wait, tinyurl.com was already there from ages... got it... google should Donate using there knowledge...

    Reply Delete
  20. Awesome, Thanks Google.

    Reply Delete
  21. I am a robot ::cheer::

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

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

    Reply Delete
  24. COJO-" NUDO " <=> El " GUANTE BLANCO @... URL&Google||||||||||||||||||||||||||||||||||||||Si

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

    Reply Delete
  26. Where can we find a truly free app with no strings attached unless you upgrade?

    Back to the lab!

    Reply Delete
  27. thnx....at last we get it

    Reply Delete
  28. Well lets put it to test

    Reply Delete
  29. I am one Developer

    Reply Delete
  30. We added it to our social media management app: http://goo.gl/0Ntxl

    Reply Delete
  31. catalogue designer in delhi 9810968828

    Reply Delete
  32. Really good job A+.....

    Reply Delete
  33. 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

    Reply Delete
  34. Brillant!

    Reply Delete
  35. 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.

    Reply Delete
  36. 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!!

    Reply Delete
  37. One of the Smartest Feature of Google :)

    Reply Delete

Subscribe to: Post Comments (Atom)

AltStyle によって変換されたページ (->オリジナル) /