xe.com provide a current price, and a number of historic graphs.
not related to what i want
for example on btc-e
"high":389.44901
"low":380.04999
"avg":384.7495
"last":381.655
"vol_cur":7174.79211
how do i get
"open price" or any way to calculate it ?
Whatever script you're using that needs open price can be written to fetch the last trade at 0:00 (Midnight) or whatever time you feel is a proper open price. Bitcoinwisdom does this, on their homepage it shows "Today", being the open price (in %+/-), but I don't believe they have an API. If the script isn't a daemon, you might have to write a separate script and have it run by cron for your static script to handle separately.