Check Public IP via Curl

The curl command below queries RookCheck's IP API and returns your public IP as JSON. With a VPN active, the IP should match your VPN exit node.

When to use this command

Run before and after connecting a VPN to confirm your visible IP changed. Use RookCurl to execute the command without installing curl locally.

Frequently asked questions

What does the response contain?

The API returns JSON with your public IP, geolocation hints, and request metadata useful for privacy diagnostics.

RookCurl Home Check IP Example VPN Leak Test Setup Guide