# Get a list of nodes from a bootstrap node with RPC API

**URL:** https://forum.duniter.org/t/get-a-list-of-nodes-from-a-bootstrap-node-with-rpc-api/10217
**Category:** RPC
**Tags:** node, rpc, endpoint
**Created:** [27 December 2022 08:52 UTC](https://forum.duniter.org/t/get-a-list-of-nodes-from-a-bootstrap-node-with-rpc-api/10217 "2022-12-27T08:52:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vit](https://forum.duniter.org/user_avatar/forum.duniter.org/vit/32/2775_2.png) [@vit](https://forum.duniter.org/u/vit)
#### Post date: [27 December 2022 08:52 UTC](https://forum.duniter.org/t/get-a-list-of-nodes-from-a-bootstrap-node-with-rpc-api/10217/1 "2022-12-27T08:52:32Z")

</div>

For the moment, with Duniter V2S, there is no way to get a list of nodes from a node.

I have tried with RPC, no way.  
I looked at libp2p then abandon the idea…

I am not the only one that need this feature 😅

> [@FEUILLE DE ROUTE de Tikka](https://forum.duniter.org/t/feuille-de-route-de-tikka/8977/41):
>
> Sur la [télémétrie ĞDev](https://telemetry.polkadot.io/#list/0xf9bb23a15c8323959bab5128c352356811dd1b8ef79c1aefff58642529260dfc) tu peux voir l’état des nœuds du réseau, mais je ne trouve pas l’information de leur endpoint.

_On the [telemetry ĞDev](https://telemetry.polkadot.io/#list/0xf9bb23a15c8323959bab5128c352356811dd1b8ef79c1aefff58642529260dfc) you can see the status of the network nodes, but I can’t find their endpoint information._

@elois said that it was possible to modify RPC to do that :

> [@IMPORTANT : Proposition de migrer la Ğ1 sur une blockchain substrate](https://forum.duniter.org/t/important-proposition-de-migrer-la-g1-sur-une-blockchain-substrate/8573/18):
>
> On peut facilement customiser l’API RPC: [Custom RPCs - Substrate Recipes](https://substrate.dev/recipes/custom-rpc.html)  
> Donc on peut très bien y ajouter ce qu’il faut pour récupérer une liste de nœuds connus, etc 🙂

_You can easily customize the RPC API: [Custom RPCs - Substrate Recipes](https://substrate.dev/recipes/custom-rpc.html)_  
_So you can easily add what you need to get a list of known nodes, etc 🙂_

May be we could add it to the RPC requests or via an extrinsic…

---

<div class="post-metadata">

### Author: ![tuxmain](https://forum.duniter.org/user_avatar/forum.duniter.org/tuxmain/32/6423_2.png) [@tuxmain](https://forum.duniter.org/u/tuxmain)
#### Post date: [27 December 2022 10:35 UTC](https://forum.duniter.org/t/get-a-list-of-nodes-from-a-bootstrap-node-with-rpc-api/10217/2 "2022-12-27T10:35:07Z")

</div>

> **[Add RPC method to list peers (#97) · Issues · nodes / rust / Duniter v2S ·...](https://git.duniter.org/nodes/rust/duniter-v2s/-/issues/97)**
>
> Provide an RPC method to list node's libp2p peers.
