# Creator Desk User-Agent Trim Utility

> Creator Desk User-Agent Trim 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-13).

Trims or normalizes a user-agent string value, returning a cleaned result via a micropayment-gated API.

## Facts

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

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-user-agent-trim-utility-684d88c2 -d '<json body>'
```

Example prompt: Can you trim and clean this user-agent string for me: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)   AppleWebKit/537.36  '? I need a normalized version without extra whitespace or junk.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use microservice to trim and normalize user-agent strings as part of an automated agent pipeline, especially when you want to avoid spinning up your own string-processing infrastructure. It is best suited for low-volume, on-demand cleaning of individual user-agent values where the $0.01 USDC per-call cost is acceptable.

## Known failure modes

- Missing or null 'value' field may return an error or empty result
- Malformed options object may cause a 400 bad request
- Payment failure or insufficient USDC balance blocks the call with a 402 response
- Service downtime on Render free tier may cause intermittent 503 errors
- Extremely long input strings may be rejected or truncated

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

A JSON object containing the trimmed/normalized result string under the 'result' field, along with the operation name 'user_agent_trim' confirming which utility was applied.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-user-agent-trim-utility-684d88c2/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)
