Powered by Cloudflare Workers — 300+ global locations

Free IP Geolocation API

Cloudflare-edge speed. Zero logs. No credit card. Get IP, location, ISP, TLS version and HTTP protocol in a single request.

terminal
$ curl https://whatsmy.fyi/api/v1/ip \
  -H "Authorization: Bearer YOUR_API_KEY"

Live Demo

See it in action

A real request to the API. If you're not authenticated, we show sample data with the exact same shape.

GET /api/v1/ip

Endpoints

One endpoint, all the data

A single GET request returns everything. All tiers are free — the grouping is for clarity.

IP Basic

Free

Just the IP address. Minimal payload.

ipipv6status

Geo Full

Free

Complete geolocation and network data. The default scope.

ipcitycountrylat/lngtimezoneISPASNpostal_code+ more

Network

Free

Cloudflare-native connection metadata unavailable anywhere else.

http_protocoltls_versiontls_cipherrttcoloproxyhosting

All fields are returned in a single request. Scope docs →

Code Snippets

Ready to paste

Complete, runnable examples. Replace YOUR_API_KEY with your key from the dashboard.

curl https://whatsmy.fyi/api/v1/ip \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Reference

Every field, documented

The full JSON response shape. All fields are always present; null when the data is not available.

FieldType
statusstring
ipstring
ipv6string
citystring
regionstring
region_codestring
countrystring
country_namestring
continentstring
latitudenumber
longitudenumber
timezonestring
timezone_offsetnumber
postal_codestring
asnnumber
orgstring
is_euboolean
currencystring
http_protocolstring
tls_versionstring
tls_cipherstring
rttnumber
colostring
proxyboolean
hostingboolean

Why whatsmy.fyi

Built different

Most IP APIs are wrappers around paid geolocation databases. Ours runs natively on Cloudflare's edge.

Cloudflare Edge

< 50ms globally

Served from 300+ Cloudflare PoPs. Your request never leaves the edge.

Zero Logs

GDPR compliant

We never store the IPs you query or any response data. Usage analytics are opt-in and fully under your control.

Always Free

No hidden tiers

No rate limits. No monthly cap. No credit card. Free now and forever.

CORS Enabled

Call from anywhere

Access-Control-Allow-Origin: * on every response. No proxy needed.

Comparison

How we stack up

An honest look at the most popular free IP geolocation APIs.

Featurewhatsmy.fyiipinfo.ioip-api.comipapi.co
Monthly request limitUnlimitedUnlimited~2k / day (45 req/min)1k / day
HTTPS on free tierYesYesNo — HTTP onlyYes
Zero logs / privacyQueried IPs never storedLogs requestsNot statedExplicitly logs IPs
Commercial useYesYesNo — banned on freeYes
CORS enabledYesYesNot on HTTP free tierYes
HTTP/3 & TLS dataYes (Cloudflare native)NoNoNo

* Limits and pricing may change. Last checked June 2026.

Pricing

Free. Forever.

$0
per month, forever
  • Unlimited API requests
  • All fields — IP, geo, ISP, TLS, HTTP protocol
  • Global Cloudflare edge — < 50ms latency
  • CORS enabled — use from any frontend
  • Zero logs — GDPR compliant by design
  • Up to 10 API keys per account
  • 99.9% uptime on Cloudflare Workers
Get API Key — It's Free

No credit card. No trial. Just sign up.

FAQ

Common questions

Ready to integrate?

Get your API key in 30 seconds. No credit card, no verification, no limits.

Free IP Geolocation API | whatsmy.fyi