Ir al contenido
GET /v1/time

Transfer time

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/transfer-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}