Using the blockchain.info API, how can I check the transactions from one address to another, including the number of confirmations?

Clarification: I have one address let us say. I want to programmatically check new transactions, without running a wallet and a full node on my computer. So my address is fixed. The sender address is also fixed. So, given 2 addresses, get all the transactions from one to the other. And ideally including the number of confirmations.

  • Can you clarify, are you just looking for all the TxIDs? UTXOs only? Need it be Blockchain.info? – Wizard Of Ozzie Sep 10 '15 at 3:39
  • Additional point to clarify, there is no from address, so you don't have an easy way of looking for transactions from one address to another, which is how I understand the question. – Drazisil Sep 10 '15 at 5:22
  • @Drazisil That's right; the easiest way I'd know is to get the TxIDs for from and to, Txs_from and Txs_to, respectively. Then find the intersection of these two TxID sets – Wizard Of Ozzie Sep 10 '15 at 13:49

You can use pybitcointools history(address). Note that this function has bugs, so try my fork instead.

Or, the API request for 12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX would be:


If there's more than 50 results, you'd change offset=50.

I'll provide more details if required.

My personal recommendation would be to use this API call, as there's no offset issues:

  • @Solver I'll check now mate, just so I know, are you familiar with Python? If so, I'll post the code instead of "pseudocoding" the answer – Wizard Of Ozzie Sep 10 '15 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy