Are you a developer? Do you want to integrate bitcoin or other cryptocurrencies into your website, app or program?
Here are 5 useful APIs for developers. These APIs return JSON and can be used with PHP, Node.js, Python, etc.
Blockchain API
chain.so offers a free blockchain API which supports bitcoin, litecoin and dogecoin.
Some examples:
Get received txs for a bitcoin address:
https://chain.so/api/v2/get_tx_received/BTC/(bitcoin address)
Check if txid is confirmed:
https://chain.so/api/v2/is_tx_confirmed/BTC/(txid)
With the chain.so API, Web4Crypto developed a bitcoin, litecoin and dogecoin payment gateway for WooCommerce, without any fees, limits or third-party.
Price API
CoinMarketCap offers a free price API, which can calculate the prices of 1000+ cryptocurrencies in 10+ fiat currencies.
Example - Get current price of bitcoin in USD:
https://api.coinmarketcap.com/v1/ticker/bitcoin/?convert=USD
See the API in use: Web4Crypto crypto price calculator.
Payments API
If you want to accept bitcoin payments on your website, you can use the CoinPayments API. Documentation here.
Exchange API
Most exchanges offer free APIs to automate trading. For example, you can program a trading bot or simply display current prices and markets in one place.
Examples are LocalBitcoins API, Poloniex API and Shapeshift API.
Tx and Wallet API
coinb.in open-sourced its transaction builder and web wallet. With this you can integrate raw tx or a bitcoin wallet into your app or website. You can adapt the source code for most altcoins that are based on bitcoin.
If you found this guide useful, feel free to send a contribution to 1CaLCR5mGwS4FJzU1HZm9qwr5WoRYFDdyB (BTC).
This article was written by Web4Crypto. Web4Crypto offers web development, web design, programming and scripting services from $40 and accepts Bitcoin, Monero, Ethereum and other cryptos. Visit https://web4crypto.xyz for more information and a free consultation.
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://web4crypto.xyz/blog/archive/2017-11
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Web4Crypto is my website, this Steemit post is a repost of a previous blog entry.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit