Detailed Information about URL shortening services supported by pyShortUrl

Parth Bhatt edited this page Apr 8, 2012 · 7 revisions

Detailed Information about shortening services supported by pyShortUrl

Following table explains what features are supported for which services:

Domain Shorten/Expand URL QR code Statistics
goo.gl YES YES NO
bit.ly YES YES NO
j.mp YES YES NO
bitly.com YES YES NO
tinyurl.com YES NO NO
v.gd YES NO NO
is.gd YES NO NO

Goo.gl

Getting the API key to use with goo.gl

If you want to keep track of your traffic, you need to get the API key available from Google and use it in your project.

Use steps mentioned below to get your API key for goo.gl:

  1. Goto Google API Home and login using your google id.
  2. Click on Create project
  3. Goto URL Shortener API in the long list of google services and click on the off/on button. Read the terms and conditions and click on Accept. You will be redirected back to the same page with URL Shortener API enabled.
  4. Now, click on URL Shortener API.
  5. On the panel on the left side of the page, click on API Access and grab
your API key under Simple API Access.

Note: You can see Traffic Reports associated with your API key by navigating to the Reports link on the left panel.

To see how this API key can be used with pyShortUrl, checkout ________

Rate limiting

Per-User Limit 1.0 requests/second/user (configurable)
Courtesy Limit 1,000,000 queries/day

For most users, these limits should suffice. In case you find these numbers to be too small for the kind of traffic you are seeing, you can request google to increate these limits for your project. To do so, goto the Quotas link in the left panel once you login to Google API Home.

Some Useful links

Google URL Shortener API Home: http://code.google.com/apis/urlshortener/

pyShortUrl implements the API document that can be found at the following url: http://code.google.com/apis/urlshortener/v1/getting_started.html

bit.ly

bit.ly also supports url shortening for domains j.mp and bitly.com. So the information in this section is also valid in case you are looking to shorten your urls using one of those domains.

Getting the API key to use with bit.ly

  1. Goto https://bitly.com/ and create your account. You can also sigin with your Facebook or Twitter account.
  2. Once you are logged in, visit: http://bitly.com/a/your_api_key/ and get your bitly Username and bitly API Key.

Rate limiting

bitly currently limits API users to no more than five concurrent connections from a single IP address. Also, bitly also institutes per-hour, per-minute, and per-ip rate limits for each API method.

While rate limits exist, default limits are more than sufficient for nearly any size site.

Please note that our API rate limits reset every hour on the hour. If you are experiencing rate limiting errors, please wait until the top of the hour to resume making API calls.

Be sure to read http://code.google.com/p/bitly-api/wiki/ApiBestPractices#Rate_Limiting

Some Useful links

ApiBestPractices: http://code.google.com/p/bitly-api/wiki/ApiBestPractices

pyShortUrl implements the API document that can be found at the following url: http://code.google.com/p/bitly-api/wiki/ApiDocumentation

v.gd

Rate limiting

A user is allowed to make a maximum of 5 connections to v.gd at any given time.

In addition, following rate limits are imposed by v.gd:

Action Limit (per minute) Limit (per day)
Shortening a URL 30 43,200
Shortening a URL with optional access statistics turned on 15 21,600
Looking up a shortened URL 60 86,400
Viewing URL statistics 12 17,280

Checkout this page for the latest rate limits for v.gd: http://v.gd/usagelimits.php

These limits are enforced on a per-IP basis, so you'd typically only encounter them when a single machine or server makes heavy use of the API.

These limits use a combined counter so, for example, you couldn't look up 60 URLs and also shorten 30 within the same minute.

Some Useful links

pyShortUrl implements the API document that can be found at the following url: http://v.gd/developers.php

is.gd

Rate limiting

A user is allowed to make a maximum of 5 connections to v.gd at any given time.

In addition, following rate limits are imposed by v.gd:

Action Limit (per minute) Limit (per day)
Shortening a URL 30 43,200
Shortening a URL with optional access statistics turned on 15 21,600
Looking up a shortened URL 60 86,400
Viewing URL statistics 12 17,280

Checkout this page for the latest rate limits for v.gd: http://is.gd/usagelimits.php

These limits are enforced on a per-IP basis, so you'd typically only encounter them when a single machine or server makes heavy use of the API.

These limits use a combined counter so, for example, you couldn't look up 60 URLs and also shorten 30 within the same minute.

Some Useful links

pyShortUrl implements the API document that can be found at the following url: http://is.gd/developers.php

tinyurl.com

Rate limiting

Some Useful links

References:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.