Free — no account required

Public IP
lookup API.

The simplest IP API on the internet. Browsers get an interactive page, curl gets plain text, scripts get JSON. Content negotiation built in.

Seven endpoints.
All free. Forever.

/ Your public IP address — plain text curl ip.clk.am
/json Full metadata — IP, country, city, ASN, ISP curl ip.clk.am/json
/geo Geolocation only — country, city, region, coords curl ip.clk.am/geo
/asn ASN and network info — AS number, org, type curl ip.clk.am/asn
/dns Reverse DNS lookup for your IP curl ip.clk.am/dns
/headers All HTTP request headers as JSON curl ip.clk.am/headers
/health Service health check — status, latency curl ip.clk.am/health

Works with everything.

From shell scripts to CI pipelines to browser bookmarklets. Content negotiation means no Accept header juggling.

Try /json See Links product
terminal
# Plain text — curl default
$ curl ip.clk.am
203.0.113.42

# JSON
$ curl ip.clk.am/json
{
  "ip": "203.0.113.42",
  "country": "FR",
  "asn": "AS3215"
}

# In a shell script
MY_IP=$(curl -s ip.clk.am)

Free tool. Full platform.

The IP Tool is free and always will be. If you need analytics or link intelligence on top of it, that's what the platform is for.

See Analytics View pricing

Try it right now.
No signup.

curl ip.clk.am — that's all it takes.