# Creator Desk Array Length Utility

> Creator Desk Array Length 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).

Returns the length (element count) of an input array value via a micropayment-gated API call.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/array-length?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-array-length-utility-0f76650f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gUaaeCrABUEJl-p3657u-

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-array-length-utility-0f76650f -d '<json body>'
```

Example prompt: How many elements are in this array: [10, 42, 7, 88, 3]? Use the array-length utility to count them.

## When to prefer this

Use this endpoint when you need a simple, programmatic, micropayment-gated utility to count array elements inside an autonomous agent pipeline, especially when you need a reliable JSON response with an explicit operation label confirming what was computed.

## Known failure modes

- Non-array input provided — may return an error or unexpected result if value is not an array
- Missing or malformed value field — request may fail or return null result
- Payment not completed — x402 micropayment required before processing; unpaid requests are rejected
- Server cold start on Render free tier — may experience initial latency or timeout

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

A JSON response containing the computed array length as 'result' and the operation name 'array_length', confirming what was calculated.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-array-length-utility-0f76650f/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)
