Title: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 02, 2016, 10:12:50 AM Good morning everyone.
I'm looking for the different APIs to see the balance of a bitcoin address. Currently I have checked: https://blockchain.info/q/addressbalance/ (https://blockchain.info/q/addressbalance/) http://btc.blockr.io/api/v1/address/info/ (http://btc.blockr.io/api/v1/address/info/) https://blockexplorer.com/api/addr/ (https://blockexplorer.com/api/addr/) https://www.bitgo.com/api/v1/address/ (https://www.bitgo.com/api/v1/address/) And this: https://bitcoin.toshi.io/api/v0/addresses/ (https://bitcoin.toshi.io/api/v0/addresses/) https://chain.api.btc.com/v3/address/ (https://chain.api.btc.com/v3/address/) Added news APIS (9/9/2016): https://api.blocktrail.com/v1/btc/address/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T?api_key=MY_APIKEY (https://api.blocktrail.com/v1/btc/address/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T?api_key=MY_APIKEY) https://api.blockcypher.com/v1/btc/main/addrs/1DEP8i3QJCsomS4BSMY2RpU1upv62aGvhD/balance (https://api.blockcypher.com/v1/btc/main/addrs/1DEP8i3QJCsomS4BSMY2RpU1upv62aGvhD/balance) https://api-r.bitcoinchain.com/v1/address/1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b (https://api-r.bitcoinchain.com/v1/address/1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b) https://api.kaiko.com/v1/addresses/3Nt1smucEdFks8uYQhyGvXGBuocTcMSmsT (https://api.kaiko.com/v1/addresses/3Nt1smucEdFks8uYQhyGvXGBuocTcMSmsT) https://chainflyer.bitflyer.jp/v1/address/1LDWeSRJukN7zWXDBpuvB2WGsMxYE7UTnQ (https://chainflyer.bitflyer.jp/v1/address/1LDWeSRJukN7zWXDBpuvB2WGsMxYE7UTnQ) https://insight.bitpay.com/api/addr/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T/?noTxList=1 (https://insight.bitpay.com/api/addr/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T/?noTxList=1) Added news APIs (10/9/2016): https://api.coinprism.com/v1/addresses/1dice97ECuByXAvqXpaYzSaQuPVvrtmz6 (https://api.coinprism.com/v1/addresses/1dice97ECuByXAvqXpaYzSaQuPVvrtmz6) To use these APIs do not need any registration. Does anyone know any other API that is not here? a greeting Title: Re: APIs to know the balance of a bitcoin address Post by: neginazin on September 02, 2016, 01:38:01 PM thanks for nice post
Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 02, 2016, 03:15:07 PM Another API:
https://api.blocktrail.com/v1/btc/address/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T?api_key=MY_APIKEY (https://api.blocktrail.com/v1/btc/address/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T?api_key=MY_APIKEY) Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 03, 2016, 11:34:10 AM Another API:
https://api.blockcypher.com/v1/btc/main/addrs/1DEP8i3QJCsomS4BSMY2RpU1upv62aGvhD/balance (https://api.blockcypher.com/v1/btc/main/addrs/1DEP8i3QJCsomS4BSMY2RpU1upv62aGvhD/balance) More ??? Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 04, 2016, 09:04:08 AM Another API:
https://api-r.bitcoinchain.com/v1/address/1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b (https://api-r.bitcoinchain.com/v1/address/1Chain4asCYNnLVbvG6pgCLGBrtzh4Lx4b) Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 06, 2016, 07:19:59 AM New API Found:
https://api.kaiko.com/v1/addresses/3Nt1smucEdFks8uYQhyGvXGBuocTcMSmsT (https://api.kaiko.com/v1/addresses/3Nt1smucEdFks8uYQhyGvXGBuocTcMSmsT) Another? Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 07, 2016, 05:35:37 AM Another:
https://chainflyer.bitflyer.jp/v1/address/1LDWeSRJukN7zWXDBpuvB2WGsMxYE7UTnQ (https://chainflyer.bitflyer.jp/v1/address/1LDWeSRJukN7zWXDBpuvB2WGsMxYE7UTnQ) Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 07, 2016, 02:15:37 PM New API:
https://insight.bitpay.com/api/addr/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T/?noTxList=1 (https://insight.bitpay.com/api/addr/1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T/?noTxList=1) Title: Re: APIs to know the balance of a bitcoin address Post by: countryfree on September 07, 2016, 06:01:41 PM Surprising! I hadn't imagine there could be so many, considering that it's so easy to create a new address, I thought few people would find it useful to watch a given one. Well, I was wrong...
Title: Re: APIs to know the balance of a bitcoin address Post by: mobnepal on September 07, 2016, 06:47:58 PM wow, nice list i haven't searched apis this way. To lower the amount of request to some well known wallet/api services which limit request per second/hour, this could help by requesting balance check with these free api and just using those wallets api to make new address only.
Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 07, 2016, 10:06:16 PM wow, nice list i haven't searched apis this way. To lower the amount of request to some well known wallet/api services which limit request per second/hour, this could help by requesting balance check with these free api and just using those wallets api to make new address only. Thanks!!! It is very easy to create new address with code, for example in Python. Don't need a wallet. Title: Re: APIs to know the balance of a bitcoin address Post by: Doubler Disburser 232515 on September 07, 2016, 10:13:58 PM Thanks for the information, are you planning on reviewing them all? What are their strengths and weaknesses? What do you use them all for?
Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 08, 2016, 05:44:33 AM Thanks for the information, are you planning on reviewing them all? What are their strengths and weaknesses? What do you use them all for? The idea of this post is simply a compilation of APIs. It took me long to find this information, validate, and I think it can be a good contribution to the people of the forum. Title: Re: APIs to know the balance of a bitcoin address Post by: Coding Enthusiast on September 08, 2016, 06:12:11 AM thanks for this, i was looking for more APIs to use in my watch only bitcoin wallet. i am currently only using blockchain.info i guess i will only add blockr.io and maybe blockexplorer that should be enough.
p.s. please add all of them in the first post so we can see them all in one place. Title: Re: APIs to know the balance of a bitcoin address Post by: asad008 on September 08, 2016, 06:26:32 AM thanks nice post
Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 09, 2016, 05:37:45 AM thanks for this, i was looking for more APIs to use in my watch only bitcoin wallet. i am currently only using blockchain.info i guess i will only add blockr.io and maybe blockexplorer that should be enough. p.s. please add all of them in the first post so we can see them all in one place. Added!!!! Title: Re: APIs to know the balance of a bitcoin address Post by: btc_enigma on September 10, 2016, 06:13:43 AM Also Blockonomics api (https://www.blockonomics.co/views/api.html#balance)
I suggest you have a look a moneywagon project (https://github.com/priestc/moneywagon). Using it you can use bitcoin api, without worrying about backend service. It will do roundrobin/random selection of service, or also can do paranoid checking to make sure balance is correct across several services. It also supports most of the existing API services Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 10, 2016, 07:51:58 AM Also Blockonomics api (https://www.blockonomics.co/views/api.html#balance) I suggest you have a look a moneywagon project (https://github.com/priestc/moneywagon). Using it you can use bitcoin api, without worrying about backend service. It will do roundrobin/random selection of service, or also can do paranoid checking to make sure balance is correct across several services. It also supports most of the existing API services Thanks for this new API, but don't have JSON response... Title: Re: APIs to know the balance of a bitcoin address Post by: Coding Enthusiast on September 10, 2016, 07:56:41 AM Also Blockonomics api (https://www.blockonomics.co/views/api.html#balance) I suggest you have a look a moneywagon project (https://github.com/priestc/moneywagon). Using it you can use bitcoin api, without worrying about backend service. It will do roundrobin/random selection of service, or also can do paranoid checking to make sure balance is correct across several services. It also supports most of the existing API services Thanks for this new API, but don't have JSON response... what do you call this if not JSON response :) Code: {"response": [{"confirmed": 189412205, "addr": "1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp", "unconfirmed": 012211 }, {"confirmed": 746599881, "addr": "1dice97ECuByXAvqXpaYzSaQuPVvrtmz6", "unconfirmed": 0}]} Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 10, 2016, 09:54:45 AM Also Blockonomics api (https://www.blockonomics.co/views/api.html#balance) I suggest you have a look a moneywagon project (https://github.com/priestc/moneywagon). Using it you can use bitcoin api, without worrying about backend service. It will do roundrobin/random selection of service, or also can do paranoid checking to make sure balance is correct across several services. It also supports most of the existing API services Thanks for this new API, but don't have JSON response... what do you call this if not JSON response :) Code: {"response": [{"confirmed": 189412205, "addr": "1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp", "unconfirmed": 012211 }, {"confirmed": 746599881, "addr": "1dice97ECuByXAvqXpaYzSaQuPVvrtmz6", "unconfirmed": 0}]} i Call with python program, no errors in others APIs but, this not work: Code: addr = '1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp' i receive this error: content = response.json() File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 812, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 10, 2016, 09:57:32 AM New API added:
https://api.coinprism.com/v1/addresses/1dice97ECuByXAvqXpaYzSaQuPVvrtmz6 (https://api.coinprism.com/v1/addresses/1dice97ECuByXAvqXpaYzSaQuPVvrtmz6) Title: Re: APIs to know the balance of a bitcoin address Post by: Coding Enthusiast on September 10, 2016, 11:14:10 AM ## i Call with python program, no errors in others APIs but, this not work: Code: addr = '1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp' your problem is in your first line of code `request` you should send the request to the URI without the appended `addr` instead you should put the `addr` inside of a HttpRequest (equivalent in python) and `post` it. also you need to add a header with the ApiKey Code: POST https://www.blockonomics.co/api/balance Title: Re: APIs to know the balance of a bitcoin address Post by: btc_enigma on September 10, 2016, 11:45:22 AM Quote also you need to add a header with the ApiKey Actually API key is not needed. This should work: Code: import json Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 10, 2016, 12:00:50 PM Quote also you need to add a header with the ApiKey Actually API key is not needed. This should work: Code: import json Works fine... Thanks Title: Re: APIs to know the balance of a bitcoin address Post by: vishtany on September 12, 2016, 03:54:28 AM Ok, i added these to my list https://github.com/BITVoxy/awesome-bitcoin
Title: Re: APIs to know the balance of a bitcoin address Post by: xcbtrader on September 12, 2016, 06:40:43 AM Ok, i added these to my list https://github.com/BITVoxy/awesome-bitcoin Ok... No problem. |