# Fracht Package Dimensions Calculator

> Fracht Package Dimensions Calculator is a paid API for AI agents from fracht.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Calculates volume, girth, and chargeable (billable) weight from package dimensions, returning derived values with methodology disclosure and nulls for any unavailable fields.

## Facts

- Endpoint: POST https://fracht.halowerk.com/v1/package-dims
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fracht-package-dimensions-calculator-c7ceccf8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5LtNbHpJhyeKKdGkdhqUU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fracht-package-dimensions-calculator-c7ceccf8 -d '<json body>'
```

Example prompt: What will my package be billed at? It's 40 cm wide, 30 cm tall, and 50 cm long, actual weight is 3.2 kg, and the carrier uses a volumetric divisor of 5000.

## When to prefer this

Use this endpoint when you need a transparent, methodology-disclosed calculation of package chargeable weight and volume directly from raw centimeter dimensions and kilogram weight, especially in freight or logistics workflows where auditability of derived values matters. Prefer it over manual calculation or general-purpose tools when you need consistent handling of missing fields (null + unavailable_fields pattern) and a clear disclosure of whether values were derived or source-backed.

## Known failure modes

- Missing required dimensions (width, height, or length) causes those outputs to be null and listed in unavailable_fields
- Values below minimum threshold (0.01 cm) or above maximum are rejected with a validation error
- Omitting actual_weight_kg means chargeable weight cannot be determined and is returned as null
- Invalid volumetric_divisor_cm3_per_kg (less than 1) causes a validation error
- Non-numeric input values cause a schema validation failure

## How this service works

Calculates volume, girth and chargeable weight from package dimensions. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age. 

## Output

Returns computed volume (cm³), girth (cm), volumetric weight (kg), and chargeable weight (kg) along with the derivation method used for each derived value. Any field that cannot be calculated from the supplied inputs is returned as null and listed in the unavailable_fields array, ensuring transparent handling of missing data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "width_cm": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0.01,
   "description": ""
  },
  "height_cm": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0.01,
   "description": ""
  },
  "length_cm": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0.01,
   "description": ""
  },
  "actual_weight_kg": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0,
   "description": ""
  },
  "volumetric_divisor_cm3_per_kg": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 1,
   "description": ""
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fracht-package-dimensions-calculator-c7ceccf8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fracht.halowerk.com](https://www.zero.xyz/host/fracht.halowerk.com/llms.txt)
