BlockchainAPI Logo
You must enable Javascript to continue to use this website.
BitcoinBTC: EthereumETH: LitecoinLTC:

BlockchainAPI

An EASY & RELIABLE
Bitcoin & Ethereum Payment Processor API

Designed from the ground up to be the most easy-to-use Bitcoin payment processor possible.

We have now just finished adding our official Startup files which will fully help you to understand how our system works.
Download the BRAND NEW FILES here or checkout the demo at https://demo.blockchainapi.org.

Features

Take a look below at the features we offer here at BlockchainAPI | Bitcoin Payment Processor | Bitcoin Payment Gateway API | Bitcoin API for developers.

No Registration Required

No need to worry about getting a merchant application or going through any tedious signup processes. Go ahead and get up and running now using our bitcoin payment gateway.

No Branding

No logos or external pages or branded buttons. Our bitcoin payment API returns a simple JSON document for you to handle on your server however you would like.

Low Fees

In order to continue to keep our bitcoin payment gateway API online, we take a 1% commission. Other than this small commission and the 5.0E-5 BTC transaction fee, there are no other costs.

Safe and Secure

Our bitcoin payment gateway API and backend systems are secured with HTTPS and high-grade firewalls. Bitcoins are transferred to you ASAP, so there's nothing to worry about!

Video Guide

We even created a simple video for BlockchainAPI users

Download the files in the video here.

You'll need an unzipping program to extract the files.

Remember to install your database such as Phpmyadmin and import the .sql file included inside the zip.


We made these new files for developers just like yourself.
They're simple, easy to use and are designed to help your knowledge on how BlockchainAPI works.

Status

Check the status

In the unlikely event of BlockchainAPI being down, you will be able to check the status.

Running Cryptos

Below are a list of the crypto coins we run here at BlockchainAPI.

Bitcoin Ethereum

Using the API

Making use of our bitcoin payment API is extremely easy! Simply make a GET request to our bitcoin payment gateway API endpoint using the create method and receive a deposit address for your customer!

http://example.com/callback?invoice_id=1234&secret=7j0ap91o99cxj8k9&value=100000000&input_address=1E2VSRsaW3Kb1gDkdRUGDo6knAKfi9iYsb&confirmations=3&transaction_hash=0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098&input_transaction_hash=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b&destination_address=1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z
# PHP Example To Generate Address
$secret = "7j0ap91o99cxj8k9";
$my_address = "1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z";
$my_callback_url = "http://example.com/callback?invoice_id=1234&secret=" . $secret;
$api_base = "https://blockchainapi.org/api/btc";

$curl = curl_init();
curl_setopt_array($curl, array(
    CURLOPT_RETURNTRANSFER => 1,
    CURLOPT_URL => $api_base . "?method=create&address=" . $my_address . "&callback=" . $my_callback_url
));

$response = curl_exec($curl);
$http_status_code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
curl_close($curl);

if ($http_status_code == 200) {
    $decoded = json_decode($response, true);
    echo "Please send the payment to the following Bitcoin address: " . $decoded["success"]["input_address"];
    echo "The current estimated fee is: ".$decoded["success"]["estimated_transaction_fee"].' BTC';
} else {
    echo "Sorry, an error occurred: " . $response["error"];
}

The customer's deposit address will be contained in the input_address property of the response.

"success": [{
    "callback_url": "http://example.com/callback?invoice_id=1234",
    "callbacks": [{
        "timestamp": "2016-03-16 16:57:45",
        "result": true,
        "fee_percent": 1,
        "value": 50000,
        "input_address": "1E2VSRsaW3Kb1gDkdRUGDo6knAKfi9iYsb",
        "confirmations": 1,
        "transaction_hash": "1afb2eebe6ee69ab52da0a3ed98f5506c4ef00edcad852e98da346f42c568960",
        "input_transaction_hash": "02cb603c6066b22e23d6d998fbe7672776a098f93387fa86e362d18c9f496750",
        "destination_address": "1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z"
        "miners_fee": "0.0001465"
        "BlockchainAPIFee_BTC": "0.00002329"
    }]
}]

After a payment is made to the deposit address, we will forward the Bitcoin directly to the destination address you supplied and our server will send a POST request to your server with the following values:

'value'
'input_address'
'confirmations'
'transaction_hash'
'input_transaction_hash'
'destination_address'
'timestamp'
'result'
'miners_fee'
'BlockchainAPIFee_BTC'

Start accepting, today.
Generate an address

Simply enter your secret, address and callback url and hit the button below to generate your php code to start accepting payments on BlockchainAPI.

Generate Code

What our users say?

“BlockchainAPI | Bitcoin Payment Processor | Bitcoin Payment Gateway API | Bitcoin API for developers is 100% without a doubt the most easy-to-use Bitcoin payment system on the internet!”

Guest
Customer

“I found them hard to find when I searched them on Google but I don't know how? They're the best service since 3 years.”

Guest
Customer

“Really happy with the quality of BlockchainAPI | Bitcoin Payment Processor | Bitcoin Payment Gateway API | Bitcoin API for developers. It's simple, secure and never causes me the hastle of creating an account and waiting to get verified.”

Guest
Customer

Feeling nice?
Make a donation

Help us keep the system running and to improve new features and new ideas.
Your donation means so much to every single one of us!

Bitcoin logo 137qkvn2CJd9dZyPVgnrNMRPULtx4i8sK9