/v1/configuration
Pack voltage, capacity and energy
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"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
}