/v1/transfer-time
Download / upload time
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/bitrate-api/v1/transfer-time" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitrate-api/v1/transfer-time", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitrate-api/v1/transfer-time");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bitrate-api/v1/transfer-time",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"file_size": {
"gb": 1,
"kb": 1000000,
"mb": 1000,
"tb": 0.001,
"gib": 0.931323,
"mib": 953.674,
"tib": 0.000909495,
"bytes": 1000000000
},
"bandwidth_bps": 100000000,
"transfer_time": {
"hours": 0.0222222,
"human": "1m 20s",
"minutes": 1.33333,
"seconds": 80
},
"overhead_percent": 0
},
"meta": {
"timestamp": "2026-06-03T17:42:04.305Z",
"request_id": "f84ca3f9-7910-461a-afa8-d1ac85b8a9b5"
},
"status": "ok",
"message": "Transfer time",
"success": true
}