My Public Ip icon

My Public Ip

Get my public IP address

My Public Ip

AI-generated

Overview

This node retrieves the public IP address of the user using the ipify.org API. It supports fetching IPv4, IPv6, or both IP addresses. This node is useful in scenarios where you need to programmatically determine the public IP address of the machine or environment running the workflow, such as for logging, network configuration, or conditional logic based on IP.

Use Case Examples

  1. Get the public IPv4 address of the current environment.
  2. Fetch both IPv4 and IPv6 addresses to log network details.
  3. Use the public IP address to configure firewall rules dynamically.

Properties

Name Meaning
Version Specifies which version of the public IP address to retrieve: IPv4, IPv6, or both.
Put Result in Field The name of the output JSON field where the retrieved IP address(es) will be stored.

Output

JSON

  • interfaces
    * ``
    * family - The IP address family, either 'IPv4' or 'IPv6'.
    * address - The retrieved public IP address.

Dependencies

  • Requires internet access to call the ipify.org API endpoints.

Troubleshooting

  • If the node fails to retrieve the IP address, check internet connectivity and ensure the ipify.org service is reachable.
  • If no IP address is returned, verify that the selected version option matches the available IP configuration of the environment.
  • Common error messages may include HTTP request failures or timeouts; retry or check network settings.

Links

  • ipify.org - The public IP address API service used by this node to fetch IP addresses.

Discussion