APIHub
Back to Explore

Cloudflare Trace

The Cloudflare Trace API offers a single GET endpoint (/cdn-cgi/trace) that returns the caller’s IP address along with request metadata such as timestamp, user‑agent, geographic location, TLS/SSL version and other connection details.

Development
none
HTTPS
CORS: Yes
Description enriched
Visit official documentation

Latency

798ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/cdn-cgi/trace

Retrieve client IP address and related metadata (timestamp, user‑agent, location, TLS version, etc.) via Cloudflare’s trace endpoint.

1 endpoint auto-detected

curl -X GET \
  "https://github.com/fawazahmed0/cloudflare-trace-api/cdn-cgi/trace"

github.com · HTTPS only