Author

Topic: site with API for unconfirmed transactions? (Read 1112 times)

hero member
Activity: 812
Merit: 1000
November 08, 2011, 05:20:42 PM
#5
Hi,

Sorry, didn't quite follow what you last wrote -- something like a site where getting site.awesome.com/, where the request would stall till a transaction targeting that address arrived, would that be what you're looking for?

Thanks,
--vs;

no, it wouldn't stall, it would just return "received":"0" and you'd have to sleep(10) and poll it again later.
newbie
Activity: 18
Merit: 0
November 08, 2011, 10:46:22 AM
#4
Hi,

Sorry, didn't quite follow what you last wrote -- something like a site where getting site.awesome.com/, where the request would stall till a transaction targeting that address arrived, would that be what you're looking for?

Thanks,
--vs;
hero member
Activity: 812
Merit: 1000
November 07, 2011, 10:45:46 AM
#3
i was actually referred to bitcoinnotify.com but i suspect they make you specify your address beforehand, rather than pass it to an api on-the-fly.

eg. somedomain.com?addr=blahblahblah might return {"address":"blahblahblah","totalunconfirmed":"12.45"}

if you have to specify 'blahblahblah' when you sign up then it wouldn't be very useful at all.

edit: yeah i was right, i signed up and it works by getting a list of your receiving addresses and then i guess notifies you whenever any of them get funded.

i was thinking more along the lines of a site that generates a unique address per user (maybe thousands and thousands of users), and then having some api somewhere that it could poll to see if the customer sent the money or not.

all without running bitcoind.
full member
Activity: 225
Merit: 101
November 07, 2011, 10:36:04 AM
#2
Is http://transactionradar.com/ closer to what you need?

Edit: probably not as it doesn't list new transactions as far as I can tell.
hero member
Activity: 812
Merit: 1000
November 06, 2011, 05:01:08 AM
#1
i am wondering if there is any site that offers an API with the functionality of this page: http://bitcoincharts.com/bitcoin

it's easy to grab data from blockexplorer for various projects, but that only displays information on confirmed transactions.

is there anywhere you can poll to find info on an unconfirmed transaction, without running bitcoind?

one could theoretically scrape http://bitcoincharts.com/bitcoin, but it may not be the most efficient method.
Jump to: