Skip to content
Get a free API key

IPWho SSL and HTTPS

Yes, IPWho supports SSL. Every plan, including Free, can call the API over HTTPS. There’s nothing to switch on.

Use https://api.ipwho.org as the base address:

Terminal window
curl -sS -H "Authorization: Bearer sk.xxx" \
"https://api.ipwho.org/ip/8.8.8.8"
  • TLS 1.2 and TLS 1.3. People often still say SSL, the older protocol that TLS replaced.
  • A redirect from HTTP. A request to http://api.ipwho.org is redirected to https://.
  • HSTS. API responses send the Strict-Transport-Security header, which tells clients that support it to use HTTPS for later requests.

Don’t rely on the redirect. Anything sent over http://, including an API key in the URL or a header, isn’t encrypted. See Authentication for how to send your key in a header.