/v1/bandwidth
Required bandwidth
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/bandwidth" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/transfer-api/v1/bandwidth", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/transfer-api/v1/bandwidth");
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/bandwidth",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"gbps": 0.133333333,
"mbps": 133.333333,
"note": "bandwidth = file bits / time / (1 − overhead). Mbps is megabits per second; MB/s is megabytes per second (×8).",
"inputs": {
"seconds": 60,
"file_size": 1,
"size_unit": "GB",
"overhead_percent": 0
},
"mb_per_s": 16.666667,
"bits_per_second": 133333333.3333
},
"meta": {
"timestamp": "2026-06-04T18:38:13.969Z",
"request_id": "987c81b2-5840-421c-a7fc-7c7f121dcca6"
},
"status": "ok",
"message": "Required bandwidth",
"success": true
}