Historical BTC data in JSON
You could also try the Blocktrail API: https://www.blocktrail.com/api. 
They are new on the scene but their API can be quite useful. They have a node.js API as well as PHP, Python, CURL and jQuery. It doesn't track prices though but hope it can be of help some other way.