For developers

Plain-text IP from the command line.

Lightweight endpoints that return your connection details as raw text or JSON — no HTML, no rendering, no account. Built for scripts, terminals, and CI pipelines.

The classic one-liner — get your public IP with nothing else around it:

$ curl checkmyipnow.com/ip 106.51.26.239

Capture it straight into a variable, because the response is the bare address plus a single newline:

$ MYIP=$(curl -s checkmyipnow.com/ip) $ echo $MYIP 106.51.26.239

Or pull the full picture as JSON and parse it with jq:

$ curl -s checkmyipnow.com/json | jq -r .organization Atria Convergence Technologies Pvt. Ltd.

Endpoints

All respond to plain GET requests over HTTPS. CORS is open, so they work from browser scripts too. Each reports the data for whoever makes the request.

checkmyipnow.com/ip→ text/plain
Your public IP address, bare — nothing else. Safe to capture in a shell variable.
106.51.26.239
checkmyipnow.com/json→ application/json
All connection details as structured JSON: IP, city, region, country (name + ISO), postal, lat/long, timezone, ASN, organization, protocol, and user agent.
{ "ip": "106.51.26.239", "city": "Madurai", "country": "India", "country_iso": "IN", "asn": 24309, "organization": "Atria Convergence Technologies Pvt. Ltd." }
checkmyipnow.com/city→ text/plain
Your approximate city, from IP geolocation.
Madurai
checkmyipnow.com/country→ text/plain
Your country, full name.
India
checkmyipnow.com/country-iso→ text/plain
Your country as a two-letter ISO code.
IN
checkmyipnow.com/asn→ text/plain
Your network's autonomous system number, prefixed with AS.
AS24309
checkmyipnow.com/ua→ text/plain
Echoes back the User-Agent string of the request.
curl/8.4.0
checkmyipnow.com/all→ text/plain
Every field as readable, aligned key/value text lines — the human-friendly overview.
ip 106.51.26.239 city Madurai country India asn AS24309 ...

Notes

Geolocation is approximate. City, region, and postal are estimated at the ISP level, not precise to a household. Country is reliable; city is a best guess.

IPv6. If your request arrives over IPv6, that's the address you'll get; /ip returns whichever protocol carried the request.

No logging. These endpoints read your request and respond — nothing about your call is stored on our side.

Fair use. They're free and unauthenticated. Please don't hammer them in tight loops; cache the result if you're polling.

Embeddable widget

Want a live IP box on your own site? Grab a free, self-contained IP widget — it shows each visitor their own IP, city, and ISP, with no tracking. Customise and copy the embed code.

0 IPs logged or stored
2 stacks shown (v4 & v6)
8+ diagnostic tools
lookups, always free