How to get all IP address of connected nodes from a swarm manager

Hi all,
Is there any way that i can find all the IP addresses of connected nodes from a swarm manager node.
With GET /nodes API only hostname is available. I want to get IP address also.
Please help.