Author

Topic: Check for bitcoin balance in C/C++ (An easy and good way to do that) (Read 570 times)

hero member
Activity: 658
Merit: 500
Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?

Check for balance and confirmations.

Thank's.

You can use bitcoind (need to download blockchain first), and then in your code, you only need to connect to bitcoind JSON RPC SERVER, and send command.
sr. member
Activity: 299
Merit: 256
Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?
Check for balance and confirmations.
Thank's.
Yes,you have two options:
1.Write your own remote procedure calls.
2.Use Api's of any third party developers which comes with limitations.But if you're usage is limited to only checking balance of address then this option is feasible otherwise as you said you need to take special privileges from the API providers.

Tutorial for writing your own Json RPC : 
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
https://www.youtube.com/watch?v=cMM-t7azzJE

Third party API references :
https://blockchain.info/api
[There are more,do your homework]



First thank you for your answer.

But is not what i am looking for ... i want an API that purpose unlimited request to check balance of address and the confirmations.

Blockchain is not good for this purpose since they ban IPs quickly and require each time to send them a message in order to unban you.

I want a list of websites like blockchain that have good rate of request allowed.
legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?
Check for balance and confirmations.
Thank's.
Yes,you have two options:
1.Write your own remote procedure calls.
2.Use Api's of any third party developers which comes with limitations.But if you're usage is limited to only checking balance of address then this option is feasible otherwise as you said you need to take special privileges from the API providers.

Tutorial for writing your own Json RPC : 
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
https://www.youtube.com/watch?v=cMM-t7azzJE

Third party API references :
https://blockchain.info/api
[There are more,do your homework]

sr. member
Activity: 299
Merit: 256
Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?

Check for balance and confirmations.

Thank's.
Jump to: