<p>blockchain.info API is not related to Bitcoin-core, you can send commands to Bitcoin-core without the need to blockchain.info</p>

<p>for example to get full details about non-wallet transaction enable <code>txindex</code> and call <code>getrawtransaction</code> for wallet transactions call <code>gettransaction</code> and so on.</p>

<p>You can find all RPC calls <a href="https://bitcoin.org/en/developer-reference#" rel="nofollow noreferrer">here</a> and you can send RPC commands from PHP, Nodejs etc..</p>

<p>if you want to have the full blockchain synced locally you can use bitpay insight (open source blockchain explorer).</p>

<p>or simply as you suggested you can use blockchain.info API without installing Bitcoin-core.</p>

CC BY-SA 3.0
2018-04-17T21:22:48.383Z
2018-04-17T21:22:48.383Z
Tailer
<p>New to using BTC and the Blockchain.</p>

<p>My understanding is that (for the Bitcoin), one can download/install btcd. </p>

<p>Then, one has to use btcd to synchronize the "local" Blockchain with the "main" Blockchain(?)</p>

<p>If so, what is the best API that one can use to access the data in the Blockchain?</p>

<p>I saw this:
<a href="https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)</a></p>

<p>For example, I have seen blockchain.info - but - I am not sure that one can download this and have it "point" to one's local btcd.</p>

<p>Any suggestions, help or hints would be greatly appreciated.</p>

<p>TIA</p>

<blockchain><api>
Using a programming API with blockchain
Casey Harrils
# Using a programming API with blockchain

(Asked by: username_0 on 2018-04-17)

New to using BTC and the Blockchain.

My understanding is that (for the Bitcoin), one can download/install btcd.

Then, one has to use btcd to synchronize the "local" Blockchain with the "main" Blockchain(?)

If so, what is the best API that one can use to access the data in the Blockchain?

I saw this:
<https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)>

For example, I have seen blockchain.info - but - I am not sure that one can download this and have it "point" to one's local btcd.

Any suggestions, help or hints would be greatly appreciated.

TIA

**Tags:** blockchain, api


---

## 1 answers

### Answer by username_1 on 2018-04-17. Score: 1 | Accepted answer

blockchain.info API is not related to Bitcoin-core, you can send commands to Bitcoin-core without the need to blockchain.info

for example to get full details about non-wallet transaction enable `txindex` and call `getrawtransaction` for wallet transactions call `gettransaction` and so on.

You can find all RPC calls [here](https://bitcoin.org/en/developer-reference#) and you can send RPC commands from PHP, Nodejs etc..

if you want to have the full blockchain synced locally you can use bitpay insight (open source blockchain explorer).

or simply as you suggested you can use blockchain.info API without installing Bitcoin-core.


---

