← Back to Home

Bandwidth Speed Test

/speedtest
Test download and upload speeds. GET for download test, POST for upload test.

Parameters

size query
Download size in bytes (max 10MB, default 1MB)

Examples

curl
# Download test (1MB)
curl "https://tcpdata.com/speedtest?size=1048576" -o /dev/null -w "%{speed_download}\n"

# Upload test
dd if=/dev/zero bs=1M count=1 | curl -X POST https://tcpdata.com/speedtest --data-binary @-