Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

IP address.sh

IP address.sh returns your public IP as text or JSON with no signup, no key, and no published rate limit, and whether any hard cap is enforced is not confirmed.

IP address.sh returns the public IP address of whoever calls it, as plain text, JSON, or JSONP, from a single URL.

By IP address.shNetworkingChecked ✓ 15 Nov 2026

Is it a fit?

Good fit

Use it when a script or a terminal needs its own public IP address with one plain request and no account.

  • network diagnostics
  • automation scripts
  • quick checks

Not a fit

Avoid it if you need geolocation, other IP details, or a guaranteed uptime for production-critical systems.

  • need geolocation
  • require SLA
  • need advanced IP data

You call ipaddress.sh from a terminal, a script, or a browser, and it answers with the address your request came from. It suits admins and developers who need a quick answer and nothing more.

What the free plan gives you

The about page shows no pricing, no paid plan, and no sign-up, key, or card step in its examples. It does not use the word free. The about page says it serves more than 5M queries per day.

A plain request returns just the IP address as text. Add ?format=json for a JSON object with one field named ip. Add ?format=jsonp for a JSONP callback, and add &callback= with a name to choose the function name. The page shows code samples for curl, wget, Python, JavaScript, Node.js, Go, Rust, Ruby, PHP, Java, C#, Swift, and Kotlin.

The answer holds your IP address only. It does not give location, provider, or other details.

When you hit a limit

The about page does not publish a rate limit, a quota, or a paid tier. It also does not say what happens when you send a very large number of requests.

The documented API calls need neither an account nor payment details. For a script that runs often, cache the plain-text result locally and refresh it after changing networks, such as when you switch from Wi-Fi to mobile data.

Gotchas

  • The page gives no uptime promise or SLA, so do not make a production system depend on it alone.
  • The answer is the IP address your request arrives from. Behind a proxy, VPN, or shared network, that is not your own machine's address.
  • The page shows no rate limit, so keep your script from calling it in a tight loop.

Alternatives in this atlas

  • What Is My IP: when you want a web page with extra detail, not only an API.
  • JSON IP: when you want another no-key API for the public IP.
  • IPinfo: when you also need location data for an IP address.

Questions people ask

Is IP address.sh free?

It looks that way. The about page shows no sign-up, key, card, or paid plan, but it does not state a price either way.

Does IP address.sh have a rate limit?

The about page does not publish one. Cache the result in scripts so you do not call it more often than needed.

How do I get my IP as JSON from IP address.sh?

Request https://ipaddress.sh?format=json. The response is a JSON object with one ip field.

How to get started

  1. Open a terminal and run `curl https://ipaddress.sh`.
  2. Read the IP address in the response body.
  3. Add `?format=json` to get a JSON object with an `ip` field.
  4. Add `?format=jsonp&callback=getip` to wrap the result in your own callback name.
  5. Call the same URL from your script, with no sign-up or key.

Other free networking options

Same category, safest first.

Cloudflare · Networking
5 custom WAF rules and 1 rate limiting rule · 70 Cloudflare Rules plus 10K Bulk Redirects · Free Universal SSL certificate
Billing risk: None
No card
ngrok · Networking
$5 one-time usage credit · Credit lasts one year and only works on the Free plan · Up to 3 online endpoints
Billing risk: None
No card
IntoDNS.ai · Networking
Scans of any domain, no account required · Public REST API for DNS, email, blacklist, and quick-scan endpoints, no API key · PDF report export and generator tools (SPF, DMARC, MTA-STS, BIMI) without an account
Billing risk: None
No card
IP2Location · Networking
50,000 IP Geolocation API queries/month · 500 Domain WHOIS API queries/month · 50 Hosted Domain API queries/month
Billing risk: None
No card