# Delx Commerce — Repeat String API

> Delx Commerce — Repeat String API 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 text string a specified number of times, returning the concatenated result with a count

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/repeat-string?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-api-f5b2c585
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bDu5CaeLtIyKriJAZZbBX

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

Example prompt: Repeat the text 'hello agent world' twice using the Delx repeat-string API and show me the result.

## When to prefer this

Choose this endpoint when you need a simple, verifiable, pay-per-call string repetition utility with no signup or subscription, particularly in agent workflows using x402 micropayments over USDC on Base or Solana. Ideal for testing x402 payment flows or when you need a lightweight, stateless transformation with an auditable on-chain payment trail.

## Known failure modes

- Input text exceeding 100,000 characters returns a validation error
- Missing or malformed payment header causes a 402 Payment Required response
- Invalid JSON body returns a 400 Bad Request
- No repeat count specified may result in a default behavior or error depending on server implementation
- Network or blockchain payment settlement failure may cause transaction rejection

## 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 repeated text string (original text concatenated N times), the repeat count, and a schema identifier ('delx/repeat-string/v1').

## 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-commerce-repeat-string-api-f5b2c585/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)
