Ir al contenido
GET /v1/configuration

Pack voltage, capacity and energy

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/configuration" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/batterypack-api/v1/configuration", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/batterypack-api/v1/configuration");
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/configuration",
    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": "Cells in series add their voltages (Ns sets the pack voltage); cells in parallel add their capacities (Np sets the amp-hours). Energy in watt-hours = nominal voltage × capacity. A 13S4P pack of 3.6 V / 3.5 Ah cells is 46.8 V, 14 Ah, ~655 Wh. Use the full-charge voltage (Ns × 4.2 V for Li-ion) to size the charger and the BMS.",
        "config": "13S4P",
        "inputs": {
            "series_count": 13,
            "parallel_count": 4,
            "cell_capacity_ah": 3.5,
            "cell_voltage_max": 4.2,
            "cell_voltage_nominal": 3.6
        },
        "total_cells": 52,
        "pack_energy_wh": 655.2,
        "pack_capacity_ah": 14,
        "pack_voltage_full_v": 54.6,
        "pack_voltage_nominal_v": 46.8
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:52.924Z",
        "request_id": "095ffb32-242d-4abc-adf1-ba2d3d681ee3"
    },
    "status": "ok",
    "message": "Pack configuration",
    "success": true
}