<p>The <a href="https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1" rel="nofollow">Mt. Gox API</a> allows you to do these things. It allows you to create <a href="https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#get_a_bitcoin_deposit_address" rel="nofollow">new deposit adresses</a> and <a href="https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#Withdraw_bitcoins" rel="nofollow">withdraw/deposit</a> money into existing ones. </p>

<p>While the API dosent actually have something to tell you when your specific order has been executed, you can get a list of your open orders and compare those against a local listing of placed orders to determine which have been executed. However their <a href="https://en.bitcoin.it/wiki/MtGox/API/Streaming" rel="nofollow">websockets API</a> will tell you when any trade has been made on the network which you could then check yours against as well. </p>

<p>Another good API solution would be <a href="https://www.bitstamp.net/api/" rel="nofollow">bitstamps</a> though theirs donsent have a websocket component.</p>

CC BY-SA 3.0
2013-04-25T16:38:54.707Z
2013-04-25T16:38:54.707Z
Loourr
<p>I want my app to be able to create addresses and be notified when an address receives a deposit. What I've tried so far doesn't work reliably enough.</p>

<p>I've tried the Coinbase API (address callbacks didn't seem to work at all) and Blockchain.info (sometimes it works fine, but usually it takes several minutes to several hours for the callback to fire).</p>

<p>Are there other APIs that offer address creation with callbacks that don't involve running my own Bitcoin client, or is running your own client pretty much a necessity for reliable notification (within seconds)? Is anyone actually using Coinbase or Blockchain successfully? My service would need rather immediate notification of transfer (number of confirmations isn't important).</p>

CC BY-SA 3.0
2013-04-25T11:34:28.930Z
I've been looking in this recently as well. I decided that setting up a client myself is the easiest solution. You can create one from a Raspberry Pi for less than 50 USD.
I also considered to use multiple APIs mirroring each other so that my application could choose which to use and change when one of them takes too long to respond.
Steven Roose
<blockchain.info><coinbase.com>
API with reliable address callbacks?
bevanb
# API with reliable address callbacks?

(Asked by: username_0 on 2013-04-25)

I want my app to be able to create addresses and be notified when an address receives a deposit. What I've tried so far doesn't work reliably enough.

I've tried the Coinbase API (address callbacks didn't seem to work at all) and Blockchain.info (sometimes it works fine, but usually it takes several minutes to several hours for the callback to fire).

Are there other APIs that offer address creation with callbacks that don't involve running my own Bitcoin client, or is running your own client pretty much a necessity for reliable notification (within seconds)? Is anyone actually using Coinbase or Blockchain successfully? My service would need rather immediate notification of transfer (number of confirmations isn't important).

**Tags:** blockchain.info, coinbase.com

> **Comments:**
> **username_1**: I've been looking in this recently as well. I decided that setting up a client myself is the easiest solution. You can create one from a Raspberry Pi for less than 50 USD. I also considered to use multiple APIs mirroring each other so that my application could choose which to use and change when one of them takes too long to respond.  

---

## 1 answers

### Answer by username_2 on 2013-04-25. Score: 1

The [Mt. Gox API](https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1) allows you to do these things. It allows you to create [new deposit adresses](https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#get_a_bitcoin_deposit_address) and [withdraw/deposit](https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#Withdraw_bitcoins) money into existing ones.

While the API dosent actually have something to tell you when your specific order has been executed, you can get a list of your open orders and compare those against a local listing of placed orders to determine which have been executed. However their [websockets API](https://en.bitcoin.it/wiki/MtGox/API/Streaming) will tell you when any trade has been made on the network which you could then check yours against as well.

Another good API solution would be [bitstamps](https://www.bitstamp.net/api/) though theirs donsent have a websocket component.


---

