Ir al contenido
GET /v1/c-rate

Current from a C-rate (or C-rate from current)

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/batterypack-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/batterypack-api/v1/c-rate" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/batterypack-api/v1/c-rate", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/batterypack-api/v1/c-rate");
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/batterypack-api/v1/c-rate",
    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": "The C-rate scales current to capacity: 1C draws (or charges) the whole capacity in one hour, so a 14 Ah pack at 2C is 28 A and empties in half an hour. Higher C-rates demand cells rated for them and thicker wiring, and they heat the pack and cut its life. Most Li-ion likes ≤1C charging and a few C discharge; LiFePO4 and high-power cells take more.",
        "c_rate": 2,
        "inputs": {
            "c_rate": 2,
            "current_a": null,
            "capacity_ah": 14,
            "pack_voltage": 46.8
        },
        "power_w": 1310.4,
        "current_a": 28
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:52.771Z",
        "request_id": "824e6517-d01b-44a7-bbd4-faa7b9aa5ac9"
    },
    "status": "ok",
    "message": "C-rate",
    "success": true
}