Bitcoin Forum
October 21, 2017, 02:40:38 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Open API to request Bitcoin blockchain data?  (Read 5003 times)
nemgun
Sr. Member
****
Offline Offline

Activity: 462



View Profile
February 28, 2017, 09:23:00 PM
 #21


I know how complex it is, and i know how much ressources it consumes, but why other API providers do it without restriction ?
Block.io is a simple API who does the job, now for security considerations i didn't went too much in testing as i never had to use it in a production environment, i just know that it is accessible, easy to use, clear UI. And these are very appreciated qualities.


Other API providers restrict usage of their APIs, and do not offer it for free.

Block.io does not do any job, and their API is shit and not free, I used them for a year and it was a pain in the ass to work with them, they use STRIPE to bill their customers even when they pay with bitcoin, what the heck ?

I used them in development only, i won't pay for an api, especially when i don't need to use it, it is just that APIs are easy to use, and provides quick deployment.
It can be a pain for sure, especially if you need methods they can't provide.
Have you switched to annother API ?

Moved to Bitgo, but I decided to build my own solutions instead of relying on third parties, even payable ones.

I am curious about your build, what did you created ? or maybe you found some open source web wallets with built-in API ?
the last i heard of bitgo was something like a year ago, they still exists then.


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
1508596838
Hero Member
*
Offline Offline

Posts: 1508596838

View Profile Personal Message (Offline)

Ignore
1508596838
Reply with quote  #2

1508596838
Report to moderator
1508596838
Hero Member
*
Offline Offline

Posts: 1508596838

View Profile Personal Message (Offline)

Ignore
1508596838
Reply with quote  #2

1508596838
Report to moderator
1508596838
Hero Member
*
Offline Offline

Posts: 1508596838

View Profile Personal Message (Offline)

Ignore
1508596838
Reply with quote  #2

1508596838
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508596838
Hero Member
*
Offline Offline

Posts: 1508596838

View Profile Personal Message (Offline)

Ignore
1508596838
Reply with quote  #2

1508596838
Report to moderator
BuySomeBitcoins
Sr. Member
****
Offline Offline

Activity: 308


Say Hello !


View Profile WWW
February 28, 2017, 09:39:36 PM
 #22


I am curious about your build, what did you created ? or maybe you found some open source web wallets with built-in API ?
the last i heard of bitgo was something like a year ago, they still exists then.


Bitgo is the wallet most exchangers are using, bitstamp, kraken, bitfinex, shapeshift, and most Bitcoin ATMs.

Joel_Jantsen
Hero Member
*****
Offline Offline

Activity: 756


You heard of Nemesis ?


View Profile WWW
February 28, 2017, 09:46:35 PM
 #23

or maybe you found some open source web wallets with built-in API ?
Is there a thing called "Open Source Web Wallets" ? Welp! I need to look that up son!
Would really help figure out transparency behind the wallet.Most of the online wallets do provide built in API's but with limited access and cross verification of the tokens.I'd rather write my own API instead of begging them to provide me unlimited requests per minute.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
~Bitcoin~
Legendary
*
Offline Offline

Activity: 868



View Profile
March 01, 2017, 12:44:21 PM
 #24

Is there a thing called "Open Source Web Wallets" ? Welp! I need to look that up son!
Would really help figure out transparency behind the wallet.Most of the online wallets do provide built in API's but with limited access and cross verification of the tokens.I'd rather write my own API instead of begging them to provide me unlimited requests per minute.
Check coinb.in they are opensource web based bitcoin wallet but i don't think they have API option.
You have to run own bitcoin node (wallet) to create own api or you can simply call your node using jsonrpc.

nemgun
Sr. Member
****
Offline Offline

Activity: 462



View Profile
March 01, 2017, 02:20:22 PM
 #25

or maybe you found some open source web wallets with built-in API ?
Is there a thing called "Open Source Web Wallets" ? Welp! I need to look that up son!
Would really help figure out transparency behind the wallet.Most of the online wallets do provide built in API's but with limited access and cross verification of the tokens.I'd rather write my own API instead of begging them to provide me unlimited requests per minute.

there are a lot of open source wallets :

- Safe wallet
- Insight API (then you have to build the frontend)
- PiWallet

These are the most used projects, buti  am sure you can find more on github.


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
TheByzantineGeneral
Jr. Member
*
Offline Offline

Activity: 33


View Profile
March 02, 2017, 03:51:54 AM
 #26

bitgo.com
blockcypher.com
blockchain.info
bitcore.io

and many more

bitKaBoom
Full Member
***
Offline Offline

Activity: 189



View Profile
March 15, 2017, 06:05:53 AM
 #27

Is there a thing called "Open Source Web Wallets" ? Welp! I need to look that up son!
Would really help figure out transparency behind the wallet.Most of the online wallets do provide built in API's but with limited access and cross verification of the tokens.I'd rather write my own API instead of begging them to provide me unlimited requests per minute.
Check coinb.in they are opensource web based bitcoin wallet but i don't think they have API option.
You have to run own bitcoin node (wallet) to create own api or you can simply call your node using jsonrpc.

for bitcoin node need hosting.
hosting for bitcoind cost not cheap
nemgun
Sr. Member
****
Offline Offline

Activity: 462



View Profile
March 15, 2017, 09:27:27 AM
 #28

you can use bcoin, or prune the bitcoin core, i am testing it on 0.14, it is great, even if you have to download the whole blockchain you keep just a fraction of it, you will need around 7gb to store a pruned bitcoin core.
You can also use other projects, depending on what you need you can use the APIs, or a pruned node, or if you are on nodeJS you can go bcoin, but you will need to be skilled as bcoin is kind of tricky, and complex.


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
cloverme
Legendary
*
Offline Offline

Activity: 1204


SpacePirate.io


View Profile WWW
March 15, 2017, 01:10:27 PM
 #29

I want to integrate requesting Bitcoin data into a little project of mine. Therefore I am looking for an open API where I can request Bitcoin address data like balance and transactions. Google did not give me useful results. Any advices how to do without running an own Bitcoin node?

Blockchain.info is the easiest, but anything free has its limits. So some API calls may be limited on number of times per day, etc. Also, there's downtime to contend with that you're not always notified about. My earlier projects used free API's but later I moved to my own nodes.

Code:
function getBalance($address) {
    return file_get_contents('https://blockchain.info/en/q/addressbalance/'. $address);
}
$balance_address =  getBalance('1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa');



         ▄▄▄████████▄▄▄
      ▄██████████████████▄
    ▄██████████████████████▄
  ▄██████████████████████████▄
 ▄████████████████████████████▌
▄██████████████████████████████▌
████████████████████████████████
██████▀     ▀██████▀     ▀██████
█████        ▐████▌        █████
█████        ▐████▌        █████
██████▄    ▄████████▄    ▄██████
▀█████████████▀  ▀█████████████▀
  ▀▀██████████▄▄▄▄██████████▀▀
     ▀▀██████████████████▀▀
       ████▀███▀▀███▀████
       ▀██▀ ▀█▀  ▀█▀ ▀██▀
║█║
║░║
║░║
║█║
bitKaBoom
Full Member
***
Offline Offline

Activity: 189



View Profile
April 13, 2017, 04:57:25 PM
 #30

you can try
https://www.blocktrail.com/api

i want lean how it works too..

how can use callback with php?

and how can send btc?

(i can use bitcoind and rpc, have experience)
btc_enigma
Hero Member
*****
Offline Offline

Activity: 548


View Profile
April 14, 2017, 06:53:23 AM
 #31

Have a look at moneywagon . Instead of using one blockexplorer service , it will randomly sample between various services. You can query blocks/transactions/address and even create transactions.

nemgun
Sr. Member
****
Offline Offline

Activity: 462



View Profile
April 15, 2017, 10:49:05 AM
 #32

Well, the best of all solutions is to run your own node, in pruned mode, and query it using your own API in order to be secure.
Use bitcoinjs-lib to generate addresses and transactions, and pass them to bitcoind.
Use your api to query bitcoind about the state of a transaction, or record the TX informations in a database at each new block. At least you will have custom informations.


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
PremiumCodeX
Hero Member
*****
Offline Offline

Activity: 560


Miracles are not meant to be wished for


View Profile WWW
April 15, 2017, 03:11:13 PM
 #33

Well, the best of all solutions is to run your own node, in pruned mode, and query it using your own API in order to be secure.
Use bitcoinjs-lib to generate addresses and transactions, and pass them to bitcoind.
-...-

From security viewpoint, that is true. However, integrating an API is still the easier solution.

If you do not develop a critical system, using the already-suggested blockchain(dot)info API should be legit enough. It is fairly easy too.

I have a tutorial in my previous threads where I explain how to use these APIs with POST/GET requests and Ruby. That works with blockchain(dot)info too.

Or using PHP as @cloverme suggested:

Blockchain.info is the easiest, but anything free has its limits. So some API calls may be limited on number of times per day, etc. Also, there's downtime to contend with that you're not always notified about. My earlier projects used free API's but later I moved to my own nodes.

Code:
function getBalance($address) {
    return file_get_contents('https://blockchain.info/en/q/addressbalance/'. $address);
}
$balance_address =  getBalance('1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa');

Thank you for contributing to the community!  Smiley


Ç̤̱͕̮̽̆͒̀͝ö̼̟̞̦̟͌̎̀͝d̲̜̫̘͛͂̽͜͠͝ȇ͉̣̝̰͎͑̓̂͝X̨̨̛̛͔̳̃͋̌ͅ

nemgun
Sr. Member
****
Offline Offline

Activity: 462



View Profile
April 15, 2017, 03:16:19 PM
 #34

Well, the best of all solutions is to run your own node, in pruned mode, and query it using your own API in order to be secure.
Use bitcoinjs-lib to generate addresses and transactions, and pass them to bitcoind.
-...-

From security viewpoint, that is true. However, integrating an API is still the easier solution.

If you do not develop a critical system, using the already-suggested blockchain(dot)info API should be legit enough. It is fairly easy too.

I have a tutorial in my previous threads where I explain how to use these APIs with POST/GET requests and Ruby. That works with blockchain(dot)info too.

Or using PHP as @cloverme suggested:

Blockchain.info is the easiest, but anything free has its limits. So some API calls may be limited on number of times per day, etc. Also, there's downtime to contend with that you're not always notified about. My earlier projects used free API's but later I moved to my own nodes.

Code:
function getBalance($address) {
    return file_get_contents('https://blockchain.info/en/q/addressbalance/'. $address);
}
$balance_address =  getBalance('1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa');

Thank you for contributing to the community!  Smiley

no problem, however, i have been advised many times not to use file_get_contents, because of security issues. An example with curl may look too complex, maybe npm is the right sollution as they have made an api wrapper. Blocktrail is the most advised for this, as they are linked to some big miners, so your TXs have a better chance to be processed.


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!