Check Public IP
is_public_ipDetermines if an IP address is publicly routable by rejecting private ranges like RFC1918, CGNAT, and loopback. Runs locally with no API calls.
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 |