Development — entry 044 of 100

Icanhazip

Verified Jul 2026

A famously minimal service: a GET request to icanhazip.com returns nothing but your public IP address as plain text - no JSON wrapper, no key, no signup. Created by sysadmin Major Hayden and still running behind Cloudflare today (confirmed live, open CORS header), with a dedicated ipv4.icanhazip.com subdomain for forcing IPv4 - it's one of the originals that popularized the curl-your-own-IP one-liner.

ip-addressplain-textcurl-friendlykeyless
AuthenticationNone requiredCall it straight away — no key, no signup.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsTextResponses can be requested as Text.

GreatAPIs Score

Score88out of 100
Authentication25/25No authentication required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 88 on greatapis.com
<a href="https://greatapis.com/api/icanhazip/"><img src="https://greatapis.com/badge/icanhazip.svg" alt="Scored 88 on greatapis.com"></a>

Auth quickstart

  1. No key needed — call it now.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.