<p>If you can afford storing the ~20GiB of blockchain on your disk, then bitcoind is a good bet. Otherwise, check out electrum, it has a very similar API, though there are some quirks. For the most lightweight solution, check out blockchain.info API, this should be the same API as bitcoind's.</p>

CC BY-SA 3.0
2014-03-04T23:00:08.813Z
2014-03-04T23:00:08.813Z
czaks
<p>The bitcoin software has it's own API.</p>

<p>Simply put, they run the bitcoind software and use RPC-JSON as the API.</p>

<p><strong>EDIT :</strong> changed according to comment. Other implementations of Bitcoin also have their own APIs </p>

CC BY-SA 3.0
2014-02-24T21:40:48.117Z
This is an arcane, arcane point, but protocols don't have APIs. Implementations of protocols have APIs.  Hence, bitcoind, an implementation of the Bitcoin protocol, exposes an API.  Other implementations of the bitcoin protocol publish their own APIs.
ChrisW
CC BY-SA 3.0
2014-02-24T15:18:22.317Z
2014-03-04T19:22:05.400Z
2014-03-04T19:22:05.400Z
T9b
<p>I want to create a game where users can win Bitcoins playing my games I created or perhaps other online games. What APIs do similar applications use to achieve this? how do they host the Bitcoins? do they use their own hosted wallet, bitpay? Bitcoin escrow?</p>

CC BY-SA 3.0
2014-02-24T20:38:27.060Z
I imagine it would be nice to integrate it in some MMO with millions of players, like WoW for example, who play for months on no end :) Great idea, keep me posted!
Konstantin Boyanov
<gaming>
Bitcoin online game integration
albo
# Bitcoin online game integration

(Asked by: username_0 on 2014-02-24)

I want to create a game where users can win Bitcoins playing my games I created or perhaps other online games. What APIs do similar applications use to achieve this? how do they host the Bitcoins? do they use their own hosted wallet, bitpay? Bitcoin escrow?

**Tags:** gaming

> **Comments:**
> **username_1**: I imagine it would be nice to integrate it in some MMO with millions of players, like WoW for example, who play for months on no end :) Great idea, keep me posted!  

---

## 2 answers

### Answer by username_2 on 2014-03-04. Score: 1 | Accepted answer

If you can afford storing the ~20GiB of blockchain on your disk, then bitcoind is a good bet. Otherwise, check out electrum, it has a very similar API, though there are some quirks. For the most lightweight solution, check out blockchain.info API, this should be the same API as bitcoind's.


---

### Answer by username_3 on 2014-02-24. Score: 1

The bitcoin software has it's own API.

Simply put, they run the bitcoind software and use RPC-JSON as the API.

**EDIT :** changed according to comment. Other implementations of Bitcoin also have their own APIs

> **Comments:**
> **username_4**: This is an arcane, arcane point, but protocols don't have APIs. Implementations of protocols have APIs.  Hence, bitcoind, an implementation of the Bitcoin protocol, exposes an API.  Other implementations of the bitcoin protocol publish their own APIs.  

---

