With the URL Shortener API you can write applications that use simple HTTP methods to create, inspect, and manage goo.gl short links from desktop, mobile, or web.
With the URL Shortener API you can write applications that use simple HTTP methods to create, inspect, and manage goo.gl short links from desktop, mobile, or web.
Datatype | Description | Example |
---|---|---|
Datepicker | String which includes date and time | |
Map | String which includes latitude and longitude coma separated | |
List | Simple array | |
Select | String with predefined values | |
Array | Array of objects |
The Google URL Shortener API allows you to shorten URLs just as you would on goo.gl.
Field | Type | Description |
---|---|---|
apiKey | credentials | Your application API key. |
longUrl | String | Long URL |
You can call this method to expand any goo.gl short URL.
Field | Type | Description |
---|---|---|
apiKey | credentials | Your application API key. |
shortUrl | String | Short URL |
To look up a short URL’s analytics
Field | Type | Description |
---|---|---|
apiKey | credentials | Your application API key. |
shortUrl | String | Short URL |
To fetch a user’s history.
Field | Type | Description |
---|---|---|
accessToken | credentials | OAuth 2.0 access token. |