Starting March 30, 2018, we will be turning down support for URL shortener. Please see this blog post for detailed timelines and alternatives.

API Reference

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: