Free IP Geolocation API
The only free IP geolocation API with no API key required, no registration, CORS-open for browser JavaScript, and sub-50ms edge responses from 330+ Cloudflare data centers worldwide.
curl https://golive.ly/api/ip203.0.113.42How the IP Geolocation API Works
Call the Endpoint
Send a GET request to /api/ip (plain text) or /api/tools/ip (JSON). No API key, no authentication, no headers needed.
Edge Processing
Cloudflare's 330+ data centers detect your IP, geolocation, ASN, TLS version, and Client Hints from the incoming request — all processed ephemerally in under 50ms.
Structured Response
Get back 27 fields of telemetry data as JSON. IP, city, country, ISP, ASN, HTTP protocol, TLS cipher, Cloudflare colo, TCP RTT, User-Agent, and Client Hints — zero logs, zero storage.
Base URL
https://golive.ly All endpoints are served from the same edge network. No subdomain, no separate host, no API key required.
Authentication
No API key. No header. No query parameter. Just call the endpoint.
Endpoints
Returns your public IP address as plain text. Ideal for shell scripts, CI/CD pipelines, and cron jobs.
curl https://golive.ly/api/ip203.0.113.42
Returns complete edge telemetry as JSON: IP, location, ASN, ISP, TLS version, TLS cipher, colo, TCP RTT, User-Agent, Client Hints.
curl https://golive.ly/api/tools/ip{
"success": true,
"data": {
"ip": "203.0.113.42",
"ipVersion": "IPv4",
"location": {
"city": "Athens",
"country": "GR",
"region": "Attica",
"postalCode": "",
"latitude": 37.9838,
"longitude": 23.7275,
"timezone": "Europe/Athens"
},
"network": {
"asn": "AS6799",
"asnNum": 6799,
"asOrganization": "Hellenic Telecommunications Organization"
},
"security": {
"httpProtocol": "HTTP/2",
"tlsVersion": "TLSv1.3",
"tlsCipher": "AEAD-CHACHA20-POLY1305-SHA256",
"colo": "ATH",
"clientTcpRtt": 18
},
"userAgent": {
"raw": "curl/8.7.1",
"os": "",
"browser": "",
"device": ""
},
"clientHints": {
"platform": "",
"mobile": ""
}
},
"meta": {
"isDatacenter": false
}
}Returns a shields.io-style SVG badge showing the viewer's IP address. Perfect for GitHub READMEs, blog sidebars, and status pages.
<img src="https://golive.ly/badge/ip.svg" alt="My IP" />SVG imageResponse Schema & Field Reference
{
"success": true,
"data": {
"ip": "203.0.113.42",
"ipVersion": "IPv4",
"location": { "city": "Athens", "country": "GR" },
"network": { "asn": "AS6799", "asOrganization": "Cosmote" },
"security": { "tlsVersion": "TLSv1.3", "colo": "FRA" }
}
}| Field | Type | Description |
|---|---|---|
ip | string | Your public IPv4 or IPv6 address |
ipVersion | string | "IPv4" or "IPv6" |
location.city | string | City from Cloudflare edge geolocation |
location.country | string | ISO 3166-1 alpha-2 country code |
location.region | string | Region/state name |
location.postalCode | string | Postal code (when available) |
location.latitude | number | Approximate latitude |
location.longitude | number | Approximate longitude |
location.timezone | string | IANA timezone (e.g. Europe/Athens) |
network.asn | string | Autonomous System Number (e.g. AS6799) |
network.asnNum | number | ASN as integer for programmatic use |
network.asOrganization | string | ISP or organization name |
security.httpProtocol | string | HTTP protocol version (e.g. HTTP/2) |
security.tlsVersion | string | TLS protocol version (e.g. TLSv1.3) |
security.tlsCipher | string | TLS cipher suite in use |
security.colo | string | Cloudflare colo IATA code (e.g. ATH) |
security.clientTcpRtt | number | null | TCP round-trip time to edge in ms |
userAgent.raw | string | Raw User-Agent header value |
userAgent.os | string | Parsed operating system |
userAgent.browser | string | Parsed browser name |
userAgent.device | string | Parsed device type |
clientHints.platform | string | Sec-CH-UA-Platform (e.g. macOS) |
clientHints.mobile | string | Sec-CH-UA-Mobile (?0 or ?1) |
meta.isDatacenter | boolean | Whether the ASN belongs to a datacenter/VPN provider |
HTTP Status Codes
| Status | Meaning |
|---|---|
200 | Success — response contains IP or telemetry data |
400 | Bad request — invalid query parameters |
429 | Too many requests — rate limit exceeded |
500 | Internal server error — try again shortly |
Usage & Rate Limits
Why Developers Choose This API
Edge Speed
Served from 330+ Cloudflare locations. No cold starts. Median <50ms.
Zero-Log
No data written to disk. Ephemeral processing.
CORS-Open
Access-Control-Allow-Origin: * for browser JavaScript.
Rich Telemetry
IP, geo, ASN, TLS, colo, RTT, UA, Client Hints — 27 fields.
CLI-Friendly
Plain text endpoint for curl, bash, cron, CI/CD pipelines.
Free Forever
No API key. No paid tiers. Commercial use allowed.
Frequently Asked Questions
Everything you need to know about the free IP geolocation API.
No. The golive.ly IP API requires zero authentication. No API key, no registration, no header, no query parameter. Just call the endpoint.