<p>You can't do it with <code>cardano-cli</code> but you can just run:</p>
<pre><code>cardano-node --version
</code></pre>
<p>or</p>
<pre><code>cardano-cli --version
</code></pre>
<p>without having to stop the <code>node</code>.</p>

CC BY-SA 4.0
2022-08-15T23:53:31.853Z
Thanks for getting back to me! I need to know the version using an API that can be called externally over the network, is there one? (rest, graphql, etc, excluding cli).
Satish
CC BY-SA 4.0
2022-08-16T01:54:13.343Z
I think you should add a feature request on the `cardano-node` github repo.
Erik de Castro Lopo
CC BY-SA 4.0
2022-08-15T10:15:19.693Z
2022-08-15T10:15:19.693Z
Erik de Castro Lopo
<p>I want to know the version of a node using API.<br />
I know I can use the CLI to know the version, but can't I use the API?</p>
<p>Any advice would be greatly appreciated!</p>
<p><a href="https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/createByronWalletMigrationPlan" rel="nofollow noreferrer">https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/createByronWalletMigrationPlan</a></p>

<cardano-node><api>
How can I query the version of the node using the APIs?
# How can I query the version of the node using the APIs?

(Asked by: username_0 on 2022-08-15)

I want to know the version of a node using API.  
I know I can use the CLI to know the version, but can't I use the API?

Any advice would be greatly appreciated!

<https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/createByronWalletMigrationPlan>

**Tags:** cardano-node, api

---

## 1 answers

### Answer by username_1 on 2022-08-15. Score: 1 | Accepted answer

You can't do it with cardano-cli but you can just run:
cardano-node --version

or
cardano-cli --version

without having to stop the node.

> **Comments:**
> **username_0**: Thanks for getting back to me! I need to know the version using an API that can be called externally over the network, is there one? (rest, graphql, etc, excluding cli).  
> **username_1**: I think you should add a feature request on the `cardano-node` github repo.  

---

