Arul's Public APIs
App · Utilities · 3 actions
Find out which public IP address your workflows reach the internet from, using Arul's Public APIs - a free, keyless web service with no account and no API key. Get the address to paste into a third-party allow-list, find every address when your network uses more than one, or check it against the addresses you expect so a change is caught before it breaks every integration that allow-listed the old one.
Actions
| Action | What it does |
|---|---|
| Check this workflow's IP address | Check whether this workflow still calls out from an address you expect, and answer with a plain true or false to branch on. |
| Find all of this workflow's IP addresses | Look up this workflow's public IP address several times, each over a new connection, and list every different address that came back. |
| Get this workflow's IP address | Get the public IP address this workflow's requests go out from - Lodol's own outbound address, which is what a third-party API means when it asks you to allow-list 'your' IP. |
Check this workflow's IP address
Check whether this workflow still calls out from an address you expect, and answer with a plain true or false to branch on. This is the check that catches the day an outbound address changes, which is the day every integration that allow-listed the old one stops working. Write the list as single addresses (203.0.113.7), as CIDR ranges (203.0.113.0/24), or as a mix of both.
Inputs
- Expected addresses or ranges
expectedlistRequired - The addresses this workflow is supposed to call out from. Each entry is either a single IP address (203.0.113.7) or a CIDR range (203.0.113.0/24), and the two can be mixed. An entry of the other address family simply does not match, so a list covering both IPv4 and IPv6 is fine. At most 100 entries.
- IP version
ip_versiontext - Which kind of address to look up: IPv4 or IPv6. On a network that has both, a service that only speaks IPv4 sees the IPv4 address even when this lookup would go out over IPv6, so choose the kind the other service uses. 'Either' (the default) takes whichever the network prefers; 'IPv6' fails on a network with no IPv6 connection to the internet.One of:
any(Either, whichever the network uses (default)),ipv4,ipv6. Default:any.
Outputs
cidrtext- The address as a one-address CIDR range (ending /32 for IPv4, /128 for IPv6), the form many allow-lists ask for.
expectedlist- The expected addresses and ranges the address was checked against, with blanks and repeats taken out.
iptext- The public IP address the request came from, as Arul's Public APIs saw it.
is_ipv4true/false- True when the address is an IPv4 address.
is_ipv6true/false- True when the address is an IPv6 address.
matchedtext- The first expected entry the address matched, written as it was given, or empty when none did.
matchestrue/false- True when the address is one of the expected addresses or falls inside one of the expected ranges.
sourcetext- Which of the service's two routes answered: 'json', or 'text' when the JSON route failed and the plain-text one was asked instead.
versiontext- Which kind of address it is: 'IPv4' or 'IPv6'.
Example output
{
"cidr": "199.199.199.199/32",
"expected": [
"199.199.199.0/24",
"203.0.113.7"
],
"ip": "199.199.199.199",
"is_ipv4": true,
"is_ipv6": false,
"matched": "199.199.199.0/24",
"matches": true,
"source": "json",
"version": "IPv4"
}Find all of this workflow's IP addresses
Look up this workflow's public IP address several times, each over a new connection, and list every different address that came back. Some networks share their outbound traffic across several addresses and pick one per connection, so a single lookup shows only one of them, and an allow-list built from it refuses some of the requests. Run this before setting up an allow-list: if more than one address comes back, the other service has to allow every one. A few lookups can still miss an address that is rarely used, so use more lookups, or run it again, when the count matters.
Inputs
- Number of lookups
lookupsnumber - How many times to look the address up, from 2 to 10. More lookups are more likely to find an address that is rarely used, and each one is a request to a free service that asks to be used reasonably. Defaults to 5.From 2 to 10. Default:
5. - IP version
ip_versiontext - Which kind of address to look up: IPv4 or IPv6. On a network that has both, a service that only speaks IPv4 sees the IPv4 address even when this lookup would go out over IPv6, so choose the kind the other service uses. 'Either' (the default) takes whichever the network prefers; 'IPv6' fails on a network with no IPv6 connection to the internet.One of:
any(Either, whichever the network uses (default)),ipv4,ipv6. Default:any.
Outputs
address_countnumber- How many different addresses were found.
addresseslist- Every different address the lookups came from, in the order they were first seen.
cidrslist- The same addresses as one-address CIDR ranges (ending /32 or /128), ready for an allow-list.
foundlist- One entry per address found, with its details and how many lookups came from it.
lookupsnumber- How many lookups were made.
single_addresstrue/false- True when every lookup came from the same address.
Example output
{
"address_count": 2,
"addresses": [
"199.199.199.199",
"199.199.199.200"
],
"cidrs": [
"199.199.199.199/32",
"199.199.199.200/32"
],
"found": [
{
"cidr": "199.199.199.199/32",
"ip": "199.199.199.199",
"is_ipv4": true,
"is_ipv6": false,
"seen": 3,
"version": "IPv4"
},
{
"cidr": "199.199.199.200/32",
"ip": "199.199.199.200",
"is_ipv4": true,
"is_ipv6": false,
"seen": 2,
"version": "IPv4"
}
],
"lookups": 5,
"single_address": false
}Get this workflow's IP address
Get the public IP address this workflow's requests go out from - Lodol's own outbound address, which is what a third-party API means when it asks you to allow-list 'your' IP. It is not the address of whoever is looking at the workflow, because the request is made by Lodol's servers. Comes back with whether it is IPv4 or IPv6, which decides what an allow-list entry has to look like, and the address written as a CIDR range. A network can share its traffic across several outbound addresses, and then one lookup finds only one of them: 'Find all of this workflow's IP addresses' finds the rest.
Inputs
- IP version
ip_versiontext - Which kind of address to look up: IPv4 or IPv6. On a network that has both, a service that only speaks IPv4 sees the IPv4 address even when this lookup would go out over IPv6, so choose the kind the other service uses. 'Either' (the default) takes whichever the network prefers; 'IPv6' fails on a network with no IPv6 connection to the internet.One of:
any(Either, whichever the network uses (default)),ipv4,ipv6. Default:any.
Outputs
cidrtext- The address as a one-address CIDR range (ending /32 for IPv4, /128 for IPv6), the form many allow-lists ask for.
iptext- The public IP address the request came from, as Arul's Public APIs saw it.
is_ipv4true/false- True when the address is an IPv4 address.
is_ipv6true/false- True when the address is an IPv6 address.
sourcetext- Which of the service's two routes answered: 'json', or 'text' when the JSON route failed and the plain-text one was asked instead.
versiontext- Which kind of address it is: 'IPv4' or 'IPv6'.
Example output
{
"cidr": "199.199.199.199/32",
"ip": "199.199.199.199",
"is_ipv4": true,
"is_ipv6": false,
"source": "json",
"version": "IPv4"
}