AG
Market Data · x402 · early usage

HVAC duct sizing calculator: any two of duct size (round or rectangular), airflow, velo…

HVAC duct sizing calculator: any two of duct size (round or rectangular), airflow, velocity and friction rate. Round and rectangular equivalents, nearest standard sizes, friction loss per 100 ft (Darcy-Weisbach, Colebrook), velocity pressure, design checks. E…

by x402-agent-api.onrender.com · discovered, not yet claimed by its owner · updated 2026-10-07

30d calls2
30d payers2
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

HVAC duct sizing calculator: any two of duct size (round or rectangular), airflow, velocity and friction rate. Round and rectangular equivalents, nearest standard sizes, friction loss per 100 ft (Darcy-Weisbach, Colebrook), velocity pressure, design checks. Equal-friction sizing, fixed-depth ducts, IP or SI. Shows every step with the numbers. $0.002 USDC per call.

Tags: hvac · duct-sizing · engineering · mechanical-engineering · ashrae · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-07
Input example from Bazaar metadata
{
  "airflow": 1000,
  "friction_rate": 0.08
}
Output example
{
  "airflow": 1000,
  "checks": {
    "aspect_ratio": null,
    "friction": "Typical design range (0.04-0.15 in. w.g./100 ft; about 0.3-1.2 Pa/m).",
    "velocity": "Normal design range (400-2,500 FPM; about 2-12.7 m/s)."
  },
  "friction_factor": 0.01885,
  "friction_rate": 0.08,
  "inputs_used": {
    "airflow": 1000,
    "friction_rate": 0.08
  },
  "next_calls": [
    {
      "arguments": {
        "airflow": 1000,
        "entering": {
          "dry_bulb": 80,
          "wet_bulb": 67
        },
        "leaving": {
          "dry_bulb": 55,
          "wet_bulb": 54
        },
        "units": "IP"
      },
      "price": "$0.002",
      "tool": "hvac_coil_load",
      "why": "What cooling load does 1000 CFM carry from 80/67 to 55/54 °F?"
    }
  ],
  "notes": [
    "The rectangular size has the same friction loss and airflow as the round duct (ASHRAE equivalent diameter); its velocity is lower because its area is larger.",
    "Galvanized steel (ε = 0.0003 ft) and standard air (0.075 lb/ft³, 70 °F, sea level). Fittings and transitions are not included.",
    "For design guidance; the engineer of record is responsible for final selections."
  ],
  "primary_shape": "round",
  "rectangular": {
    "area": 1.184,
    "aspect_ratio": 1,
    "basis": "equal_friction",
    "equivalent_diameter": 14.27,
    "friction_rate": 0.08,
    "height": 13.06,
    "standard_sizes": [
      {
        "aspect_ratio": 1,
        "best_fit": false,
        "equivalent_diameter": 15.3,
        "friction_rate": 0.0568,
        "height": 14,
        "velocity": 735,
        "width": 14
      },
      {
        "aspect_ratio": 1.33,
        "best_fit": false,
        "equivalent_diameter": 15.11,
        "friction_rate": 0.0605,
        "height": 12,
        "velocity": 750,
        "width": 16
      }
    ],
    "velocity": 845,
    "width": 13.06
  },
  "references": [
    "ASHRAE Handbook—Fundamentals (2021), Ch. 21 Duct Design",
    "SMACNA HVAC Duct Design Manual (standard sizes, aspect ratio guidance)"
  ],
  "reynolds_number": 114361,
  "round": {
    "area": 1.1112,
    "diameter": 14.27,
    "friction_rate": 0.08,
    "standard_sizes": [
      {
        "best_fit": true,
        "diameter": 14,
        "friction_rate": 0.088,
        "velocity": 935
      },
      {
        "best_fit": false,
        "diameter": 16,
        "friction_rate": 0.0457,
        "velocity": 716
      }
    ],
    "velocity": 900
  },
  "solved_for": "size",
  "steps": [
    {
      "calculation": "Iterated the diameter (bisection) until the Darcy-Weisbach friction loss at 1,000 CFM equals 0.0800 in. w.g./100 ft → D = 14.27 in",
      "reference": "ASHRAE Handbook—Fundamentals (2021), Ch. 21 Duct Design",
      "step": "Round diameter at the friction rate (equal friction)"
    },
    {
      "calculation": "For W = H = S: De = 1.30·S^1.25 / (2S)^0.25 = 1.09317·S → S = 14.27 / 1.09317 = 13.06 in",
      "reference": "ASHRAE Handbook—Fundamentals (2021), Ch. 21 Duct Design (Huebscher equivalent diameter)",
      "step": "Square equivalent"
    },
    {
      "calculation": "Re = D·V / ν = 1.1895 ft × 14.998 ft/s / 1.56×10⁻⁴ ft²/s = 114,361",
      "reference": null,
      "step": "Round duct: Reynolds number"
    }
  ],
  "unit_labels": {
    "airflow": "CFM",
    "area": "ft²",
    "condensate": "gal / h",
    "density": "lb / ft³",
    "elevation": "ft",
    "enthalpy": "BTU / lb dry air",
    "friction_rate": "in. w.g. / 100 ft",
    "grains": "gr / lb dry air",
    "humidity_ratio": "lb water / lb dry air",
    "length": "in",
    "load": "MBH (1,000 BTU/h)",
    "pressure": "psia",
    "relative_humidity": "%",
    "specific_volume": "ft³ / lb dry air",
    "temperature": "°F",
    "velocity": "FPM",
    "velocity_pressure": "in. w.g."
  },
  "units": "IP",
  "velocity": 900,
  "velocity_pressure": 0.0505
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/32865.json for the price and payment options.
  3. Pay. Call GET https://x402-agent-api.onrender.com/api/v1/hvac-duct-size. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.002 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0020x6847231bD28E16A0A57c59793f6B8BD8CC0043aC120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x6847231bD28E16A0A57c59793f6B8BD8CC0043aC",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://x402-agent-api.onrender.com/api/v1/hvac-duct-size"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-agent-api.onrender.com/api/v1/hvac-duct-size");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://x402-agent-api.onrender.com/api/v1/hvac-duct-size")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402-agent-api.onrender.com
Endpoint
https://x402-agent-api.onrender.com/api/v1/hvac-duct-size
Machine-readable
/resources/32865.json