JSON endpoint
Solar sizing JSON endpoint
Returns panel watts, battery amp-hours, inverter watts, estimated harvest, and roof-panel count from daily watt-hours and sun assumptions.
Endpoint
https://www.offgridrvhub.com/tools/api/solar.json
Full calculator
Open toolBest use
Use this when another page needs to quote a quick solar sizing estimate while linking back to the full calculator.
Sample URL
https://www.offgridrvhub.com/tools/api/solar.json?usage=2200&sun=5®ion=mountain-west&battery=lithium&autonomy=2Fetch
fetch("https://www.offgridrvhub.com/tools/api/solar.json?usage=2200&sun=5®ion=mountain-west&battery=lithium&autonomy=2").then((response) => response.json())