Author

Topic: Bitcoin address balance checker. (Read 414 times)

legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
July 30, 2021, 10:47:02 AM
#30
I didn't see this thread when it came out, however, I'd just like to make mention of one tool I use for posting the price of bitcoin or the amount of bitcoin in terms of a given fiat as exampled in this quote from my Lightning Loans thread:

Mainnet LN loans are also down to BTC 0.00002 and BTC 0.0000202 repayment if more than 24 hours lent.

At one point in the past, the images stopped working.  I was able to get them going by adding an "S" to the http at the beginning of the URL i.e. https

The above are configurable either on the website https://youmeandbtc.com/bitcoin-converter or tweeking the code.

(and yes, it doesn't check balances, but it can complement your project never-the-less)
legendary
Activity: 2758
Merit: 6830
July 26, 2021, 01:19:36 AM
#29
@TryNinja: is this no longer working? I mean: can you fix it? Cheesy
Sorry, it went down when my VPS shit the bed and I totally forgot to put it back online. Grin
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
July 26, 2021, 12:53:51 AM
#28
@TryNinja: is this no longer working? I mean: can you fix it? Cheesy
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 20, 2020, 09:39:45 AM
#27
It works, finally. But it seems only to an incoming transaction. I tested with sending BTC and there aren't notifications. I think the problem is here.

Excuse my fat finger :-p
In my case I received notification for both incoming and outgoing tx. Strange things are happening in your side :-D

I have not tested it with any other coin though.
legendary
Activity: 3472
Merit: 3507
Crypto Swap Exchange
May 20, 2020, 09:23:06 AM
#26
It works, finally. But it seems only to an incoming transaction. I tested with sending BTC and there aren't notifications. I think the problem is here.
I must confirm one great stuff here, I receive some tokens on my ETH address and notifications working with them. It is better than Etherscan, which have options only for Ethereum.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 19, 2020, 02:58:34 PM
#25
Is it your address segwit?
Yes, it this one: 3Covid19s5zLNzQHGGLBeqkizwApUb19bj
An hour ago there was another TX and I got notified too. Not sure what is going on in your side.

Edit:

One thing I noticed is that it gives more than one notification for some tx. I am still new and may be need more time to figure it out.
copper member
Activity: 1666
Merit: 1901
Amazon Prime Member #7
May 19, 2020, 02:18:00 PM
#24
Are you using a block explorer API to obtain the balance? Or do you have a DB with each address’ balance?

I would think you would hit your 5k request/month limit fairly quickly considering that each time this page is viewed, it is querying your site 6 times.

I was discussing creating an API for someone who wanted to be able to query the balance of any address a few months ago. He ended up ghosting me (and I strongly suspect creating additional accounts asking for help with various aspects of this project) before we could arrange for escrow to hold payment. I had created basic pseudo code for importing address balances into a DB. Querying a DB shouldn’t be difficult and it shouldn’t be difficult to monitor the bitcoin price on an ongoing basis.
The limit is only to grab the value in USD of an address or the amount in BTC worth of a certain amount (/price/ endpoint). All of these features use BitcoinAverage's API which is limited. I could easily cache the price, like Loyce said, which is what I will probably do soon.

For the balance, there is no limit. And no, I don't save any balance of the addresses. When the image is generated, my server pings Blockstream's explorer API and get the balance of the address (where there is no visible limit).
Most major exchanges have API endpoints that you could connect to that display the “last” price on their exchange. I also believe futures exchanges have endpoints that return the reference index price. I wouldn’t think they would have limits you would reasonably hit.
legendary
Activity: 2758
Merit: 6830
May 19, 2020, 01:47:35 PM
#23
Are you using a block explorer API to obtain the balance? Or do you have a DB with each address’ balance?

I would think you would hit your 5k request/month limit fairly quickly considering that each time this page is viewed, it is querying your site 6 times.

I was discussing creating an API for someone who wanted to be able to query the balance of any address a few months ago. He ended up ghosting me (and I strongly suspect creating additional accounts asking for help with various aspects of this project) before we could arrange for escrow to hold payment. I had created basic pseudo code for importing address balances into a DB. Querying a DB shouldn’t be difficult and it shouldn’t be difficult to monitor the bitcoin price on an ongoing basis.
The limit is only to grab the value in USD of an address or the amount in BTC worth of a certain amount (/price/ endpoint). All of these features use BitcoinAverage's API which is limited. I could easily cache the price, like Loyce said, which is what I will probably do soon.

For the balance, there is no limit. And no, I don't save any balance of the addresses. When the image is generated, my server pings Blockstream's explorer API and get the balance of the address (where there is no visible limit).
copper member
Activity: 1666
Merit: 1901
Amazon Prime Member #7
May 19, 2020, 01:25:07 PM
#22

And again, it will be limited to 5k requests/month until/unless people get more interest in this and I try to find a different solution.
Are you using a block explorer API to obtain the balance? Or do you have a DB with each address’ balance?

I would think you would hit your 5k request/month limit fairly quickly considering that each time this page is viewed, it is querying your site 6 times.

I was discussing creating an API for someone who wanted to be able to query the balance of any address a few months ago. He ended up ghosting me (and I strongly suspect creating additional accounts asking for help with various aspects of this project) before we could arrange for escrow to hold payment. I had created basic pseudo code for importing address balances into a DB. Querying a DB shouldn’t be difficult and it shouldn’t be difficult to monitor the bitcoin price on an ongoing basis.
legendary
Activity: 3472
Merit: 3507
Crypto Swap Exchange
May 19, 2020, 12:42:04 PM
#21
Well, I am surprised, there is an option for many major currencies.
It seems does not work for me. I just send some BTC, but I did not receive any notification.
The bot also does not read my regular balances on the added address.
First you need to give them the address and then they will ask you to chose which coin and you chose Bitcoin to activate the notifications. Mine s working fine. Reveived three notificaions for two tx. My guess is one tx was rebroadcased because the fees was low or I would have two notifications for two tx.

I guess remove the bot and then add it again. Hopefully it will work.

Of course, I know that I need to add address and connected them with the proper coin. Done it all, but nothing after the first transaction.
I added some other coins, I will follow how it works with them.
Is it your address segwit?
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 19, 2020, 12:32:34 PM
#20
Well, I am surprised, there is an option for many major currencies.
It seems does not work for me. I just send some BTC, but I did not receive any notification.
The bot also does not read my regular balances on the added address.
First you need to give them the address and then they will ask you to chose which coin and you chose Bitcoin to activate the notifications. Mine s working fine. Reveived three notificaions for two tx. My guess is one tx was rebroadcased because the fees was low or I would have two notifications for two tx.

I guess remove the bot and then add it again. Hopefully it will work.
legendary
Activity: 3472
Merit: 3507
Crypto Swap Exchange
May 19, 2020, 05:22:02 AM
#19


There are. Not from me, though.

I always used @MagnumNotifierBot (Telegram) for that. They support a lot of coins and send you a notification every time you have an incoming or outgoing transaction from a tracked address.
Something that caught my attention now. So how do I set up this bot with the specific address I want. I need it to observe the Covid-19 project donation address.

Edit: I am feeling stupid now lol
I just added the address with the bot and it was super easy lol

Well, I am surprised, there is an option for many major currencies.
It seems does not work for me. I just send some BTC, but I did not receive any notification.
The bot also does not read my regular balances on the added address.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 18, 2020, 11:05:57 PM
#18


There are. Not from me, though.

I always used @MagnumNotifierBot (Telegram) for that. They support a lot of coins and send you a notification every time you have an incoming or outgoing transaction from a tracked address.
Something that caught my attention now. So how do I set up this bot with the specific address I want. I need it to observe the Covid-19 project donation address.

Edit: I am feeling stupid now lol
I just added the address with the bot and it was super easy lol
legendary
Activity: 2758
Merit: 6830
May 18, 2020, 04:02:51 PM
#17
I need to expand the story a bit.
Are there any tools with transaction notifications? Email, Telegram or whatever notification when balance changed?
I use something on Etherscan for Ethereum changes, but it will be fine if there any tools for Bitcoin addresses.
There are. Not from me, though.

I always used @MagnumNotifierBot (Telegram) for that. They support a lot of coins and send you a notification every time you have an incoming or outgoing transaction from a tracked address.
legendary
Activity: 3472
Merit: 3507
Crypto Swap Exchange
May 18, 2020, 03:58:52 PM
#16
I need to expand the story a bit.
Are there any tools with transaction notifications? Email, Telegram or whatever notification when balance changed?
I use something on Etherscan for Ethereum changes, but it will be fine if there any tools for Bitcoin addresses.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
May 17, 2020, 02:28:34 AM
#15
And again, it will be limited to 5k requests/month until/unless people get more interest in this and I try to find a different solution.
If you cache the price data and update no more than once every 10 minutes, you'll never hit the limit.

Thanks for the tool! I've bookmarked your post.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 02:26:01 PM
#14
Good to know. I think we don't need both to be in the same image. Separate will make the life easier for me :-o
Done! It's the same format as the /balance/ endpoint but with /price/ instead.

Format: https://btc.ninjastic.space/price/ADDRESS/COLOR?size=X


https://btc.ninjastic.space/price/3Covid19s5zLNzQHGGLBeqkizwApUb19bj/ff0000?size=16
This is great man and quick.

Cheers,
legendary
Activity: 2758
Merit: 6830
May 16, 2020, 11:52:32 AM
#13
Good to know. I think we don't need both to be in the same image. Separate will make the life easier for me :-o
Done! It's the same format as the /balance/ endpoint but with /price/ instead.

Format: https://btc.ninjastic.space/price/ADDRESS/COLOR?size=X


https://btc.ninjastic.space/price/3Covid19s5zLNzQHGGLBeqkizwApUb19bj/ff0000?size=16
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 11:33:47 AM
#12
I think there is a misunderstanding in my expectations. I want the USD value of a given address.

So if the address has 1 BTC balance then we will see USD value of that 1 BTC.
Ohh... I see. I can implement that as well. Smiley

You want it in a different endpoint/image so you can put one right the other (amount in BTC and price) or both in the same image, e.g 1 BTC ($9385)?

Good to know. I think we don't need both to be in the same image. Separate will make the life easier for me :-o
legendary
Activity: 2758
Merit: 6830
May 16, 2020, 11:21:42 AM
#11
I think there is a misunderstanding in my expectations. I want the USD value of a given address.

So if the address has 1 BTC balance then we will see USD value of that 1 BTC.
Ohh... I see. I can implement that as well. Smiley

You want it in a different endpoint/image so you can put one right the other (amount in BTC and price) or both in the same image, e.g 1 BTC ($9385)?
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 11:16:57 AM
#10
Just released,  we need to Dollar value :-P
If you need to use it, it's also quite simple:

https://btc.ninjastic.space/price/AMOUNT/color?ticker=USD&size=X

Example:

= $100
https://btc.ninjastic.space/price/100/ff0000?ticker=USD

It uses BitcoinAverage price.

And again, it will be limited to 5k requests/month until/unless people get more interest in this and I try to find a different solution.
I think there is a misunderstanding in my expectations. I want the USD value of a given address.

So if the address has 1 BTC balance then we will see USD value of that 1 BTC.
legendary
Activity: 2758
Merit: 6830
May 16, 2020, 11:11:56 AM
#9
Just released,  we need to Dollar value :-P
If you need to use it, it's also quite simple:

https://btc.ninjastic.space/price/AMOUNT/color?ticker=USD&size=X

Example:

= $100
https://btc.ninjastic.space/price/100/ff0000?ticker=USD

It uses BitcoinAverage price.

And again, it will be limited to 5k requests/month until/unless people get more interest in this and I try to find a different solution.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 10:45:51 AM
#8
Imagine you own the private key :-P
A man can only wish...
Imagine we are into bitcoin before few hundreds billions people in the world and have more or less some holdings. It's not less big bud. :-D

Awesome work and you saved my day.

Cheers,

Edit:
It also has a price endpoint where you input a value (e.g 10 USD) and it shows the amount in BTC, but the API I use (Bitcoinaverage) is limiting the free accounts to 5k requests month, so it's not as reliable as the /balance.
Just released,  we need to Dollar value :-P

Looking forward to it bud @TryNinja



legendary
Activity: 2758
Merit: 6830
May 16, 2020, 10:37:21 AM
#7
Looking forward to it bud @TryNinja
All good now. Looks like your image is already working. Cool

Keep in mind that I'm not sure how the forum's proxy image works and if they cache the image or something, so I'm not 100% sure if it will be always updated and if not, how long does it take to update.

It also has a price endpoint where you input a value (e.g 10 USD) and it shows the amount in BTC, but the API I use (Bitcoinaverage) is limiting the free accounts to 5k requests month, so it's not as reliable as the /balance.

Imagine you own the private key :-P
A man can only wish...
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 09:39:19 AM
#6
Looking forward to it bud @TryNinja



Cheers,

Edit:
It looks like this:

Imagine you own the private key :-P

legendary
Activity: 2758
Merit: 6830
May 16, 2020, 09:13:37 AM
#5
I've done that. It also supports bech32, which the one you linked above didn't.

Unfortunately, Let's Encrypt just rate limited me because I did a mistake and I'm waiting for it to clear out in ~1 hour so I can get a SSL certificate for this project's subdomain.

It should be: https://btc.ninjastic.space

Example:

https://btc.ninjastic.space/balance/1BAFWQhH9pNkz3mZDQ1tWrtKkSHVCkc3fV

You can also customize the color and size of the image:
https://btc.ninjastic.space/balance/:ADDRESS/:COLOR-HEX/?size=X

Example:

https://btc.ninjastic.space/balance/1BAFWQhH9pNkz3mZDQ1tWrtKkSHVCkc3fV/ff0000?size=24

It's giving an error because of the SSL thing, but it should work in a few hours. =(

edit: working now!
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
May 16, 2020, 09:02:01 AM
#4
Can anyone help me find a tool to serve my purpose.

Cheers,

I have created a tool in excel that does exactly that, unlimited number of addresses and pretty easy to use.
Look here:

Create an Address and Wallet Watcher for free with Excel+ Blockchair API

As I have many addresses with balance, I really need a tool like this,.

Additionally, you can check these websites, but both have cons:

http://www.homebitcoin.com/easybalance/ (only for 1 and 3 addresses, don't recognize native segwit)
www.blockonomics.co (need to create an account, bad for privacy)
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 08:16:52 AM
#3
I used the same site, and I've missed it too. But it's open source so anyone can recreate it.
I do not have much clue about process of recreating it :-p
This was really a useful too when that site had it active.
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
May 16, 2020, 07:46:19 AM
#2
I used the same site, and I've missed it too. But it's open source so anyone can recreate it.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
May 16, 2020, 07:38:06 AM
#1
I used to use this tool to post in the forum where I needed an image of the balance of the btc address: https://btc-priceimg.herokuapp.com/

But it seems the tool is not working anymore.

I needed to post an image of $ balance of the escrow address of Project Covid-19 in a post:

The current balance in the donation address is ~ $176.34 (0.01894254 BTC)
Please check in the explorer : https://blockchair.com/bitcoin/address/3Covid19s5zLNzQHGGLBeqkizwApUb19bj

Can anyone help me find a tool to serve my purpose.

Cheers,
Jump to: