Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

E.g., if I wanted to create a cron script that would grab the latest spot price every hour and store it in a local file or database, what would be the place to "scrape" that information from?

(Actually writing the script is not the problem, in my case.)

share|improve this question
FYI, I ended up using the API of BitcoinCharts.com to do this. The Mt Gox API may have worked just as well in my case, but for whatever reason, I was having an issue with my (Python) script that attempted to poll mtgox.com -- it would hang upon making the HTTPS request. –  Chris W. Oct 31 '11 at 14:18

2 Answers 2

up vote 11 down vote accepted

You could use the JSON encoded ticker data available from MtGox at: https://mtgox.com/api/0/data/ticker.php

Just use whatever your language's equivalent to cURL or wGet is and parse as appropriate.

share|improve this answer

You could try using www.btcrate.com as well, which supports additional currencies (should you need them).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.