Appearance
Geo
Locate an IP address and identify the network that operates it.
Public, rate-limited per IP and Referrer
Without an api key, calls that carry a Referer are capped at 10 requests/min per Referrer (a browser embedding this endpoint hits that fast); all callers are also held to the shared public budget of 600 requests/min per IP. 429 over either. Sustained or high-volume use should authenticate to run against plan quotas instead. See rate limits.
Every device on the internet sits inside an Autonomous System (AS), a network run by one organization, identified by a number (its ASN). Cloudflare, AWS, and your home ISP are each an AS. Knowing the AS behind an address tells you who is really carrying the traffic, which is often more useful than a city name.
- Base path:
https://ws.latency.app/v1/geo/<ip> - Auth: none (public)
Request
bash
curl "https://ws.latency.app/v1/geo/1.1.1.1"Response
json
{
"ip": "1.1.1.1",
"geo": {
"city": "…",
"country": "…",
"latitude": 0,
"longitude": 0
},
"asn": {
"number": 13335,
"org": "CLOUDFLARENET"
}
}| Field | Meaning |
|---|---|
geo | Approximate location (city, country, coordinates). |
asn.number | The Autonomous System number operating the address. |
asn.org | The operator's name, e.g. CLOUDFLARENET. |
TIP
Location data is approximate: it reflects where an address is registered or routed, which for cloud and CDN IPs is often a data-center region, not a user. The ASN is the more reliable signal.
How we source it
Geolocation and ASN come from both our own catalog and Maxmind, both are regularly-updated and sourced internally on the platform (no third-party call per request).