• English
  • Français
  • Español
  • Русский
  • 中文
  • Esperanto

My IP address

The addresses your connection reaches this page with.

Endpoints answered0/3

Automatic

ip-myip.gh.ink
Checking…

Whichever protocol your browser picked for this visit.

IPv4 only

v4-myip.gh.ink
Checking…

Reachable over IPv4 only.

IPv6 only

v6-myip.gh.ink
Checking…

Reachable over IPv6 only.

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.