URL Shortener API

API Reference

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

Url

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: https://www.googleapis.com/urlshortener/v1

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.