<p>I think your best bet is to run your own node, and then call <a href="https://bitcoin.org/en/developer-reference#getpeerinfo" rel="nofollow"><code>getpeerinfo</code></a> on it.  This will give you a list of all the connected peers, including information like the reported version.  You can also use the <code>addnode</code> option to ensure that you attempt to connect to all the nodes in your list.</p>

CC BY-SA 3.0
2016-10-12T14:23:51.350Z
2016-10-12T14:23:51.350Z
Jestin
<p>doing a bit of research on what versions of bitcoin client nodes are using, i have a long list of clients connected to the network, i was wondering what is the best way to get the version - is there a way / script where i can connect to the nodes and request the getinfo packet from ?</p>

<p>Thanks</p>

<client>
Remotely call getinfo from bitcoin server
user2061913
# Remotely call getinfo from bitcoin server

(Asked by: username_0 on 2016-10-12)

doing a bit of research on what versions of bitcoin client nodes are using, i have a long list of clients connected to the network, i was wondering what is the best way to get the version - is there a way / script where i can connect to the nodes and request the getinfo packet from ?

Thanks

**Tags:** client


---

## 1 answers

### Answer by username_1 on 2016-10-12. Score: 1

I think your best bet is to run your own node, and then call [`getpeerinfo`](https://bitcoin.org/en/developer-reference#getpeerinfo) on it. This will give you a list of all the connected peers, including information like the reported version. You can also use the `addnode` option to ensure that you attempt to connect to all the nodes in your list.


---

