Full docs here: http://dev.bitly.com/api.html
Replace [your api token] with your api token from: https://bitly.com/a/oauth_apps
Libraries for many languages found here: http://dev.bitly.com/code_libraries.html
Codecademy course found here: http://blog.bitly.com/post/40103601203/hack-at-bitlys-api-with-our-new-class-on-codecademy
This example uses mjson to prettypring the JSON output.
Returns phrases that are receiving an uncharacteristically high volume of click traffic, and the individual links (hashes) driving traffic to pages containing these phrases.
http://dev.bitly.com/data_apis.html#v3_realtime_bursting_phrases
curl https://api-ssl.bitly.com/v3/realtime/bursting_phrases?access_token=[your api token] | python -mjson.tool
Returns phrases that are receiving a consistently high volume of click traffic, and the individual links (hashes) driving traffic to pages containing these phrases.
http://dev.bitly.com/data_apis.html#v3_realtime_hot_phrases
curl https://api-ssl.bitly.com/v3/realtime/hot_phrases?access_token=[your api token] | python -mjson.tool