<p>In order to use the Bitcoin API, you need to either run bitcoind, or run Bitcoin QT with a <code>server</code> parameter and also having RPC username and password set (<a href="https://en.bitcoin.it/wiki/Running_Bitcoin" rel="nofollow">in bitcoin.conf file</a>). After that, you communicate with it over JSON RPC at port 8332 (by default).</p>

CC BY-SA 3.0
2013-02-26T12:00:10.173Z
2013-02-26T12:00:10.173Z
ThePiachu
<p>How to use bitcoin api in my code  or how i integrate it with my code ?
it required any charge ?</p>

<client><bitcoind>
How i use bit coin api with my project?
neha
# How i use bit coin api with my project?

(Asked by: username_0 on 2013-02-26)

How to use bitcoin api in my code or how i integrate it with my code ?
it required any charge ?

**Tags:** client, bitcoind


---

## 1 answers

### Answer by username_1 on 2013-02-26. Score: 2

In order to use the Bitcoin API, you need to either run bitcoind, or run Bitcoin QT with a `server` parameter and also having RPC username and password set ([in bitcoin.conf file](https://en.bitcoin.it/wiki/Running_Bitcoin)). After that, you communicate with it over JSON RPC at port 8332 (by default).


---

