/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/batterypack-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/batterypack-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/batterypack-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"notes": "V, Ah, Wh, A. Pack V = Ns×cell V; Ah = Np×cell Ah; Wh = V×Ah; current = C-rate×Ah. Pack-design estimates — real cells taper on charge and sag under load. For runtime under a load use a battery API; for EV charging an EV-charging API.",
"service": "batterypack-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/c-rate": "Current from a C-rate, or the C-rate from a current (give one).",
"GET /v1/charge-time": "Charge time from capacity and charge current.",
"GET /v1/configuration": "Pack voltage, capacity, energy and cell count from Ns/Np."
},
"description": "Battery-pack design maths: pack voltage/capacity/energy from a series-parallel layout, C-rate current, and charge time."
},
"meta": {
"timestamp": "2026-06-06T23:53:53.005Z",
"request_id": "89654c72-a9b5-4771-b808-e3649ca28d1c"
},
"status": "ok",
"message": "Meta",
"success": true
}