5 Bitcoin APIs for Developers

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)

Documentation here

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

Documentation here

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.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now