As of March 30, 2019, the URL shortener was shut down. Please see this blog post for alternatives.

API Summary

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.


For Url Resource details, see the resource representation page.

Method REST URI * Description
insert POST  /url?key={key} The url.insert method creates a new short URL.
get GET  /url?key={key}&shortUrl={shortUrl}&projection={projection?} The url.get method gets expansion information for a specified short URL.
list GET  /url/history?key={key}&start-token={startToken?}&projection={projection?} The url.list method retrieves a list of URLs shortened by the authenticated user.

* Relative to the base URI: