/v1/transfer-time
Download / upload time
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}