Skip to content
GET /v1/charge-controller

Charge-controller current

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/offgrid-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/offgrid-api/v1/charge-controller" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/offgrid-api/v1/charge-controller", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/offgrid-api/v1/charge-controller");
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/offgrid-api/v1/charge-controller",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Charge-controller current = array watts ÷ battery voltage, then × a 1.25 safety factor (NEC) for irradiance edge-cases — a 700 W array on a 12 V bank is ~58 A, so rate the controller at ~73 A (round up to the next standard size, e.g. 80 A). An MPPT controller lets a higher-voltage panel string feed a lower-voltage battery and harvests more in cold or low light than a cheaper PWM unit. Mind the controller's own max PV voltage.",
        "inputs": {
            "array_watts": 700,
            "safety_factor": 1.25,
            "system_voltage_v": 12
        },
        "array_current_a": 58.33,
        "min_controller_amps": 72.9
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:05.050Z",
        "request_id": "c396c91e-2794-487c-a8e5-f4aac9126fe2"
    },
    "status": "ok",
    "message": "Charge controller",
    "success": true
}