Endpoints answered0/3
Automatic
ip-myip.gh.ink Checking…
IPv4 only
v4-myip.gh.ink Checking…
IPv6 only
v6-myip.gh.ink Checking…
An unreachable endpoint is expected, not an error: an IPv6-only network cannot reach the IPv4 endpoint, and an IPv4-only network cannot reach the IPv6 one.
API usage
Each card above is backed by one plain-text endpoint. Call them straight from a shell:
AutomaticA + AAAA records
curl https://ip-myip.gh.ink/
IPv4 onlyA record only
curl https://v4-myip.gh.ink/
IPv6 onlyAAAA record only
curl https://v6-myip.gh.ink/
- Any path and any query string return the same body; GET and POST both work, and http:// redirects to https://.
- The response is text/plain and holds nothing but the address, with no trailing newline.
- Responses send Access-Control-Allow-Origin: *, so browser code can call them directly.