# Delx Repeat String

> Delx Repeat String is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Repeats a given string a specified number of times, returning the concatenated result capped at 100,000 characters.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/repeat-str
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-repeat-string-38af4d6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k7h3EMtLLBWAZm8KlshJW

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-repeat-string-38af4d6a -d '<json body>'
```

Example prompt: Repeat the string '-=-' exactly 50 times and give me the result.

## When to prefer this

Use this endpoint when an AI agent needs to repeat or duplicate a string a bounded number of times without writing local loop logic, especially in agentic pipelines that cannot execute arbitrary code. It is ideal for generating padding, test fixtures, separators, or placeholder content inline. Prefer it over local code execution when the agent environment restricts loops or when you need a simple, stateless, pay-per-call micro-utility.

## Known failure modes

- Result would exceed 100,000 character cap — endpoint truncates or rejects the request
- Missing required 'text' or 'count' field — returns a 400-level validation error
- Non-integer or negative count — likely returns a validation error
- Payment failure via x402 — request not processed, no output returned

## How this service works

Repeat a string a bounded number of times. Call when you build padding/test fixtures without local loops. Returns repeated text capped at 100k chars for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the input text concatenated the specified number of times as a plain string, hard-capped at 100,000 characters total to prevent runaway output.

## 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-repeat-string-38af4d6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
