Bitcoin

Bitcoin is the first and most famous digital currency, which operates on a decentralized basis. Bitcoin transactions and issuance are done by a peer-to-peer network of computers; there is no central authority. Bitcoin was created in 2008 by a person or a group of people going by the pseudonym of Satoshi Nakamoto.

Bitcoin transactions are verified through the process of mining: miners get new Bitcoins as a reward for verifying transactions and creating new blocks. The new blocks are recorded in a public distributed ledger called blockchain.

Bitcoin is the blockchain with the biggest hashing power in the world.

More recently, a communication protocol layer was built on top of the Bitcoin blockchain, called Omni Layer (formerly known as Mastercoin). Omni layer allows the creation of custom tokens and cryptocurrencies on the Bitcoin Blockchain.

Crypto APIs supports Bitcoin(BTC) mainnet and testnet APIs.

Some Useful Endpoints

Blockchain Information

Get general information about this node.

You can get node information like: difficulty, headers, chain work, blocks, transactions, verification progress, etc.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Block Hash

Get Block Hash information.

Block Hash endpoint gives you detail information for particular block in the blockchain.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Block Height

Get Block Height information.

Block Height endpoint gives you detail information for particular block in the blockchain.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Latest Block

Get Latest Block information.

Latest Block Endpoint gives you detail information for the latest block in the blockchain.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Address API Information

Get General information about this node.

Crypto APIs Address API allows you to look up information about public addresses on the blockchain, generate single-use, low-value key pairs with corresponding addresses, help generate multisig addresses, and collect multiple addresses into a single shortcut for address viewing, all based on the coin/chain resource you’ve selected for your endpoints.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Address Endpoint

Get Address Endpoint information.

The default Address Endpoint strikes a general information about addresses.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Multisig Address Endpoint

Get Multisig Address Endpoint information.

The Multisig Address Endpoint strikes a general information about a single address that is involved in multisignature addresses.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Generate Address Endpoint

Get Generate Address Endpoint information.

The Generate Address endpoint allows you to generate private-public key-pairs along with an associated public address. No information is required with this POST request.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Address Transactions Endpoint

Get Address Transactions Endpoint information.

The Address Transactions Endpoint returns all information available about a particular address, including an array of complete transactions.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Transaction API information

Transaction API information

Crypto APIs Transaction API allows you to look up information about unconfirmed transactions, query transactions based on hash, create and propagate your own transactions, including multisignature transactions, and embed data on the blockchain—all based on the coin/chain resource you’ve selected for your endpoints.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Transactions Txid Endpoint

Get general information about Transactions Txid Endpoint

The Transaction Txid Endpoint returns detailed information about a given transaction based on its id.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Transactions Block Endpoint

Get general information about Transactions Block Endpoint

The Transaction Index by Block Endpoint returns detailed information about a list of transactions.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Unconfirmed Transactions Endpoint

Get general information about Unconfirmed Transactions Endpoint

The Unconfirmed Transactions Endpoint returns an array of the latest transactions relayed by nodes in a blockchain that haven’t been included in any blocks.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Decode Raw Transactions Endpoint

Get general information Decode Raw Transactions Endpoint

We also offer the ability to decode raw transactions without sending propagating them to the network; perhaps you want to double-check another client library or confirm that another service is sending proper transactions.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Creating Transactions Endpoint

Get general information about Creating Transactions Endpoint

Using Crypto APIs, you can push transactions to blockchains one of two ways:

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Send Transactions Endpoint

Get general information about Send Transactions Endpoint

Transaction Send Endpoint allows users to broadcast the signed transaction to the Bitcoin blockchain.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

New Transaction Endpoint

Get general information about New Transaction Endpoint

The New Transaction Endpoint combines the other three endpoints: Create, Sign and Send Endpoints. Users should provide the inputs and outputs fields with the corresponding data, as well as the fee and the wifs(private ECDSA keys) of the addresses. Therefore, the endpoint creates, signs and broadcasts the new transaction to the Bitcoin Blockchain. For more information, see the examples.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

New Transaction Using HDWallet Endpoint

Get general information about New Transaction Using HDWallet Endpoint

New Transaction Using HDWallet Endpoint provides the possibility to create, sign and send new transactions using your HDWallet.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Transactions Fee Endpoint

Get general information about Transactions Fee Endpoint

Transactions Fee Endpoint gives information about the fees for all transactions included in the last 70 blocks.

Documentation
Code Samples:
                                            
                                        
Response Body:
                                            
                                        

Send us a Message