Use JSON only when the page needs a number
If a citation or prefilled calculator link would answer the reader faster, use that instead.
Calculator API
These read-only endpoints are for pages that need a lightweight planning result, not a whole calculator UI. Use them for comparison tables, partner resources, and research notes, then keep the full calculator close so readers can change the assumptions.
Start here
Every response includes the matching calculator URL, assumptions URL, and caveat text. Keep those links near the result so readers know what changed the number.
Open a sample request when another page needs a number that can update from query values.
Browse endpointsUse the assumptions page when a result needs formulas, defaults, and caveats beside it.
Review calculator assumptionsUse the citation hub when an API call would be overkill for a guide, club page, or newsletter.
Open citation hubIf a citation or prefilled calculator link would answer the reader faster, use that instead.
Defaults and guardrails keep requests from failing, but they do not replace rig-specific inputs.
Readers need a path back to editable inputs, caveats, and assumptions before acting on the number.
How to use it
The API is best when a page needs a quick planning result without loading the full calculator UI. Show the estimate, explain the caveat, and link to the calculator so readers can adjust the inputs.
Start with the kind of problem instead of scanning every JSON path.
Each endpoint includes a realistic URL you can test before changing values.
Show the estimate with the caveat and link readers to the full calculator.
Endpoint library
Query values use the same guardrails as the interactive calculators. If a value is missing or outside the expected range, the endpoint falls back to the calculator default so the page can still show a cautious estimate.
9 endpoints
9 endpoints
3 endpoints
5 endpoints
9 endpoints
Use these when another page needs a first-pass power number before pointing readers to the calculator.
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
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®ion=mountain-west&battery=lithium&autonomy=2
Fetch
fetch("https://www.offgridrvhub.com/tools/api/solar.json?usage=2200&sun=5®ion=mountain-west&battery=lithium&autonomy=2").then((response) => response.json())
JSON endpoint
Returns upfront cost, generator fuel and maintenance savings, campground-night savings, payback years, break-even nights, horizon net value, and ROI estimate for RV solar ownership math.
Endpoint
https://www.offgridrvhub.com/tools/api/solar-payback.json
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
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
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
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
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
Returns cold-weather panel Voc, safe series limits, recommended series/parallel wiring, MPPT voltage/current margins, clipping risk, and watch-outs from panel and controller specs.
Endpoint
https://www.offgridrvhub.com/tools/api/solar-string-sizing.json
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
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
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
Returns usable capacity, weight saved, cost per usable kWh, lifetime cycle-cost estimate, replacement estimates, and watch-outs for lead-acid to LiFePO4 RV battery upgrades.
Endpoint
https://www.offgridrvhub.com/tools/api/lithium-upgrade-value.json
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¤tAh=100¤tVoltage=12¤tChemistry=agm¤tWeight=63¤tCost=500¤tCycles=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¤tAh=100¤tVoltage=12¤tChemistry=agm¤tWeight=63¤tCost=500¤tCycles=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
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
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
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
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())
9 endpoints
Quick checks for generators, shore power, propane, HVAC runtime, fridge draw, inverter fit, and wire sizing.
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
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
Returns shore-service watts, continuous target, appliance and charger load, breaker margin, recommended service option, and load-shedding suggestions for 15A, 20A, 30A, and 50A RV hookups.
Endpoint
https://www.offgridrvhub.com/tools/api/shore-power-load.json
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
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
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&s=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&s=45&generator=2200&loads=300&tank=1.1&burn=0.18&window=2.5").then((response) => response.json())
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
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
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
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
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
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
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
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
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
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&s=40&length=15&drop=3&loadFactor=125&circuit=dc-dc-charger
Fetch
fetch("https://www.offgridrvhub.com/tools/api/wire-size.json?voltage=12&s=40&length=15&drop=3&loadFactor=125&circuit=dc-dc-charger").then((response) => response.json())
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
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())
3 endpoints
Use these before a recommendation ignores payload, axle weight, tire load, or campsite fit.
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
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
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
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
Returns a 0-100 campsite fit score with road access, legality, solar, connectivity, logistics, weather, leveling, and rig-fit category scores.
Endpoint
https://www.offgridrvhub.com/tools/api/campsite-score.json
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())
5 endpoints
Estimates for full-time logistics, internet data, boondocking cost, water use, and stay length.
JSON endpoint
Returns tank cadence, dump and potable-water service runs, service-loop cost, free-night targets, paid fallback budget, and verification search links for full-time RV route planning.
Endpoint
https://www.offgridrvhub.com/tools/api/full-time-rv-logistics.json
Best use
Use this when a full-time RV living, route-planning, or boondocking resource needs to show how tank cadence and service-loop cost shape free-camping plans.
Sample URL
https://www.offgridrvhub.com/tools/api/full-time-rv-logistics.json?people=2&days=14&fresh=60&gray=45&black=40&gppd=5.5&graypct=65&bppd=0.7&miles=28&mpg=10&fuel=4&dump=10&water=5&free=80&paid=35&area=Quartzsite%20AZ
Fetch
fetch("https://www.offgridrvhub.com/tools/api/full-time-rv-logistics.json?people=2&days=14&fresh=60&gray=45&black=40&gppd=5.5&graypct=65&bppd=0.7&miles=28&mpg=10&fuel=4&dump=10&water=5&free=80&paid=35&area=Quartzsite%20AZ").then((response) => response.json())
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
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 options.
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
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
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
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
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
Returns practical stay days, ranked trip limits, usable battery watt-hours, and solar harvest from power, water, and waste assumptions.
Endpoint
https://www.offgridrvhub.com/tools/api/stay-length.json
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())
Need something less technical?
Most pages do not need live JSON. If the reader just needs a helpful next step, use a citation, badge, or prebuilt starter block instead.
Plain-English formulas, limits, and review notes for every calculator.
Review calculator assumptionsStarter packs for club pages, newsletters, show notes, and guide sidebars.
Browse starter packsSmall SVG badges for resource lists where an iframe would feel too heavy.
Open badge kitA structured JSON index of calculators, resource pages, and citation links.
Open the resources JSON catalog