Here a simple demo for expand a bit.ly URL to its original URL. How to take a bit.ly link and return the fully expanded link? and you can check the status of the bitly link.
Eg url: http://bit.ly/digitalocean10Doff
You may also like:
How to expand the bitly links with simple python module
• Video