# 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-10-22).

Repeats a given string N times and returns the repeated result along with the count used

## Facts

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

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-cd236b78 -d '<json body>'
```

Example prompt: Repeat the string '---' 40 times so I can use it as a section separator in my report.

## When to prefer this

Choose this endpoint when an AI agent needs to repeat a string a fixed number of times server-side without running a local loop — particularly useful in serverless, sandboxed, or agent environments where local iteration is unavailable or undesirable. Ideal for generating fixture data, separators, or repeated test payloads deterministically with no API key or subscription required.

## Known failure modes

- Input text exceeds 100,000 character limit — returns a structured validation error (not billed)
- Missing or invalid N parameter — returns validation error
- N is zero or negative — may return empty string or validation error
- Network or payment authorization failure — call not completed

## How this service works

Repeat a string N times. Handy for fixtures, separators, or test payloads without local loops. Returns the repeated string and N used. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

Returns a JSON object containing the fully repeated string (the input text concatenated N times) and the value of N that was used, billed at $0.001 USDC per successful call via x402 on Base; validation errors are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000,
   "description": "Primary text input (max 100k chars). Processed first-party; not retained as a dataset."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello agent worldhello agent world",
  "count": 2,
  "schema": "delx/repeat-string/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-repeat-string-cd236b78/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)
