Have you look into Yahoo's API's and web services:
http://developer.yahoo.com/everything.html
http://developer.yahoo.com/finance/company.html
Or Google's API and Web Services for finance:
https://developers.google.com/apps-script/reference/finance/
Hope this helps
LG