Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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 -- it would hang upon making the HTTPS request. – Chris W. Oct 31 '11 at 14:18
up vote 11 down vote accepted

You could use the JSON encoded ticker data available from MtGox at:

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

share|improve this answer

You could try using 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.