<p><a href="https://github.com/CardanoSolutions/ogmios" rel="nofollow noreferrer">Ogmios</a> runs alongside a cardano node and provides a websocket api to sync or query the chain. Documentation is <a href="https://ogmios.dev/" rel="nofollow noreferrer">available here</a>. If you don't want to host the node yourself, or want to get up and runnning as quickly as possible, you could check out <a href="https://gimbalabs.com/dandelionapis/ogmios-api" rel="nofollow noreferrer">the instance hosted by Gimbalabs</a></p>

CC BY-SA 4.0
2021-09-07T02:30:26.817Z
2021-09-07T02:30:26.817Z
shr
<p>Nami wallet injects a bunch of functions yo your browser, similar to meta mask:</p>
<p><a href="https://namiwallet.io/" rel="nofollow noreferrer">https://namiwallet.io/</a></p>

CC BY-SA 4.0
2021-10-21T16:26:25.283Z
2021-10-21T16:26:25.283Z
Daniel Diaz
<p>The <a href="https://meshjs.dev" rel="nofollow noreferrer">MESH JS SDK</a> is ideally suited for Javascript or Typescript interaction with Cardano, including functions abstracting most of the core functionality and &quot;Providers&quot; which can be used to get data from Blockfrost, Koios, Ogmios etc. There are also React elements, and starter kits and basic templates.</p>

CC BY-SA 4.0
2023-06-27T12:58:46.483Z
2023-06-27T12:58:46.483Z
ZachSweet
<p>You can also interact with cardano blockchain via cli, and there is a nice library that i use personally a lot named <a href="https://github.com/Berry-Pool/cardanocli-js" rel="nofollow noreferrer">cardanocli-js</a></p>

CC BY-SA 4.0
2021-10-19T11:16:12.223Z
2021-10-19T11:16:12.223Z
pyropy
<p>While I have not used this API myself, the <a href="https://blockfrost.io/" rel="nofollow noreferrer">Blockfrost API</a> has a <a href="https://github.com/blockfrost/blockfrost-js" rel="nofollow noreferrer">JavaScript SDK</a> that can do that. There is a free tier.</p>

CC BY-SA 4.0
2021-09-06T19:56:51.540Z
2021-10-15T11:52:13.927Z
2021-10-15T11:52:13.927Z
Michael Daconta
<p>How would I go about making a Javascript script which can get information from the cardano blockchain. Like what library or framework can I use.</p>

<cardano-cli><javascript>
How to talk to Cardano blockchain using Javascript
# How to talk to Cardano blockchain using Javascript

(Asked by: username_0 on 2021-09-06)

How would I go about making a Javascript script which can get information from the cardano blockchain. Like what library or framework can I use.

**Tags:** cardano-cli, javascript

---

## 5 answers

### Answer by username_5 on 2021-09-06. Score: 4

While I have not used this API myself, the [Blockfrost API](https://blockfrost.io/) has a [JavaScript SDK](https://github.com/blockfrost/blockfrost-js) that can do that. There is a free tier.


---

### Answer by username_1 on 2021-09-07. Score: 3

[Ogmios](https://github.com/CardanoSolutions/ogmios) runs alongside a cardano node and provides a websocket api to sync or query the chain. Documentation is [available here](https://ogmios.dev/). If you don't want to host the node yourself, or want to get up and runnning as quickly as possible, you could check out [the instance hosted by Gimbalabs](https://gimbalabs.com/dandelionapis/ogmios-api)


---

### Answer by username_2 on 2021-10-21. Score: 1

Nami wallet injects a bunch of functions yo your browser, similar to meta mask:

<https://namiwallet.io/>


---

### Answer by username_3 on 2023-06-27. Score: 1

The [MESH JS SDK](https://meshjs.dev) is ideally suited for Javascript or Typescript interaction with Cardano, including functions abstracting most of the core functionality and "Providers" which can be used to get data from Blockfrost, Koios, Ogmios etc. There are also React elements, and starter kits and basic templates.


---

### Answer by username_4 on 2021-10-19. Score: 0

You can also interact with cardano blockchain via cli, and there is a nice library that i use personally a lot named [cardanocli-js](https://github.com/Berry-Pool/cardanocli-js)


---

