# Halowerk Parcel Bundling

> Halowerk Parcel Bundling is a paid API for AI agents from material.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Bundles JavaScript/web project parcels or packages for optimized delivery and distribution

## Facts

- Endpoint: POST https://material.halowerk.com/parcel-bundling?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-parcel-bundling-71964abc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GCJLuZuCB47n3S2OPFl8g

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 halowerk-parcel-bundling-71964abc -d '<json body>'
```

Example prompt: Can you bundle my JavaScript project using Halowerk's parcel bundler — my entry point is src/index.js and I need an optimized production build output?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call parcel bundling service without managing your own build infrastructure. Ideal for agents automating build steps in CI/CD pipelines or one-off bundling tasks at low cost ($0.003 per call).

## Known failure modes

- Missing or invalid entry point file reference returns an error
- Malformed configuration or unsupported module syntax causes bundling failure
- Dependency resolution errors if required modules are not included
- Timeout for very large or complex dependency graphs
- Invalid or missing authentication/payment header returns 402 or 401

## How this service works

Packs items into parcels by descending weight, first fit, within a maximum parcel weight and an optional maximum girth, prices each parcel with the cheapest matching bracket of the supplied rate table and compares the total against single shipment. The rate table is caller data: no carrier tariff is stored or redistributed. First fit is a heuristic, not a proven optimum.

## Output

A bundled, optimized package artifact produced from the provided source files and entry configuration, ready for deployment or distribution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "weight_kg"
    ],
    "properties": {
     "name": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "default": 1,
      "maximum": 500,
      "minimum": 1
     },
     "width_cm": {
      "type": "number",
      "maximum": 500,
      "minimum": 0.1
     },
     "height_cm": {
      "type": "number",
      "maximum": 500,
      "minimum": 0.1
     },
     "length_cm": {
      "type": "number",
      "maximum": 500,
      "minimum": 0.1
     },
     "weight_kg": {
      "type": "number",
      "maximum": 1000,
      "minimum": 0.001
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200,
   "minItems": 1,
   "description": "Items to ship. Girth limits apply only when every item carries all three dimensions."
  },
  "rates": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "max_weight_kg",
     "price_eur"
    ],
    "properties": {
     "label": {
      "type": "string"
     },
     "price_eur": {
      "type": "number",
      "maximum": 100000,
      "minimum": 0
     },
     "max_girth_cm": {
      "type": "number",
      "maximum": 1000,
      "minimum": 1
     },
     "max_weight_kg": {
      "type": "number",
      "maximum": 1000,
      "minimum": 0.001
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40,
   "minItems": 1,
   "description": "Own rate brackets; the cheapest fitting bracket wins."
  },
  "packaging_cost_eur": {
   "type": "number",
   "default": 0,
   "maximum": 10000,
   "minimum": 0,
   "description": "Packaging cost per parcel."
  },
  "max_parcel_weight_kg": {
   "type": "number",
   "maximum": 1000,
   "minimum": 0.1,
   "description": "Limit per parcel; defaults to the heaviest bracket."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-parcel-bundling-71964abc/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)
