# Cable Mass Calculator

> Cable Mass Calculator is a paid API for AI agents from material.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Computes the mass of a cable given its physical properties such as length, cross-section, and material density

## Facts

- Endpoint: POST https://material.halowerk.com/cable-mass?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cable-mass-calculator-4faa5199
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5_ZZfzZcLJdQOL5NPyJtS

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 cable-mass-calculator-4faa5199 -d '<json body>'
```

Example prompt: Can you calculate the mass of a copper cable that is 150 meters long with a cross-sectional area of 16 mm²?

## When to prefer this

Choose this endpoint when you need a quick programmatic calculation of cable mass from physical parameters such as length, cross-sectional area, and material density, especially within automated engineering workflows or materials procurement pipelines.

## Known failure modes

- Missing required parameters such as length or cross-section returns a 400 error
- Invalid or unsupported material type returns an error
- Negative or zero length/area values may return a validation error
- Service unavailable returns a 5xx error

## How this service works

Conductor mass is calculated from nominal cross-section, core count and length against the material density; for a nominal cross-section this is exact and independent of stranding. Total cable mass and the copper share are returned as a range derived from published manufacturer weight tables per cross-section band, not as a type-test value. Insulation, filler and armour are not modelled individually.

## Output

Returns the computed mass of the specified cable, typically expressed in kilograms, based on the provided length, cross-sectional area, and material density inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cores": {
   "type": "integer",
   "maximum": 61,
   "minimum": 1,
   "description": "Number of load-carrying cores."
  },
  "length_m": {
   "type": "number",
   "default": 1,
   "maximum": 100000,
   "minimum": 0.1,
   "description": "Cable length in metres. Default 1."
  },
  "conductor": {
   "enum": [
    "copper",
    "aluminium"
   ],
   "type": "string",
   "default": "copper"
  },
  "cable_type": {
   "type": "string",
   "description": "Cable designation, e.g. NYM-J, NYY-J, H07V-K, H05VV-F, H07RN-F, NYCWY."
  },
  "cross_section_mm2": {
   "type": "number",
   "maximum": 1000,
   "minimum": 0.05,
   "description": "Nominal cross-section of one core in mm2."
  },
  "concentric_conductor_mm2": {
   "type": "number",
   "maximum": 500,
   "minimum": 0,
   "description": "Cross-section of the concentric conductor, if present."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cable-mass-calculator-4faa5199/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from material.halowerk.com](https://www.zero.xyz/host/material.halowerk.com/llms.txt)
