www.brainiac.software/api/v1/solar-battery/warranty-threshold-check
Compare supplied SOH, cycles, and calendar age to caller-supplied warranty thresholds. Docs: https://www.brainiac.software/api/solar-battery/warranty-threshold-check
POST
https://www.brainiac.software/api/v1/solar-battery/warranty-threshold-checkUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.brainiac.software/api/v1/solar-battery/warranty-threshold-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"asOf":"2026-11-04T21:00:00.000Z","batteryHealth":[{"assetId":"SITE-A","cycleCount":520,"id":"H1","measuredKwh":54,"nameplateKwh":60,"ratedCycles":6000,"source":"Caller-supplied BMS"}],"warranties":[{"asOf":"2026-11-04","assetId":"SITE-A","id":"W1","installedAt":"2022-01-01","kind":"capacity","maxCalendarYears":10,"maxCycles":6000,"minSohPct":70,"source":"Caller-supplied warranty extract"}]}),
});
console.log(await res.json());Example input
{
"asOf": "2026-11-04T21:00:00.000Z",
"batteryHealth": [
{
"assetId": "SITE-A",
"cycleCount": 520,
"id": "H1",
"measuredKwh": 54,
"nameplateKwh": 60,
"ratedCycles": 6000,
"source": "Caller-supplied BMS"
}
],
"warranties": [
{
"asOf": "2026-11-04",
"assetId": "SITE-A",
"id": "W1",
"installedAt": "2022-01-01",
"kind": "capacity",
"maxCalendarYears": 10,
"maxCycles": 6000,
"minSohPct": 70,
"source": "Caller-supplied warranty extract"
}
]
}