Offers URL redirection service with real-time link tracking.

Here's what you can do with Bitly!

Given a long URL, returns a bitly short URL

{
  "action": "bitly.shorten",
  "config": [
  ]
}
Parameter Data Type Description Default
url string URLnone
Parameter Data Type Description
new_hash string 1 if new hash
url string Bitly URL
hash string Account URL Hash
global_hash string Global Hash
long_url string Source URL

Given a bitly URL or hash (or multiple), returns the target (long) URL

{
  "action": "bitly.expand",
  "config": [
  ]
}
Parameter Data Type Description Default
short_url string Bitly Short URLnone
hash string Bitly URL Hash (optional)none
Parameter Data Type Description
new_hash string 1 if new hash
url string Bitly URL
hash string Account URL Hash
global_hash string Global Hash
short_url string Bitly URL
long_url string Original URL

Credentials Required set with /rpc/oauth/bitly/auth