The short answer is no.

Each exchange that deals in bitcoins has it's own pricing, there is no single exchange from which to draw data.

The exchanges may or may not have have an api to access their pricing history with, you would need to check that exchange to see.

https://btc-e.com/api/documentation is one such exchange, but they don't appear to have their trade history available, for example.