freeapis

Cloudflare Trace

Get IP Address, Timestamp, User Agent, Country Code, IATA, HTTP Version, TLS/SSL Version & More

Authentication
No auth
HTTPS
Yes
CORS
Yes
Category
Development

Overview

Cloudflare Trace returns your connection’s view from Cloudflare’s edge — your public IP, location (country/city/colo), TLS details, and more — as plain text from the /cdn-cgi/trace endpoint on any Cloudflare-served site. Keyless, CORS-friendly, and a handy way to get your own public IP without a dedicated IP API.

Note (verified 2026-08): the listing’s mirror endpoint (cloudflare-trace.fawazahmed0.workers.dev) returns HTTP 404 — the workers.dev deployment is gone. The official Cloudflare endpoint works (verified live).

Quick Start

Official endpoint (verified live):

curl "https://www.cloudflare.com/cdn-cgi/trace"
fl=574f50
h=www.cloudflare.com
ip=210.61.187.110
ts=1787377422.000
visit_scheme=https
uag=curl/8.14.1
colo=KHH
loc=TW
tls=TLSv1.3
sni=plaintext
warp=off
gateway=off
rbi=off

Any Cloudflare-served site works:

curl "https://example.com/cdn-cgi/trace"   # if the site uses Cloudflare

Authentication

None — keyless.

Rate Limits & Notes

  • Free; it’s an edge service, no documented hard limit.
  • Returns plain-text key/value lines: ip (your public IP), loc (country code), colo (edge city), tls (TLS version), h (host), uag (user agent).
  • The mirror workers.dev endpoint is dead (404) — use the official /cdn-cgi/trace path.
  • Great as a zero-dependency IP + connection-info source.

FAQ

Is Cloudflare Trace free? Yes — free and keyless.

Why does the listed URL 404? The community mirror (cloudflare-trace.fawazahmed0.workers.dev) is offline — use any Cloudflare site’s /cdn-cgi/trace.

What info does it give? Your public IP, location, TLS details, and Cloudflare edge info.

More in Development

APIAuthHTTPSCORS
24 Pull Requests

Project to promote open source collaboration during December

No authYesYes
Agify.io

Estimates the age from a first name

No authYesYes
Amazonscraperapi

Amazon product, search & batch scraping API with residential proxies (1000 free)

API KeyYesNo
AmberOne

Turn any website into a build-ready Android, iOS, PWA or Electron app project

API KeyYesNo
API Grátis

Multiples services and public APIs

No authYesUnknown