# Creator Desk Ends-With String Utility

> Creator Desk Ends-With String 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).

Checks whether a given string value ends with a specified suffix, returning a boolean-style result via a micropayment-gated API.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/ends-with?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-ends-with-string-utility-31dd5fdc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M7nMLRTikcpLhSj3nX9ex

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-ends-with-string-utility-31dd5fdc -d '<json body>'
```

Example prompt: Check whether the string 'document_final.pdf' ends with '.pdf' — use the ends-with utility.

## When to prefer this

Choose this endpoint when you need a lightweight, programmatic string suffix check within an agent workflow that already handles x402 micropayments, and you want a simple, consistent API response format without spinning up local string-processing logic. Suitable for validating file extensions, URL patterns, or string endings in automated pipelines.

## Known failure modes

- Missing or null 'value' field returns an error or undefined behavior
- Malformed options object may cause unexpected results
- Payment failure via x402 protocol blocks the request before processing
- No suffix specified in options leads to ambiguous or defaulted behavior
- Network timeout on Render-hosted instance during cold start

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object with a 'result' field (the boolean or matched outcome of the ends-with check) and an 'operation' field confirming the operation was 'ends_with'. The response indicates whether the provided value ends with the specified suffix given any options passed.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-ends-with-string-utility-31dd5fdc/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)
