<p>Use the getPeers API and specify the desired service(s).  For example, to retrieve nodes with an open API (either HTTP or HTTPS) from an application, issue the following HTTP request:</p>

<pre>
https://localhost:7876/nxt?requestType=getPeers&service=API&service=API_SSL
</pre>

<p>You can use the API test page at <a href="http://localhost:7876/test" rel="nofollow">http://localhost:7876/test</a> from your browser to view the same information.</p>

CC BY-SA 3.0
2016-07-31T20:30:03.690Z
2016-07-31T20:30:03.690Z
ScripterRon
<p>I know that peer explorer has an API to access all the IP addresses of NXT / Ardor nodes via: <a href="http://www.peerexplorer.com/peerexplorer-api" rel="nofollow">http://www.peerexplorer.com/peerexplorer-api</a></p>

<p>But say peer explorer is down. How would one get the IP addresses of other NXT / Ardor nodes via a locally installed NXT / Ardor node?</p>

<nxt><ardor><nxt-api>
Getting IP address of other NXT / Ardor peer nodes for Open API access?
Patoshi パトシ
# Getting IP address of other NXT / Ardor peer nodes for Open API access?

(Asked by: username_0 on 2016-07-29)

I know that peer explorer has an API to access all the IP addresses of NXT / Ardor nodes via: <http://www.peerexplorer.com/peerexplorer-api>

But say peer explorer is down. How would one get the IP addresses of other NXT / Ardor nodes via a locally installed NXT / Ardor node?

**Tags:** nxt, ardor, nxt-api


---

## 1 answers

### Answer by username_1 on 2016-07-31. Score: 1 | Accepted answer

Use the getPeers API and specify the desired service(s). For example, to retrieve nodes with an open API (either HTTP or HTTPS) from an application, issue the following HTTP request:

```

https://localhost:7876/nxt?requestType=getPeers&service=API&service=API_SSL

```

You can use the API test page at <http://localhost:7876/test> from your browser to view the same information.


---

