# HALOWERK laufwerk — Energy Readiness Tour Optimizer

> HALOWERK laufwerk — Energy Readiness Tour Optimizer is a paid API for AI agents from lauf.halowerk.com, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-10).

Checks whether electric vehicles have sufficient energy to complete a set of tours/jobs given travel durations, energy consumption estimates, and vehicle battery constraints

## Facts

- Endpoint: POST https://lauf.halowerk.com/v1/tours/energy-readiness?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-laufwerk-energy-readiness-tour-optimizer-08792c80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cNzXZAhLzreA8X-vibZ_e

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-laufwerk-energy-readiness-tour-optimizer-08792c80 -d '<json body>'
```

Example prompt: Check if our 2 electric vans — Van A with 45,000 Wh available and 5,000 Wh reserve, Van B with 38,000 Wh available and 4,000 Wh reserve, each with a shift from 0 to 28800 seconds — have enough energy to complete these 5 delivery jobs given the travel durations and energy consumption matrix I'll provide.

## When to prefer this

Use this endpoint when you need to validate battery/energy feasibility for a fleet of electric vehicles before committing to a routing plan. It is specifically designed for the energy dimension of EV tour planning — not general route optimization. Prefer this over generic routing APIs when energy constraints (available charge, reserve thresholds) are a critical dispatch concern. Best suited for fleets of up to 4 vehicles and 20 jobs where you already have a duration matrix and energy consumption estimates.

## Known failure modes

- Invalid matrix dimensions — energy or duration matrix size must match number of jobs and vehicles
- Job or vehicle count exceeds allowed limits (max 20 jobs, max 4 vehicles)
- Time window or shift values out of range (must be 0–604800 seconds)
- Energy values exceed maximum allowed (10,000,000 Wh)
- Missing required fields (id, point, demand, service_s, window for jobs; id, capacity, shift, available_energy_wh, reserve_energy_wh for vehicles)
- Payment failure via x402 — insufficient USDC balance on Base Mainnet
- Null values in energy or duration matrix causing computation gaps

## How this service works

HALOWERK laufwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.

## Output

A JSON response indicating whether the vehicles have sufficient energy to complete the specified tours, likely including per-vehicle or per-job energy feasibility flags, energy balances, and any infeasibility details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "jobs": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "point",
     "demand",
     "service_s",
     "window"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "point": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1
     },
     "demand": {
      "type": "number",
      "maximum": 100000,
      "minimum": 0
     },
     "window": {
      "type": "array",
      "items": {
       "type": "number",
       "maximum": 604800,
       "minimum": 0
      },
      "maxItems": 2,
      "minItems": 2
     },
     "service_s": {
      "type": "number",
      "maximum": 604800,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20,
   "minItems": 1
  },
  "vehicles": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "capacity",
     "shift",
     "available_energy_wh",
     "reserve_energy_wh"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "shift": {
      "type": "array",
      "items": {
       "type": "number",
       "maximum": 604800,
       "minimum": 0
      },
      "maxItems": 2,
      "minItems": 2
     },
     "capacity": {
      "type": "number",
      "maximum": 100000,
      "exclusiveMinimum": 0
     },
     "reserve_energy_wh": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
     },
     "available_energy_wh": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 4,
   "minItems": 1
  },
  "energy_wh": {
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "anyOf": [
      {
       "type": "number",
       "maximum": 10000000,
       "minimum": 0
      },
      {
       "type": "null"
      }
     ]
    },
    "maxItems": 21,
    "minItems": 2
   },
   "maxItems": 21,
   "minItems": 2
  },
  "durations_s": {
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "anyOf": [
      {
       "type": "number",
       "maximum": 604800,
       "minimum": 0
      },
      {
       "type": "null"
      }
     ]
    },
    "maxItems": 21,
    "minItems": 2
   },
   "maxItems": 21,
   "minItems": 2
  },
  "matrix_source": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1
  }
 }
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-laufwerk-energy-readiness-tour-optimizer-08792c80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lauf.halowerk.com](https://www.zero.xyz/host/lauf.halowerk.com/llms.txt)
