Bitcoin Forum
February 27, 2024, 07:05:37 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Restful service that returns historical price data?  (Read 862 times)
coinsentry (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
June 21, 2014, 05:04:01 AM
 #1

I'm looking for some kind of API service (like blockr.io) that will return the price of BTC (for any exchange, but preferably Bitstamp or something) at a point in the past.

So I could do something like:

http://some.api.com/get_price?date=[timestamp]

and it would return the price as it was on that timestamp. All the API's that I've been able to find will only return the current price.
1709017537
Hero Member
*
Offline Offline

Posts: 1709017537

View Profile Personal Message (Offline)

Ignore
1709017537
Reply with quote  #2

1709017537
Report to moderator
1709017537
Hero Member
*
Offline Offline

Posts: 1709017537

View Profile Personal Message (Offline)

Ignore
1709017537
Reply with quote  #2

1709017537
Report to moderator
1709017537
Hero Member
*
Offline Offline

Posts: 1709017537

View Profile Personal Message (Offline)

Ignore
1709017537
Reply with quote  #2

1709017537
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1709017537
Hero Member
*
Offline Offline

Posts: 1709017537

View Profile Personal Message (Offline)

Ignore
1709017537
Reply with quote  #2

1709017537
Report to moderator
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1480


No I dont escrow anymore.


View Profile WWW
June 21, 2014, 10:15:52 AM
 #2

Quote
http://api.bitcoincharts.com/v1/trades.csv?symbol=SYMBOL[&start=UNIXTIME]

returns CSV:

unixtime,price,amount

http://bitcoincharts.com/about/markets-api/

Im not really here, its just your imagination.
BitCoinDream
Legendary
*
Offline Offline

Activity: 2296
Merit: 1204

The revolution will be digital


View Profile
June 21, 2014, 06:20:43 PM
 #3

I'm looking for some kind of API service (like blockr.io) that will return the price of BTC (for any exchange, but preferably Bitstamp or something) at a point in the past.

So I could do something like:

http://some.api.com/get_price?date=[timestamp]

and it would return the price as it was on that timestamp. All the API's that I've been able to find will only return the current price.

I think this is what u r looking for...

https://blockchain.info/tobtc?currency=USD&value=600

p.s. Change the currency code and value as per your requirement.

coinsentry (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
June 25, 2014, 04:52:25 AM
 #4

This doesn't seem to work at all. I change the timestamp, but it seems to ignore that value and only give m the current price...

At any rate, I made this last weekend since I couldn't find anything else... https://github.com/priestc/HistoricalCryptoPrices
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!