Author

Topic: Bitcoin blockchain data APIs (Read 303 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
March 09, 2022, 05:17:50 AM
#18
We are soon going to add this functionality as well as dozens of other methods to our upcoming NotATether Tools & Apps (https://notatether.com) with free interactive browser-based versions and just a small price for API credentials. So we encourage people to keep an eye on these developments closely.
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
March 05, 2022, 05:02:22 PM
#17
I'm working on a personal project that requires fetching bitcoin balances for many addresses at once so I've been looking at APIs that provide this data.

I have to wonder why you'd require this?  Surely you could scrape data from block explorers to get this information without the need of an API (although there are plenty out there).  I guess my concern is that you're doing something like generating tons of addresses and checking to see if any of them have a balance (my apologies if my assumption is way off).  This is the sort of thing that is not only a total waste of time, but bogs down free services that others may be using for legitimate reasons.  Again, I'm not accusing you of anything nefarious, but if you are planning to waste electricity generating billions of addresses to check for balances with a free service, I would urge you to reconsider as it has no upside.
staff
Activity: 3500
Merit: 6152
March 04, 2022, 08:22:18 AM
#16
You can add Quicknode.com. It's not that different from Getblock but it comes with an addon to fetch addresses balances: https://www.quicknode.com/chains/btc

It's not free though. You only have 7 days trial then it depends on which plan you're going with : https://www.quicknode.com/pricing
legendary
Activity: 3192
Merit: 2979
Top Crypto Casino
February 22, 2022, 03:37:17 PM
#15
...
True, but you don't need to prepare a server with 400GB+ storage to store the blockchain. Another service such as Bitcoin Explorer (which i mentioned above) also heavily utilize Bitcoin Core RPC.

Privacy matters my friend, maybe 400 GB is a huge price to pay, but making the RPC calls to our own server is priceless. And this way we have privacy and unlimited request per day.

We need a server to run our bitcoin node and that's the main reason users look for APIs, but the right way to deal with bitcoin is with our own Node.
staff
Activity: 3500
Merit: 6152
February 22, 2022, 05:10:19 AM
#14
It seems that you're right and I might be missing something due to having limited knowledge/experience in regards to using such commands in general, but does it mean that the following commands can't be used as a workaround?


You should be able to use them as a workaround but AFAIK, these commands require rescanning the blockchain which would take you several minutes.
legendary
Activity: 2968
Merit: 3406
Crypto Swap Exchange
February 21, 2022, 06:56:26 AM
#13
getbalance and getbalances would only work with your own wallet/node.
It seems that you're right and I might be missing something due to having limited knowledge/experience in regards to using such commands in general, but does it mean that the following commands can't be used as a workaround?

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
February 21, 2022, 05:59:07 AM
#12
-snip-

It appears that they only offer what bitcoin-cli already has[1][2].

True, but you don't need to prepare a server with 400GB+ storage to store the blockchain. Another service such as Bitcoin Explorer (which i mentioned above) also heavily utilize Bitcoin Core RPC.
newbie
Activity: 11
Merit: 6
February 21, 2022, 05:13:53 AM
#11
staff
Activity: 3500
Merit: 6152
February 21, 2022, 05:07:51 AM
#10
-snip-

It appears that they only offer what bitcoin-cli already has[1][2].
 
getbalance and getbalances would only work with your own wallet/node. You can't pass an address as an argument.

[1] https://getblock.io/docs/available-nodes-methods/BTC/JSON-RPC/getbalance/
[2] https://chainquery.com/bitcoin-cli/getbalance
newbie
Activity: 1
Merit: 0
February 20, 2022, 09:31:35 PM
#9
I Don't have personal experience with blockcypher but it does come well recommended
It has a pretty complete set of api's that should help inspect
legendary
Activity: 2968
Merit: 3406
Crypto Swap Exchange
February 20, 2022, 06:59:05 PM
#8
Does anyone know of any others that are worth checking out?
Found a few more that might come in handy:

legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
February 20, 2022, 09:03:26 AM
#7
I'm working on a personal project that requires fetching bitcoin balances for many addresses at once so I've been looking at APIs that provide this data.

Are you looking for anything more then just balances for addresses?

Also, there are many open source block explorers that you can run yourself with very little setup.
You will need storage space for the blockchain and database but beyond that if you can work with linux and some light database programming you can keep it all local.

If the free tiers give you what you need then it's probably not worth it, but once you are paying to do it, it might be cheaper to do it yourself.
Some of the nodes in a box that are out there will even do all the setup for you. You would have to configure some ini / conf files to have access off the node but beyond that, not much more is needed.

-Dave
staff
Activity: 3500
Merit: 6152
February 20, 2022, 07:02:40 AM
#6
It looks like the Zabo API is no longer available as https://api.zabo.com/ doesn't resolve. Probably due to Zabo being acquired by Coinbase last year.

You're right. Nothing else seems to be working either. I tried to create an account using all three available options (Github, Google, and email) but that didn't work.

Here's another service you can add: https://services.tokenview.com/

The limits are 300 requests per minute (99$ per month or 999$/year). You get 3 days for free when you first make an account.
newbie
Activity: 2
Merit: 25
February 20, 2022, 12:58:37 AM
#5
There's Block.io[1] but I couldn't find a mention of their API limits.

And you also have Zabo[2]. I haven't tried them myself but it should allow you to do exactly what the services you mentioned do and also get data from your exchange accounts.

[1] https://block.io/api/
[2] https://zabo.com/pricing/

Thanks! I've added Block.io to the list. I found their API limits at https://block.io/pricing. Unfortunately to query balances for arbitrary bitcoin addresses you need to be on the $130/month plan.

It looks like the Zabo API is no longer available as https://api.zabo.com/ doesn't resolve. Probably due to Zabo being acquired by Coinbase last year.

Check https://bitcoinexplorer.org/, it's decent enough for many tasks. I couldn't find any information about pricing/limit though.

Cheers, I hadn't come across bitcoinexplorer.org. It's nice that it is an open source project too.

What impressed me the most is that blockchair.com is not mentioned first, it is a slow service and they are using them domain name to make a quick profit.

Did you mean blockchain.com rather than blockchair.com? If so, I'd agree. I've also twice requested an API key from https://www.blockchain.com/api/request and both times haven't heard anything back.
staff
Activity: 3500
Merit: 6152
February 19, 2022, 08:37:09 AM
#4
-snip-
Any way, does anyone know why cryptoapis.io asks a high amount for things that can be obtained with free APIs services?

OP might be interested in fetching balances only, but unlike the other services, they seem to offer way more than that. They basically have everything you need to create almost anything you want: Exchanges, lending platforms, wallets, block explorers, portfolio management apps, etc., and it's not only for BTC. They seem to support many other blockchains and protocols.

legendary
Activity: 2506
Merit: 3645
Buy/Sell crypto at BestChange
February 19, 2022, 07:46:06 AM
#3
What impressed me the most is that blockchair.com is not mentioned first, it is a slow service and they are using them domain name to make a quick profit.
For most services, the free packages are sufficient, and the paid package is not expensive.
Any way, does anyone know why cryptoapis.io asks a high amount for things that can be obtained with free APIs services?
staff
Activity: 3500
Merit: 6152
February 19, 2022, 04:43:18 AM
#2
There's Block.io[1] but I couldn't find a mention of their API limits.

And you also have Zabo[2]. I haven't tried them myself but it should allow you to do exactly what the services you mentioned do and also get data from your exchange accounts.

[1] https://block.io/api/
[2] https://zabo.com/pricing/
newbie
Activity: 2
Merit: 25
February 19, 2022, 02:28:57 AM
#1
I'm working on a personal project that requires fetching bitcoin balances for many addresses at once so I've been looking at APIs that provide this data.

Here are the APIs I've found so far. Does anyone know of any others that are worth checking out? Has anyone had good or bad experiences with these APIs?

APIPlanPriceAddresses per requestRequests per minuteRequests per day
blockchair.com¹free$025,000301,000
blockchair.com¹pay-as-you-go$1 / 1,000 reqs25,000300
bitquery.iodeveloper$0100103,300
bitquery.ioteam$249 / month100180100,000
blockchain.info$01286
blockonomics.co$01002
chain.so$01300
nownodes.iofree$0120,000
nownodes.iostandard$3 / 100,000 reqs1
tatum.iofree$01300
tatum.iostart$9 / month112,00033,333
blockcypher.comfree$011802,000
blockcypher.comprototype$100 / month13005,000
blockstream.info²$01??
mempool.space²$01??
bitflyer.com²$01??
btc.com²$01??
bitcoinexplorer.org²$01??
cryptoapis.iostandard$113 / month1600600
block.iothe earth$130 / month2,50015,000

¹ For blockchair.com a single HTTP request to the mass balance check endpoint costs 1 + 0.001/numAddresses requests. For example, retreiving 1,000 address balances will cost 2 requests.
² No documented api limits.
Jump to: