Build with Bitcoin

The internet's open financial protocol

Get Started

Chain Notifications push Bitcoin data to your application

Address

Know when a new transaction occurs on a given address.

Transaction

Know when a given transaction is confirmed on the network.

New-Block

Know when a new block is created and confirmed on the network.

New-Transaction

Know when an unconfirmed transaction appears on the network.


Learn More

Powerful, RESTful API

Get Bitcoin Address

curl https://api.chain.com/v2/bitcoin/addresses/17x23dNjXJLzGMev6R63uyRhMWP1VHawKc?api-key-id=DEMO-4a5e1e4

Response

[
  {
    "address": "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc",
    "total": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    },
    "confirmed": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    }
  }
]

Get Bitcoin Address

require 'chain'
Chain.get_address('17x23dNjXJLzGMev6R63uyRhMWP1VHawKc')

Response

[
  {
    "address": "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc",
    "total": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    },
    "confirmed": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    }
  }
]

Get Bitcoin Address

#import <Chain/Chain.h>

Chain *chain = [Chain sharedInstanceWithToken:@"DEMO-4a5e1e4"];

NSString *address = @"17x23dNjXJLzGMev6R63uyRhMWP1VHawKc";

[chain getAddress:address completionHandler:^(NSDictionary *dictionary, NSError *error) {
  NSLog(@"%@", dictionary);
}];

Response

{
  results (
    {
      "address": "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc",
      "total": {
        "balance": 5000000000,
        "received": 5000000000,
        "sent": 0
      },
      "confirmed": {
        "balance": 5000000000,
        "received": 5000000000,
        "sent": 0
      }
    }
  )
}

Get Bitcoin Address

import Chain

let chain = Chain.sharedInstanceWithToken("DEMO-4a5e1e4")

chain.getAddress("17x23dNjXJLzGMev6R63uyRhMWP1VHawKc") { dictionary, error in
  NSLog("%@", dictionary)
}

Response

{
  results (
    {
      "address": "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc",
      "total": {
        "balance": 5000000000,
        "received": 5000000000,
        "sent": 0
      },
      "confirmed": {
        "balance": 5000000000,
        "received": 5000000000,
        "sent": 0
      }
    }
  )
}

Get Bitcoin Address

var chain = require('chain-node');
chain.getAddress('17x23dNjXJLzGMev6R63uyRhMWP1VHawKc', function(err, resp) {
  console.log(resp);
});

Response

[
  {
    "address": "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc",
    "total": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    },
    "confirmed": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    }
  }
]

Get Bitcoin Address

<script>
  $(function() {
    var api_key_id = 'DEMO-4a5e1e4';
    var addr = '17x23dNjXJLzGMev6R63uyRhMWP1VHawKc';
    var url = 'https://api.chain.com/v2/bitcoin/addresses/' + addr;
    $.ajax({
      url: url,
      data: {'api-key-id': api_key_id},
      type: 'GET',
      success: function(data) {
        console.log(data);
      }
    });
  });
</script>

Response

[
  {
    "address": "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc",
    "total": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    },
    "confirmed": {
      "balance": 5000000000,
      "received": 5000000000,
      "sent": 0
    }
  }
]

Enterprise-grade block chain infrastructure

Build Quickly

Our powerful APIs connect your application to the block chain with minimal setup.

Reliable & Fast

Focused on reliability, Chain scales with applications and companies of all sizes.

Fully Supported

Our team of dedicated block chain engineers are here to answer your questions.

Every day, the world becomes more connected. Together, we can translate that network effect into economic empowerment for all.



Learn What Motivates Us