# Delx Commerce — Repeat String Utility

> Delx Commerce — Repeat String Utility is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Repeats a given string a specified number of times and returns the result, billed per call via USDC micropayment.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/repeat-str?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-repeat-string-utility-4fa56a02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_56FVs9gSbpgk2HEYEnQvw

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 delx-commerce-repeat-string-utility-4fa56a02 -d '<json body>'
```

Example prompt: Repeat the text 'hello' exactly 5 times for me.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use string repetition utility with no signup or API key required, billed via USDC micropayment on Base or Solana. Useful in agent pipelines where lightweight text manipulation is needed on demand without provisioning a full string-processing library.

## Known failure modes

- Missing required 'text' field returns an error
- Missing or non-integer 'count' field returns a validation error
- Payment not received (402) blocks execution
- Very large count values may be rejected or truncated
- Network timeout if the service is temporarily unavailable

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the original text, the count used, and the resulting repeated string, along with a schema identifier ('delx/util-repeat-str/v1') confirming the response format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  },
  "count": {
   "type": "integer",
   "description": "Input field: count."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "xxxx",
  "count": 4,
  "schema": "delx/util-repeat-str/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-repeat-string-utility-4fa56a02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
