Workers
Edge API
Thin edge endpoints for data that must come from the network. No user content is stored.
GET /api/ip
Returns Cloudflare-observed client IP, country, parsed browser, and optional network labels.
{
"ip": "203.0.113.10",
"country": "NL",
"browser": "Google Chrome",
"userAgent": "Mozilla/5.0 …",
"source": "cloudflare",
"networkLabel": "Example ISP · Amsterdam, NL"
}GET /api/speedtest/ping
Empty ping target for RTT measurement.
204 No Content
GET /api/speedtest/download?bytes=2000000
Returns random bytes (capped) for download throughput tests.
application/octet-stream
POST /api/speedtest/upload
Accepts an opaque body and reports received byte count.
{ "received": 1000000 }Looking for something else? Browse all tools.