Getting all transactions that ever occurred for a bitcoin address

2

1

I know you can use various APIs to get the balance for a given bitcoin address, but is there a way to total all the bitcoin that were ever received at a given address?

A so-called "transaction history" for a given address?

tim peterson

Posted 2014-09-18T21:53:46.663

Reputation: 165

Answers

2

BlockTrail's address API will do what you're looking for.

Calling URL:

https://api.blocktrail.com/v1/btc/address/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T?api_key=MY_APIKEY

Result:

{
    "address": "1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T",
    "hash160": "ED12908714FFD43142BF9832692017E8AD54E9A8",
    "balance": 49497392,
    "received": 115015000,
    "sent": 65517608,
    "unconfirmed_received": 0,
    "unconfirmed_sent": 0,
    "unconfirmed_transactions": 0,
    "total_transactions_in": 4,
    "total_transactions_out": 10,
    "category": "donations",
    "tag": "blocktrail"
}

Lisa Cheng

Posted 2014-09-18T21:53:46.663

Reputation: 35

1

Bitcoin-Abe can do this, and I wrote a guide on installing it here.

Once you have it installed, issue a getrecievedbyaddress request.

Nick ODell

Posted 2014-09-18T21:53:46.663

Reputation: 26 536