/v1/time
Transfer 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/transfer-api/v1/time" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/transfer-api/v1/time", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/transfer-api/v1/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/transfer-api/v1/time",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "time = file bits / (bandwidth bits-per-second × (1 − overhead)). Bytes are 8 bits; SI units (1 MB = 1,000,000 bytes).",
"hours": 0.02222222,
"human": "0h 1m 20s",
"inputs": {
"bandwidth": 100,
"file_size": 1,
"size_unit": "GB",
"bandwidth_unit": "Mbps",
"overhead_percent": 0
},
"minutes": 1.333333,
"seconds": 80
},
"meta": {
"timestamp": "2026-06-04T18:38:14.204Z",
"request_id": "e2b654f4-a198-4280-81c2-ecee71ad613d"
},
"status": "ok",
"message": "Transfer time",
"success": true
}