Check Public IP
is_public_ipCheck if an IP address is publicly routable, rejecting private addresses like RFC1918, CGNAT, loopback, link-local, and ULA. Runs locally with no API call or quota usage.
Instructions
Check if an IP address is publicly routable. Rejects RFC1918, CGNAT, loopback, link-local, and ULA addresses. Example: ip="8.8.8.8" → public, ip="192.168.1.1" → private. Runs locally — no API call, no quota usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | the IPv4 or IPv6 address to look up |