<p>You need to enable REST by setting <code>rest=1</code> in your <code>bitcoin.conf</code> or startup bitcoind with <code>-rest=1</code> or bitcoin-qt with <code>-server=1 and -rest=1</code>.</p>

<p>You can access REST by curl (example):
<code>curl localhost:18332/rest/getutxos/checkmempool/b2cdfd7b89def827ff8af7cd9bff7627ff72e5e8b0f71210f92ea7a4000c5d75-0.json</code></p>

<p>A simple documentation is available here: <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md</a></p>

<p><strong>EDIT:</strong>
There is no REST API for addresses. Bitcoin-Core does not have an per-address index.
If you enable <code>-txindex=1</code>, you can retrieve any transaction with <code>GET /rest/tx/&lt;TX-HASH&gt;.&lt;bin|hex|json&gt;</code> (otherwise only transactions in the mempool).</p>

CC BY-SA 3.0
2016-11-03T08:52:26.017Z
2016-11-03T12:52:25.263Z
2016-11-03T12:52:25.263Z
Jonas Schnelli
<p>I installed bitcoin core and now it is completely synced. I am not able to find REST Api for a particular address.
I want to run my server so can i am able to make an http request for REST API</p>

CC BY-SA 3.0
2016-11-03T07:46:48.150Z
bitcoin core doesn't have rest api, please elaborate your question what kind of API calls your require
dark knight
CC BY-SA 3.0
2016-11-03T08:51:18.773Z
Since bitcoin core 0.12 (or 0.11?!) there is a REST interface
Jonas Schnelli
<bitcoind><bitcoin-core><client><api><block>
Bitcoin core API for address
MONARK AGARWAL
# Bitcoin core API for address

(Asked by: username_0 on 2016-11-03)

I installed bitcoin core and now it is completely synced. I am not able to find REST Api for a particular address.
I want to run my server so can i am able to make an http request for REST API

**Tags:** bitcoind, bitcoin-core, client, api, block

> **Comments:**
> **username_1**: bitcoin core doesn't have rest api, please elaborate your question what kind of API calls your require  
> **username_2**: Since bitcoin core 0.12 (or 0.11?!) there is a REST interface  

---

## 1 answers

### Answer by username_2 on 2016-11-03. Score: 3

You need to enable REST by setting `rest=1` in your `bitcoin.conf` or startup bitcoind with `-rest=1` or bitcoin-qt with `-server=1 and -rest=1`.

You can access REST by curl (example):
`curl localhost:18332/rest/getutxos/checkmempool/b2cdfd7b89def827ff8af7cd9bff7627ff72e5e8b0f71210f92ea7a4000c5d75-0.json`

A simple documentation is available here: <https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md>

**EDIT:**
There is no REST API for addresses. Bitcoin-Core does not have an per-address index.
If you enable `-txindex=1`, you can retrieve any transaction with `GET /rest/tx/<TX-HASH>.<bin|hex|json>` (otherwise only transactions in the mempool).


---

