63trust / 100

Insulation R Value

by Home Energy Calculators in Other

x402 APIPassing, checked 9 h ago

R-value and U-factor of a wall or roof assembly from layers and thickness, with a framing-fraction correction and heat flow.

GET
https://home-energy-calc.x402tookit.com/insulation-r-value
Price
$0.02
per call in USDC
Uptime
70.6%
last 30 days
Response time
518 ms
810 ms slowest 5%
Last check
Passed
9 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://home-energy-calc.x402tookit.com/insulation-r-value

Each call costs $0.02 in USDC on Polygon, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://home-energy-calc.x402tookit.com/insulation-r-value?areaSqFt=1000&cavity=fiberglass+batt%3A3.5&deltaTF=40&framingFractionPercent=25&includeAirFilms=true&layers=drywall%3A0.5%3B+sheathing%3A0.6r%3B+siding%3A0.6r

Parameters

ParameterTypeRequiredDescription
areaSqFtnumberNoSurface area in square feet, to get heat flow
cavitystringNoInsulated cavity layer as material:inches or name:Rr (for example 'fiberglass batt:3.5'); with framing it is combined in parallel
deltaTFnumberNoTemperature difference in F, with areaSqFt
framingDepthInchesnumberNoDepth of the framing member in inches (default 3.5 for a 2x4); used with cavity
framingFractionPercentnumberNoShare of the wall area that is framing, 5 to 40 (default 25, typical for 16-inch spacing)
includeAirFilmsbooleanNotrue to add the interior and exterior air-film resistances (R-0.68 and R-0.17), default false
layersstringYesLines material:inches or name:Rr separated by semicolons, for example 'drywall:0.5; cavity insulation:3.5r; sheathing:0.6r'. Materials: fiberglass batt, cellulose loose-fill, open-cell spray foam, closed-cell spray foam, eps board, xps board, polyiso board, softwood framing, drywall, plywood

Example response

The provider's example. We can't check it without paying.

Example response, 44 lines
{
  "airFilmsIncluded": true,
  "asOf": "2026-10-11T14:31:36.699Z",
  "degraded": false,
  "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
  "framing": {
    "cavityR": 11.2,
    "effectiveCavityLayerR": 8.058,
    "framingFraction": 0.25,
    "framingR": 4.38,
    "lostToFramingPercent": 28.1
  },
  "heatFlowBtuPerHour": 3788.8,
  "heatFlowWatts": 1110,
  "layers": [
    {
      "layer": "drywall",
      "r": 0.45,
      "source": "table",
      "thicknessInches": 0.5
    },
    {
      "layer": "sheathing",
      "r": 0.6,
      "source": "given R",
      "thicknessInches": null
    }
  ],
  "nominalRIfNoFraming": 13.7,
  "notChecked": [
    "installation quality: gaps, compression and air leakage can cut a batt's real R-value by a quarter or more",
    "moisture, aging and temperature effects (polyiso loses R in the cold; cellulose settles)",
    "…2 more"
  ],
  "reasons": [
    "Series layers add: R_total = sum of R. A cavity with studs is combined in parallel: 1 / R_eff = (1 - f) / R_cavity + f / R_framing.",
    "R-value is resistance to heat flow (higher is better); U = 1 / R; heat flow Q = area x temperature difference / R."
  ],
  "source": "computed locally",
  "summary": "Assembly R-10.6 (U 0.095) with framing, against R-13.7 if the cavity insulation ran unbroken; framing removes 28.1% of the cavity layer's value. Heat flow through 1000 sq ft at 40 F: 3789 BTU/h.",
  "totalR": 10.56,
  "uValue": 0.0947,
  "verdict": "COMPUTED"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://home-energy-calc.x402tookit.com/insulation-r-value?areaSqFt=1000&cavity=fiberglass+batt%3A3.5&deltaTF=40&framingFractionPercent=25&includeAirFilms=true&layers=drywall%3A0.5%3B+sheathing%3A0.6r%3B+siding%3A0.6r'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://home-energy-calc.x402tookit.com/insulation-r-value?areaSqFt=1000&cavity=fiberglass+batt%3A3.5&deltaTF=40&framingFractionPercent=25&includeAirFilms=true&layers=drywall%3A0.5%3B+sheathing%3A0.6r%3B+siding%3A0.6r' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhome-energy-calc.x402tookit.com%2Finsulation-r-value
const res = await pay("https://home-energy-calc.x402tookit.com/insulation-r-value?areaSqFt=1000&cavity=fiberglass+batt%3A3.5&deltaTF=40&framingFractionPercent=25&includeAirFilms=true&layers=drywall%3A0.5%3B+sheathing%3A0.6r%3B+siding%3A0.6r");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://home-energy-calc.x402tookit.com/insulation-r-value?areaSqFt=1000&cavity=fiberglass+batt%3A3.5&deltaTF=40&framingFractionPercent=25&includeAirFilms=true&layers=drywall%3A0.5%3B+sheathing%3A0.6r%3B+siding%3A0.6r")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
9 h agoPassed402565 ms$0.02
22 h agoExpected HTTP 402, got 530530134 ms-
35 h agoPassed402518 ms$0.02
47 h agoExpected HTTP 402, got 530530104 ms-
2 days agoPassed402583 ms$0.02
Show 10 older checks
3 days agoPassed402600 ms$0.02
3 days agoPassed402506 ms$0.02
4 days agoExpected HTTP 402, got 530530131 ms-
5 days agoExpected HTTP 402, got 530530164 ms-
5 days agoExpected HTTP 402, got 530530141 ms-
5 days agoPassed402516 ms$0.02
5 days agoPassed402546 ms$0.02
6 days agoPassed402810 ms$0.02
6 days agoPassed402532 ms$0.02
6 days agoPassed402475 ms$0.02