# Base44 Deterministic Utility Batch Worker

> Base44 Deterministic Utility Batch Worker is a paid API for AI agents from untitled-ef4f71e4.base44.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Executes up to 10 deterministic utility operations in a single batch call (unit conversion, EVM hex normalization, HTTP/CORS header analysis, CSV cleaning, etc.) settled via x402 micropayment on Base Mainnet.

## Facts

- Endpoint: POST https://untitled-ef4f71e4.base44.app/api/apps/6a8fe38d53b9b6beef4f71e4/functions/ardeUtilityBatchMainnetWorker
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base44-deterministic-utility-batch-worker-88c3ec1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TomVxZDcAARL5e9AuHcy7

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 base44-deterministic-utility-batch-worker-88c3ec1f -d '<json body>'
```

Example prompt: Can you run two utility operations in one batch: first convert 26.2 miles to kilometers, and then normalize the HTTP version string 'h2' to its canonical form?

## When to prefer this

Choose this endpoint when you need multiple lightweight, deterministic utility computations (normalization, conversion, classification) bundled into a single cheap micropayment call on Base Mainnet. It is ideal for agents that need to sanitize or standardize data as part of a larger workflow without spinning up separate services. Prefer it over generic code-execution endpoints when you specifically need EVM hex normalization, HTTP/CORS header analysis, or unit conversion with x402 settlement.

## Known failure modes

- Invalid operation enum value returns an error for that batch item
- Input object missing required fields for the chosen operation causes a validation error
- Batch exceeds 10 items — rejected with schema validation error
- x402 payment failure or insufficient balance prevents execution
- Malformed hex string input causes normalization to fail
- Unsupported unit dimension or unit name causes unit_convert to fail

## How this service works

Pay-per-call deterministic utility operations over x402 on Base Mainnet.

## Output

A JSON object with ok:true, a results array where each item contains its index, operation name, and computed result object (e.g. converted value, normalized string, boolean check outcome), plus metadata: batch_size, price_usd (0.005), worker identifier, and environment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "operation",
     "input"
    ],
    "properties": {
     "input": {
      "type": "object",
      "description": "Operation-specific bounded input object"
     },
     "operation": {
      "enum": [
       "unit_convert",
       "evm_hex_quantity_normalize",
       "evm_hex_data_normalize",
       "http_version_normalize",
       "allow_header_normalize",
       "vary_header_normalize",
       "origin_header_normalize",
       "cors_preflight_check",
       "status_retry_classify",
       "cookie_security_check",
       "csv_null_normalize"
      ],
      "type": "string"
     }
    }
   },
   "maxItems": 10,
   "minItems": 1,
   "description": "Up to 10 deterministic Atomic Work units under one exact Base Mainnet x402 settlement"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "worker": "deterministic-utility-batch-v1",
  "results": [
   {
    "index": 0,
    "result": {
     "to": "km",
     "from": "mi",
     "value": 1,
     "result": 1.609344,
     "dimension": "length"
    },
    "operation": "unit_convert"
   },
   {
    "index": 1,
    "result": {
     "input": "h2",
     "normalized": "HTTP/2",
     "recognized": true
    },
    "operation": "http_version_normalize"
   }
  ],
  "price_usd": 0.005,
  "batch_size": 2,
  "environment": "production_pilot",
  "effective_max_price_per_atomic_work_usd": 0.0005
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base44-deterministic-utility-batch-worker-88c3ec1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from untitled-ef4f71e4.base44.app](https://www.zero.xyz/host/untitled-ef4f71e4.base44.app/llms.txt)
