← Back to Home

Performance Benchmark

/benchmark
Test API response time and performance metrics. Returns processing time, datacenter location, protocol version, and TLS information. This is useful for testing API latency and understanding which Cloudflare datacenter is serving your requests.
Try it now

Examples

curl
curl https://tcpdata.com/benchmark
JavaScript (fetch)
fetch('https://tcpdata.com/benchmark')
  .then(res => res.json())
  .then(data => console.log(data));
Python (requests)
import requests

response = requests.get('https://tcpdata.com/benchmark')
print(response.json())