<p>bitcoin tools library 
<a href="https://github.com/bitpay/bitcore-lib" rel="nofollow noreferrer">https://github.com/bitpay/bitcore-lib</a></p>

<p>Unofficial Node.js client for blockexplorer.com API
<a href="https://github.com/barto-/blockexplorer" rel="nofollow noreferrer">https://github.com/barto-/blockexplorer</a></p>

<p>or you can install bitcore full node and use bitcore-lib with that full node </p>

CC BY-SA 3.0
2018-04-26T12:05:32.283Z
Thanks. I'm using the [Bitcoin-Core](https://github.com/ruimarinho/bitcoin-core) library, which makes it easy to execute bitcoin-cli commands by simply formatting them to camel case.
varun
CC BY-SA 3.0
2018-04-24T17:11:49.617Z
2018-04-24T17:11:49.617Z
f4r4
<p>I need to get data of a block using the block height.</p>

<p>Is there a javascript library to get block data from the Bitcoin blockchain, by connecting to local running node or a 3rd party blockchain provider? </p>

CC BY-SA 3.0
2018-04-24T18:43:17.163Z
What exact data do you need from the block? Would a simple API call 
to e.g. blockchain.info be enough?
0xb10c
CC BY-SA 3.0
2018-04-25T09:04:01.773Z
@0xb10c Specifically, I want to pull all the transactions that are included in a block. I don't want to be dependent on a third party api provider. It would be better if I could connect to the blockchain by using the js library and query the blockchain directly.
varun
<blockexplorer><javascript>
Javascript library to explore bitcoin blockchain data by connecting to a local running node
varun
# Javascript library to explore bitcoin blockchain data by connecting to a local running node

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

I need to get data of a block using the block height.

Is there a javascript library to get block data from the Bitcoin blockchain, by connecting to local running node or a 3rd party blockchain provider?

**Tags:** blockexplorer, javascript

> **Comments:**
> **username_1**: What exact data do you need from the block? Would a simple API call  to e.g. blockchain.info be enough?  
> **username_0**: @username_1 Specifically, I want to pull all the transactions that are included in a block. I don't want to be dependent on a third party api provider. It would be better if I could connect to the blockchain by using the js library and query the blockchain directly.  

---

## 1 answers

### Answer by username_2 on 2018-04-24. Score: 0 | Accepted answer

bitcoin tools library
<https://github.com/bitpay/bitcore-lib>

Unofficial Node.js client for blockexplorer.com API
<https://github.com/barto-/blockexplorer>

or you can install bitcore full node and use bitcore-lib with that full node

> **Comments:**
> **username_0**: Thanks. I'm using the [Bitcoin-Core](https://github.com/ruimarinho/bitcoin-core) library, which makes it easy to execute bitcoin-cli commands by simply formatting them to camel case.  

---

