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.
$ 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.
Endpoints
One endpoint, all the data
A single GET request returns everything. All tiers are free — the grouping is for clarity.
IP Basic
FreeJust the IP address. Minimal payload.
ipipv6statusGeo Full
FreeComplete geolocation and network data. The default scope.
ipcitycountrylat/lngtimezoneISPASNpostal_code+ moreNetwork
FreeCloudflare-native connection metadata unavailable anywhere else.
http_protocoltls_versiontls_cipherrttcoloproxyhostingAll 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.
| Field | Type |
|---|---|
status | string |
ip | string |
ipv6 | string |
city | string |
region | string |
region_code | string |
country | string |
country_name | string |
continent | string |
latitude | number |
longitude | number |
timezone | string |
timezone_offset | number |
postal_code | string |
asn | number |
org | string |
is_eu | boolean |
currency | string |
http_protocol | string |
tls_version | string |
tls_cipher | string |
rtt | number |
colo | string |
proxy | boolean |
hosting | boolean |
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.
| Feature | whatsmy.fyi | ipinfo.io | ip-api.com | ipapi.co |
|---|---|---|---|---|
| Monthly request limit | Unlimited | Unlimited | ~2k / day (45 req/min) | 1k / day |
| HTTPS on free tier | Yes | Yes | No — HTTP only | Yes |
| Zero logs / privacy | Queried IPs never stored | Logs requests | Not stated | Explicitly logs IPs |
| Commercial use | Yes | Yes | No — banned on free | Yes |
| CORS enabled | Yes | Yes | Not on HTTP free tier | Yes |
| HTTP/3 & TLS data | Yes (Cloudflare native) | No | No | No |
* Limits and pricing may change. Last checked June 2026.
Pricing
Free. 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
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.