Skip to content

Calculator API

JSON endpoints for free RV planning estimates.

These read-only endpoints expose the same planning math behind the public calculators. Use them for internal tools, club resource pages, research notes, or lightweight examples that link back to the full calculator.

Use guidelines

Link back to the full calculator when showing results.

API responses are deterministic planning estimates, not certified design outputs. Each response includes the matching calculator URL, assumptions URL, and caveat text so downstream pages can keep context attached.

Documentation URL

https://www.offgridrvhub.com/tools/calculator-api

Endpoints

Fetch a planning estimate, then send readers to the full tool.

Query values are normalized with the same bounds used by the interactive calculators. If a parameter is missing or invalid, the endpoint falls back to the calculator default.

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 tool

Best 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&region=mountain-west&battery=lithium&autonomy=2

Fetch

fetch("https://www.offgridrvhub.com/tools/api/solar.json?usage=2200&sun=5&region=mountain-west&battery=lithium&autonomy=2").then((response) => response.json())

JSON endpoint

Solar payback JSON endpoint

Returns upfront cost, generator fuel and maintenance savings, campground-night savings, payback years, break-even nights, horizon net value, and ROI posture for RV solar ownership math.

Endpoint

https://www.offgridrvhub.com/tools/api/solar-payback.json

Full calculator

Open tool

Best use

Use this when a solar, generator, or boondocking resource needs to separate actual cost savings from quiet-power convenience.

Sample URL

https://www.offgridrvhub.com/tools/api/solar-payback.json?cost=4200&labor=1200&maintenance=80&years=6&nights=45&avoided=12&nightly=38&genHours=1.6&burn=0.22&fuel=4&genMaintenance=0.75&replacement=600&resale=900

Fetch

fetch("https://www.offgridrvhub.com/tools/api/solar-payback.json?cost=4200&labor=1200&maintenance=80&years=6&nights=45&avoided=12&nightly=38&genHours=1.6&burn=0.22&fuel=4&genMaintenance=0.75&replacement=600&resale=900").then((response) => response.json())

JSON endpoint

Roof solar fit JSON endpoint

Returns usable roof area, estimated panel count, installed watts, daily harvest, controller amperage, and fit warnings from roof and panel dimensions.

Endpoint

https://www.offgridrvhub.com/tools/api/roof-solar-fit.json

Full calculator

Open tool

Best use

Use this when a solar resource needs a roof-space reality check before sending readers to a full solar sizing calculator.

Sample URL

https://www.offgridrvhub.com/tools/api/roof-solar-fit.json?length=24&width=8&obstructions=36&panelLength=58&panelWidth=27&panelWatts=200&target=600

Fetch

fetch("https://www.offgridrvhub.com/tools/api/roof-solar-fit.json?length=24&width=8&obstructions=36&panelLength=58&panelWidth=27&panelWatts=200&target=600").then((response) => response.json())

JSON endpoint

Solar tilt and shade JSON endpoint

Returns estimated solar harvest, ideal seasonal tilt, angle loss, shade loss, effective sun-hours, and watch-outs from RV panel angle, orientation, and shade assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/solar-tilt-shade.json

Full calculator

Open tool

Best use

Use this when a solar or boondocking resource needs to explain why flat, shaded, or dirty panels produce less than the nameplate math suggests.

Sample URL

https://www.offgridrvhub.com/tools/api/solar-tilt-shade.json?watts=600&sun=5&lat=35&season=winter&tilt=0&orientation=0&shade=20&soil=8&loss=18

Fetch

fetch("https://www.offgridrvhub.com/tools/api/solar-tilt-shade.json?watts=600&sun=5&lat=35&season=winter&tilt=0&orientation=0&shade=20&soil=8&loss=18").then((response) => response.json())

JSON endpoint

Solar string sizing JSON endpoint

Returns cold-weather panel Voc, safe series limits, recommended series/parallel wiring, MPPT voltage/current margins, clipping posture, and watch-outs from panel and controller specs.

Endpoint

https://www.offgridrvhub.com/tools/api/solar-string-sizing.json

Full calculator

Open tool

Best use

Use this when a solar wiring or MPPT controller resource needs to check series/parallel safety before recommending a panel string layout.

Sample URL

https://www.offgridrvhub.com/tools/api/solar-string-sizing.json?panels=4&watts=200&voc=24.3&vmp=20.4&isc=10.4&imp=9.8&maxVoc=100&inputAmps=40&outputAmps=50&battery=12&cold=14&coef=0.28

Fetch

fetch("https://www.offgridrvhub.com/tools/api/solar-string-sizing.json?panels=4&watts=200&voc=24.3&vmp=20.4&isc=10.4&imp=9.8&maxVoc=100&inputAmps=40&outputAmps=50&battery=12&cold=14&coef=0.28").then((response) => response.json())

JSON endpoint

Battery sizing JSON endpoint

Returns daily watt-hours, system-loss buffer, required amp-hours, battery count, and series/parallel layout from either dailyWh or appliance loads.

Endpoint

https://www.offgridrvhub.com/tools/api/battery.json

Full calculator

Open tool

Best use

Use dailyWh for a simple estimate, or pass encoded loads JSON when you need appliance-level math.

Sample URL

https://www.offgridrvhub.com/tools/api/battery.json?dailyWh=2400&voltage=12&battery=lithium&autonomy=2

Fetch

fetch("https://www.offgridrvhub.com/tools/api/battery.json?dailyWh=2400&voltage=12&battery=lithium&autonomy=2").then((response) => response.json())

JSON endpoint

Lithium upgrade value JSON endpoint

Returns usable capacity, weight saved, cost per usable kWh, lifetime cycle-cost posture, replacement estimates, and watch-outs for lead-acid to LiFePO4 RV battery upgrades.

Endpoint

https://www.offgridrvhub.com/tools/api/lithium-upgrade-value.json

Full calculator

Open tool

Best use

Use this when a battery article needs to compare usable capacity, payload, and lifetime value instead of sticker amp-hours.

Sample URL

https://www.offgridrvhub.com/tools/api/lithium-upgrade-value.json?currentCount=2&currentAh=100&currentVoltage=12&currentChemistry=agm&currentWeight=63&currentCost=500&currentCycles=500&lithiumCount=2&lithiumAh=100&lithiumVoltage=12&lithiumWeight=25&lithiumCost=900&lithiumCycles=3000&usage=1800&years=5&use=seasonal&temp=shoulder-season&charger=250&payloadValue=0

Fetch

fetch("https://www.offgridrvhub.com/tools/api/lithium-upgrade-value.json?currentCount=2&currentAh=100&currentVoltage=12&currentChemistry=agm&currentWeight=63&currentCost=500&currentCycles=500&lithiumCount=2&lithiumAh=100&lithiumVoltage=12&lithiumWeight=25&lithiumCost=900&lithiumCycles=3000&usage=1800&years=5&use=seasonal&temp=shoulder-season&charger=250&payloadValue=0").then((response) => response.json())

JSON endpoint

DC-DC charger sizing JSON endpoint

Returns recommended DC-DC charger amperage, alternator input load, drive-day recovery, fuse floor, wire gauge hint, and watch-outs from battery, alternator, and drive-hour assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/dc-dc-charger-size.json

Full calculator

Open tool

Best use

Use this when a battery or alternator-charging article needs to sanity-check charger size before sending readers to wiring and recharge details.

Sample URL

https://www.offgridrvhub.com/tools/api/dc-dc-charger-size.json?ah=300&voltage=12&battery=lithium&gap=1800&drive=2.5&alternator=180&reserve=45&target=40&efficiency=90&length=15&drop=3&type=unknown

Fetch

fetch("https://www.offgridrvhub.com/tools/api/dc-dc-charger-size.json?ah=300&voltage=12&battery=lithium&gap=1800&drive=2.5&alternator=180&reserve=45&target=40&efficiency=90&length=15&drop=3&type=unknown").then((response) => response.json())

JSON endpoint

Recharge-time JSON endpoint

Returns energy to replace, effective charge rate, estimated hours or good-sun days to target, and charge-source watch-outs from battery and charger assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/recharge.json

Full calculator

Open tool

Best use

Use this when a page needs to compare solar, alternator, shore, or generator recovery time while linking back to the full calculator.

Sample URL

https://www.offgridrvhub.com/tools/api/recharge.json?ah=300&voltage=12&battery=lithium&from=35&to=90&source=solar&solar=600&sun=5&usage=1800

Fetch

fetch("https://www.offgridrvhub.com/tools/api/recharge.json?ah=300&voltage=12&battery=lithium&from=35&to=90&source=solar&solar=600&sun=5&usage=1800").then((response) => response.json())

JSON endpoint

Generator size JSON endpoint

Returns running-watt, startup-surge, altitude-derated output, margin, and recommended generator class from RV appliance and charger overlap assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/generator-size.json

Full calculator

Open tool

Best use

Use this when a generator, AC, or boondocking resource needs to sanity-check generator wattage before comparing runtime and fuel.

Sample URL

https://www.offgridrvhub.com/tools/api/generator-size.json?charger=900&rated=3500&surge=4500&altitude=4500&buffer=15&loads=%5B%7B%22name%22%3A%22Rooftop%20AC%20with%20soft%20start%22%2C%22runningWatts%22%3A1350%2C%22startupSurgeWatts%22%3A2600%2C%22quantity%22%3A1%7D%5D

Fetch

fetch("https://www.offgridrvhub.com/tools/api/generator-size.json?charger=900&rated=3500&surge=4500&altitude=4500&buffer=15&loads=%5B%7B%22name%22%3A%22Rooftop%20AC%20with%20soft%20start%22%2C%22runningWatts%22%3A1350%2C%22startupSurgeWatts%22%3A2600%2C%22quantity%22%3A1%7D%5D").then((response) => response.json())

JSON endpoint

Shore power load JSON endpoint

Returns shore-service watts, continuous target, appliance and charger load, breaker margin, recommended service lane, and load-shedding suggestions for 15A, 20A, 30A, and 50A RV hookups.

Endpoint

https://www.offgridrvhub.com/tools/api/shore-power-load.json

Full calculator

Open tool

Best use

Use this when a shore-power, surge-protector, campground, or electrical resource needs to show what a limited pedestal can safely carry.

Sample URL

https://www.offgridrvhub.com/tools/api/shore-power-load.json?service=30a&voltage=120&continuous=80&charger=900&loads=%5B%7B%22name%22%3A%22Rooftop%20AC%22%2C%22watts%22%3A1350%2C%22quantity%22%3A1%2C%22shedPriority%22%3A%22keep%22%7D%2C%7B%22name%22%3A%22Microwave%22%2C%22watts%22%3A1200%2C%22quantity%22%3A1%2C%22shedPriority%22%3A%22only-alone%22%7D%5D

Fetch

fetch("https://www.offgridrvhub.com/tools/api/shore-power-load.json?service=30a&voltage=120&continuous=80&charger=900&loads=%5B%7B%22name%22%3A%22Rooftop%20AC%22%2C%22watts%22%3A1350%2C%22quantity%22%3A1%2C%22shedPriority%22%3A%22keep%22%7D%2C%7B%22name%22%3A%22Microwave%22%2C%22watts%22%3A1200%2C%22quantity%22%3A1%2C%22shedPriority%22%3A%22only-alone%22%7D%5D").then((response) => response.json())

JSON endpoint

Generator runtime JSON endpoint

Returns generator hours, fuel gallons, tank runtime, load percentage, and practical overload/run-window warnings from battery gap and charger assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/generator-runtime.json

Full calculator

Open tool

Best use

Use this when a page needs to compare generator runtime and fuel against solar, DC-DC, or lower daily loads.

Sample URL

https://www.offgridrvhub.com/tools/api/generator-runtime.json?gap=1800&days=5&voltage=12&amps=45&generator=2200&loads=300&tank=1.1&burn=0.18&window=2.5

Fetch

fetch("https://www.offgridrvhub.com/tools/api/generator-runtime.json?gap=1800&days=5&voltage=12&amps=45&generator=2200&loads=300&tank=1.1&burn=0.18&window=2.5").then((response) => response.json())

JSON endpoint

Propane runtime JSON endpoint

Returns usable propane, daily BTU demand, pounds and gallons per day, estimated days, refill timing, and furnace-dominance warnings.

Endpoint

https://www.offgridrvhub.com/tools/api/propane-runtime.json

Full calculator

Open tool

Best use

Use this when a page needs to compare propane capacity against furnace-heavy boondocking, cold nights, or absorption-fridge use.

Sample URL

https://www.offgridrvhub.com/tools/api/propane-runtime.json?capacity=40&furnace=30000&hours=8&duty=30&fridge=10000&water=8000&cooking=3000&reserve=15

Fetch

fetch("https://www.offgridrvhub.com/tools/api/propane-runtime.json?capacity=40&furnace=30000&hours=8&duty=30&fridge=10000&water=8000&cooking=3000&reserve=15").then((response) => response.json())

JSON endpoint

Furnace battery drain JSON endpoint

Returns overnight RV furnace blower watt-hours, battery nights before stop-SOC, furnace propane use, propane nights before reserve, and the first winter-stay limiter.

Endpoint

https://www.offgridrvhub.com/tools/api/furnace-battery-drain.json

Full calculator

Open tool

Best use

Use this when a winter camping, furnace, battery, or propane resource needs to show whether 12V blower draw or fuel capacity ends the stay first.

Sample URL

https://www.offgridrvhub.com/tools/api/furnace-battery-drain.json?furnace=30000&duty=35&hours=10&blower=95&nights=4&ah=200&voltage=12&battery=lithium&start=100&min=20&other=450&propane=40&reserve=15

Fetch

fetch("https://www.offgridrvhub.com/tools/api/furnace-battery-drain.json?furnace=30000&duty=35&hours=10&blower=95&nights=4&ah=200&voltage=12&battery=lithium&start=100&min=20&other=450&propane=40&reserve=15").then((response) => response.json())

JSON endpoint

Air-conditioner runtime JSON endpoint

Returns usable battery capacity, AC watt-hour demand, inverter headroom, solar-assisted runtime, and gap warnings for running RV air conditioning from batteries.

Endpoint

https://www.offgridrvhub.com/tools/api/air-conditioner-runtime.json

Full calculator

Open tool

Best use

Use this when a page needs to sanity-check whether an RV battery bank, inverter, and solar array can support air-conditioner runtime.

Sample URL

https://www.offgridrvhub.com/tools/api/air-conditioner-runtime.json?ah=400&voltage=12&battery=lithium&start=100&min=20&watts=1350&surge=3500&hours=3&inverter=3000&inverterSurge=6000&solar=800&sun=5&derate=25&other=1200

Fetch

fetch("https://www.offgridrvhub.com/tools/api/air-conditioner-runtime.json?ah=400&voltage=12&battery=lithium&start=100&min=20&watts=1350&surge=3500&hours=3&inverter=3000&inverterSurge=6000&solar=800&sun=5&derate=25&other=1200").then((response) => response.json())

JSON endpoint

RV fridge solar JSON endpoint

Returns fridge watt-hours, whole-rig daily load, usable battery runtime, solar coverage, recommended solar watts, and autonomy warnings from RV refrigerator assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/fridge-solar.json

Full calculator

Open tool

Best use

Use this when a solar, battery, fridge, or boondocking resource needs to answer whether solar can keep an RV refrigerator running before sizing the rest of the rig.

Sample URL

https://www.offgridrvhub.com/tools/api/fridge-solar.json?type=compressor-12v&watts=60&duty=45&hours=24&ambient=15&other=900&voltage=12&ah=200&battery=lithium&reserve=15&autonomy=2&solar=400&sun=4.5&derate=25

Fetch

fetch("https://www.offgridrvhub.com/tools/api/fridge-solar.json?type=compressor-12v&watts=60&duty=45&hours=24&ambient=15&other=900&voltage=12&ah=200&battery=lithium&reserve=15&autonomy=2&solar=400&sun=4.5&derate=25").then((response) => response.json())

JSON endpoint

Wire-size JSON endpoint

Returns recommended copper wire gauge, voltage drop, watts lost, ampacity margin, fuse planning, and parallel-run warnings for RV DC circuits.

Endpoint

https://www.offgridrvhub.com/tools/api/wire-size.json

Full calculator

Open tool

Best use

Use this when a page needs to sanity-check DC wire sizing for solar, DC-DC chargers, inverter feeds, or other 12V/24V/48V circuits.

Sample URL

https://www.offgridrvhub.com/tools/api/wire-size.json?voltage=12&amps=40&length=15&drop=3&loadFactor=125&circuit=dc-dc-charger

Fetch

fetch("https://www.offgridrvhub.com/tools/api/wire-size.json?voltage=12&amps=40&length=15&drop=3&loadFactor=125&circuit=dc-dc-charger").then((response) => response.json())

JSON endpoint

Inverter-size JSON endpoint

Returns recommended inverter continuous watts, surge watts, DC current, fuse planning, and battery-runtime warnings from AC load assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/inverter-size.json

Full calculator

Open tool

Best use

Use this when a page needs to compare inverter size, startup surge, DC current, and battery runtime for RV AC appliances.

Sample URL

https://www.offgridrvhub.com/tools/api/inverter-size.json?voltage=12&ah=300&battery=lithium&efficiency=90&loadFactor=125&runtime=1&loads=%5B%7B%22name%22%3A%22Microwave%22%2C%22runningWatts%22%3A1200%2C%22startupSurgeWatts%22%3A1800%2C%22quantity%22%3A1%7D%5D

Fetch

fetch("https://www.offgridrvhub.com/tools/api/inverter-size.json?voltage=12&ah=300&battery=lithium&efficiency=90&loadFactor=125&runtime=1&loads=%5B%7B%22name%22%3A%22Microwave%22%2C%22runningWatts%22%3A1200%2C%22startupSurgeWatts%22%3A1800%2C%22quantity%22%3A1%7D%5D").then((response) => response.json())

JSON endpoint

Payload and upgrade-weight JSON endpoint

Returns cargo capacity, fluid weight, upgrade weight, loaded weight, remaining payload, hitch/pin estimate, and tow-vehicle payload warnings.

Endpoint

https://www.offgridrvhub.com/tools/api/payload.json

Full calculator

Open tool

Best use

Use this when a page needs to sanity-check RV payload after off-grid upgrades, water, tools, and trailer tongue or fifth-wheel pin weight.

Sample URL

https://www.offgridrvhub.com/tools/api/payload.json?rig=travel-trailer&gvwr=9995&uvw=7600&ccc=1700&fresh=40&propane=40&people=350&gear=450&towPayload=1800&towCargo=450&hitch=13

Fetch

fetch("https://www.offgridrvhub.com/tools/api/payload.json?rig=travel-trailer&gvwr=9995&uvw=7600&ccc=1700&fresh=40&propane=40&people=350&gear=450&towPayload=1800&towCargo=450&hitch=13").then((response) => response.json())

JSON endpoint

Tire load margin JSON endpoint

Returns per-axle tire load reserve, adjusted per-tire load after side-to-side imbalance, overload flags, and scale-ticket watch-outs.

Endpoint

https://www.offgridrvhub.com/tools/api/tire-load.json

Full calculator

Open tool

Best use

Use this when a towing, tire, payload, or used-RV resource needs to turn scale-ticket axle weights into tire load margin without giving pressure advice.

Sample URL

https://www.offgridrvhub.com/tools/api/tire-load.json?rig=travel-trailer&imbalance=10&reserve=10&loaded=true&axles=%5B%7B%22label%22%3A%22Trailer%20axle%201%22%2C%22measuredWeightPounds%22%3A4200%2C%22tireCount%22%3A2%2C%22tireLoadRatingPounds%22%3A2830%7D%2C%7B%22label%22%3A%22Trailer%20axle%202%22%2C%22measuredWeightPounds%22%3A4300%2C%22tireCount%22%3A2%2C%22tireLoadRatingPounds%22%3A2830%7D%5D

Fetch

fetch("https://www.offgridrvhub.com/tools/api/tire-load.json?rig=travel-trailer&imbalance=10&reserve=10&loaded=true&axles=%5B%7B%22label%22%3A%22Trailer%20axle%201%22%2C%22measuredWeightPounds%22%3A4200%2C%22tireCount%22%3A2%2C%22tireLoadRatingPounds%22%3A2830%7D%2C%7B%22label%22%3A%22Trailer%20axle%202%22%2C%22measuredWeightPounds%22%3A4300%2C%22tireCount%22%3A2%2C%22tireLoadRatingPounds%22%3A2830%7D%5D").then((response) => response.json())

JSON endpoint

Campsite suitability JSON endpoint

Returns a 0-100 campsite fit score with road access, legality, solar, connectivity, logistics, weather, leveling, and rig-fit lane scores.

Endpoint

https://www.offgridrvhub.com/tools/api/campsite-score.json

Full calculator

Open tool

Best use

Use this when a boondocking, route-planning, or club trip page needs to pre-screen a campsite before readers drive a full rig down an unknown road.

Sample URL

https://www.offgridrvhub.com/tools/api/campsite-score.json?length=30&clearance=10&road=graded-gravel&miles=4&turnaround=manageable&leveling=minor&legal=likely&limit=14&days=5&solar=75&sky=80&bars=2&work=messages&water=12&dump=18&grocery=25&weather=mild&wind=moderate&arrival=3

Fetch

fetch("https://www.offgridrvhub.com/tools/api/campsite-score.json?length=30&clearance=10&road=graded-gravel&miles=4&turnaround=manageable&leveling=minor&legal=likely&limit=14&days=5&solar=75&sky=80&bars=2&work=messages&water=12&dump=18&grocery=25&weather=mild&wind=moderate&arrival=3").then((response) => response.json())

JSON endpoint

Internet data usage JSON endpoint

Returns monthly GB estimates by work calls, remote desktop, browsing, streaming, updates, background devices, buffer, and cellular or satellite data-cap fit.

Endpoint

https://www.offgridrvhub.com/tools/api/internet-data-usage.json

Full calculator

Open tool

Best use

Use this when a remote-work, RV internet, or route-planning resource needs to estimate monthly data demand before recommending hotspot, cellular, satellite, or hybrid internet lanes.

Sample URL

https://www.offgridrvhub.com/tools/api/internet-data-usage.json?workDays=20&browsing=1.2&videoHours=10&videoGb=1.2&remoteHours=4&remoteGb=0.7&streamHours=8&streamGb=3&cloud=20&updates=15&devices=4&background=4&buffer=20&cellular=100&satellite=50

Fetch

fetch("https://www.offgridrvhub.com/tools/api/internet-data-usage.json?workDays=20&browsing=1.2&videoHours=10&videoGb=1.2&remoteHours=4&remoteGb=0.7&streamHours=8&streamGb=3&cloud=20&updates=15&devices=4&background=4&buffer=20&cellular=100&satellite=50").then((response) => response.json())

JSON endpoint

Boondocking cost JSON endpoint

Returns real cost-per-night estimates from campsite fees, fallback nights, fuel, service runs, generator fuel, daily utilities, and amortized gear.

Endpoint

https://www.offgridrvhub.com/tools/api/boondocking-cost.json

Full calculator

Open tool

Best use

Use this when a budget, boondocking, route-planning, or campsite resource needs to compare free camping against paid campground nights with real trip costs attached.

Sample URL

https://www.offgridrvhub.com/tools/api/boondocking-cost.json?nights=7&fee=0&fallbackNights=1&fallbackRate=45&compare=45&miles=80&serviceTrips=1&serviceMiles=35&mpg=10&fuel=4&dumpFee=15&genHours=1.5&genBurn=0.2&propane=3&internet=4&gear=1200&useNights=120

Fetch

fetch("https://www.offgridrvhub.com/tools/api/boondocking-cost.json?nights=7&fee=0&fallbackNights=1&fallbackRate=45&compare=45&miles=80&serviceTrips=1&serviceMiles=35&mpg=10&fuel=4&dumpFee=15&genHours=1.5&genBurn=0.2&propane=3&internet=4&gear=1200&useNights=120").then((response) => response.json())

JSON endpoint

Water planning JSON endpoint

Returns gallons needed, gallons per day, days until empty, waste estimates, and conservation guidance from crew and tank assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/water.json

Full calculator

Open tool

Best use

Use this for boondocking resource pages that need a quick tank-pressure estimate.

Sample URL

https://www.offgridrvhub.com/tools/api/water.json?people=2&days=5&showers=2&cooking=regular&dishes=basin&pets=1&climate=desert&tank=60

Fetch

fetch("https://www.offgridrvhub.com/tools/api/water.json?people=2&days=5&showers=2&cooking=regular&dishes=basin&pets=1&climate=desert&tank=60").then((response) => response.json())

JSON endpoint

Stay-length JSON endpoint

Returns practical stay days, ranked limiting systems, usable battery watt-hours, and solar harvest from power, water, and waste assumptions.

Endpoint

https://www.offgridrvhub.com/tools/api/stay-length.json

Full calculator

Open tool

Best use

Use this when the key question is which system ends an off-grid stay first.

Sample URL

https://www.offgridrvhub.com/tools/api/stay-length.json?people=2&target=5&usage=2200&ah=300&solar=600&sun=4&fresh=45&gray=35&black=30&fpd=9&gpd=6.5&bpd=1.2

Fetch

fetch("https://www.offgridrvhub.com/tools/api/stay-length.json?people=2&target=5&usage=2200&ah=300&solar=600&sun=4&fresh=45&gray=35&black=30&fpd=9&gpd=6.5&bpd=1.2").then((response) => response.json())