<p>As mentioned in Daniel's comment, if you are trying to connect to the Bitcoin-client that gathers the information for the Blockchain.info site this is not trivial as the IP does not match the one of the website.</p>

<p>If you are just interested in adding the same nodes the site is connected to, that's no problem. </p>

<p>With Linux or OS X you'd do something like this:</p>

<pre><code>curl -s https://blockchain.info/connected-nodes | \
grep -oE '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)' | \
sort -u
</code></pre>

<p>which gives you a sorted list of IPs to connect to. If you want a complete string to just append to your bitcoind client as options then try this:</p>

<pre><code>curl -s https://blockchain.info/connected-nodes | \
grep -oE '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)' | \
sort -u | \
sed 's/.*/-addnode=&amp;/g' | \
tr '\n' ' '
</code></pre>

<p>this additionally adds the <code>-addnode=</code> prefix to each address and joins the line.</p>

CC BY-SA 3.0
2017-10-01T14:22:35.110Z
currently the list from https://blockchain.info/connected-nodes is 0 (zero)
miguelmorales85
CC BY-SA 3.0
2012-09-05T11:24:53.447Z
2015-01-12T14:52:11.577Z
2015-01-12T14:52:11.577Z
cdecker
<p>Blockchain.info <a href="http://blockchain.info/connected-nodes">http://blockchain.info/connected-nodes</a> shows a list of nodes it is connected to. Is it possible for me to add them as a node for connection?</p>

CC BY-SA 3.0
2012-08-28T04:12:07.943Z
Presumably it's possible, but it may be difficult to figure out the IP address of their bitcoin client (which may or may not be the IP address of their main server or even their RPC API).
Daniel H
<blockchain.info><nodes>
Can I addnode to blockchain.info?
Shamoon
# Can I addnode to blockchain.info?

(Asked by: username_0 on 2012-08-25)

Blockchain.info <http://blockchain.info/connected-nodes> shows a list of nodes it is connected to. Is it possible for me to add them as a node for connection?

**Tags:** blockchain.info, nodes

> **Comments:**
> **username_1**: Presumably it's possible, but it may be difficult to figure out the IP address of their bitcoin client (which may or may not be the IP address of their main server or even their RPC API).  

---

## 1 answers

### Answer by username_2 on 2012-09-05. Score: 6 | Accepted answer

As mentioned in username_1's comment, if you are trying to connect to the Bitcoin-client that gathers the information for the Blockchain.info site this is not trivial as the IP does not match the one of the website.

If you are just interested in adding the same nodes the site is connected to, that's no problem.

With Linux or OS X you'd do something like this:

```
curl -s https://blockchain.info/connected-nodes | \
grep -oE '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)' | \
sort -u

```

which gives you a sorted list of IPs to connect to. If you want a complete string to just append to your bitcoind client as options then try this:

```
curl -s https://blockchain.info/connected-nodes | \
grep -oE '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)' | \
sort -u | \
sed 's/.*/-addnode=&/g' | \
tr '\n' ' '

```

this additionally adds the `-addnode=` prefix to each address and joins the line.

> **Comments:**
> **username_3**: currently the list from https://blockchain.info/connected-nodes is 0 (zero)  

---

