freeapis

Icanhazip

IP Address API

Authentication
No auth
HTTPS
Yes
CORS
Yes
Category
Development
Data source
public-apis

Overview

icanhazip.com returns your public IP address as plain text — the classic minimal IP lookup. Keyless and dead simple (verified live).

Quick Start

Your IP (verified live):

curl "https://icanhazip.com"
210.61.187.110

With a User-Agent (to distinguish from the browser):

curl -A "curl/8.0" "https://icanhazip.com"

Authentication

None — keyless.

Rate Limits & Notes

  • Free; be polite — no hard published limit.
  • Returns plain text (IPv4 by default; IPv6 when the connection is IPv6).
  • There’s no JSON — just the IP and a newline.

FAQ

Is icanhazip free? Yes — free and keyless (verified).

Does it return JSON? No — plain text IP only.

Can I get IPv6? Yes — connect over IPv6 and it returns your IPv6 address.

More in Development

APIAuthHTTPSCORS
24 Pull Requests

Project to promote open source collaboration during December

No authYesYes↗
Abacus

Free and simple counting service. You can use it to track page hits and specific events

No authYesUnknown↗
Agent Gateway

34+ AI agent infrastructure services including memory, wallets, and scheduling

API KeyYesUnknown↗
AgentDeals

Search and compare developer free tiers, startup credits, and pricing changes

No authYesUnknown↗
Agify.io

Estimates the age from a first name

No authYesYes↗