Bitcoin Tutorials - Herong's Tutorial Examples
∟Bitcoin Blockchain APIs
∟Introduction of blockchain.com API
This section provides an introduction of Bitcoin blockchain.com API.
blockchain.com API is an Exchange API mainly for trading Bitcoin
and other cryptocurrencies. Its functions cover receiving real time market data,
requesting balance information and performing trades.
To use blockchain.com API, you need to register yourself
and generate an API key from your registered account.
Currently, the API base URL is https://api.blockchain.com/v3/exchange.
Some examples of API services are:
- GET /tickers -
Get a list of tickers of cryptocurrencies available to trading
and their latest prices.
- GET /tickers/{symbol} -
Get price summary information for the given ticker symbol.
- GET /symbols -
Get a list of symbols of cryptocurrencies with auction information.
- GET /symbols/{symbol} -
Get auction information for the given ticker symbol.
- GET /fees/ -
Get the current fee level of your account.
- GET /orders/ -
Get a list of your trading orders.
- POST /orders/ -
Add a new order.
- GET /orders/{orderId} -
Get order details of a given order.
- DELETE /orders/{orderId} -
Delete a given order.
- GET /trades/ -
Get a list of filled orders.
- GET /accounts -
Get a list of balances of cryptocurrency holdings of your account.
- GET /deposits -
Get a list of deposits to my account.
- GET /withdrawals -
Get a list of withdrawals from my account.
- POST /withdrawals -
Request a withdrawal.
For example, if you want to know the current price of BTC-USD,
you can run the following API:
GET https://api.blockchain.com/v3/exchange/tickers/BTC-USD
{
"symbol": "BTC-USD",
"price_24h": 46604.81,
"volume_24h": 183.65840081,
"last_trade_price": 47120.4
}
Visit https://api.blockchain.com/v3/
to see more details.
Table of Contents
About This Book
Introduction of Bitcoin
Bitcoin Blockchain
Bitcoin Wallet
Bitcoin Core
Bitcoin Transaction
Bitcoin-Qt - Bitcoin Core GUI
Bitcoin Mining
Bitcoin Consensus Rules
Bitcoin Block Data Structure
Bitcoin Transaction Data Structure
►Bitcoin Blockchain APIs
Introduction of chain.so API
chain.so API - Get Block Data
chain.so API - Get Transaction Data
chain.so API - Get Address Data
►Introduction of blockchain.com API
Introduction of blockexplorer.com API
Copay - Bitcoin Wallet
Archived Tutorials
References
Full Version in PDF/EPUB