Free APIDev ToolsNo keyOfficial
Cloudflare Trace
Instant edge diagnostics; caller IP, country, colo, TLS and HTTP version
Cloudflare's /cdn-cgi/trace endpoint returns a plain key=value report about the connecting client as seen by Cloudflare's edge: public IP, country, the data-center (colo) you hit, TLS version, HTTP protocol, user agent and a request timestamp. It is an effortless, keyless way to get the caller's IP and rough geolocation.
Free tier
Free, no key; available on cloudflare.com and any Cloudflare-fronted domainRate limits
Not published; trivial edge endpoint with effectively no costAuth
No keyBase URL
https://www.cloudflare.comWhat you'd build with it
- Get the caller's public IP and country without an IP-geo service
- Detect which Cloudflare data-center a region routes to
- Sanity-check TLS/HTTP version from a script or automation
- Lightweight 'where am I' check inside a skill
Key endpoints
- GET
/cdn-cgi/tracePlain-text key=value client diagnostics (ip, loc, colo, tls, http)
Members
Members get the runnable recipe
Sign in free to copy the example request, see a sample response, and read the gotchas.
Tags
ipgeodiagnosticsnetworkdeveloper