# Creator Desk Trim Whitespace Utility

> Creator Desk Trim Whitespace Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Trims leading and/or trailing whitespace from a string value via a micropayment-gated API call.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/trim-whitespace?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/creator-desk-trim-whitespace-utility-c26aa5d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_toVKSxghmSw0wXeAd4e_t

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 creator-desk-trim-whitespace-utility-c26aa5d6 -d '<json body>'
```

Example prompt: Can you trim the whitespace off this string for me: '   hello world   '?

## When to prefer this

Use this endpoint when you need a simple, reliable, micropayment-gated string whitespace trimmer inside an autonomous agent workflow, especially when already operating within an x402 payment infrastructure and need a utility call without setting up your own string-processing logic.

## Known failure modes

- Missing or null 'value' field returns an error response
- Malformed JSON request body results in a 400-level error
- Payment failure or insufficient USDC balance results in a 402 Payment Required response
- Network timeout if the Render.com host is cold-starting

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

A JSON object containing the trimmed string under the 'result' key and the operation name 'trim_whitespace' under the 'operation' key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "trim_whitespace"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-trim-whitespace-utility-c26aa5d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
