# Delx Join Lines

> Delx Join Lines 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).

Joins an array of text lines into a single string using a specified separator, returning the joined text and line count.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/join-lines
- 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-join-lines-568b87e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_87Er3Hq1tXrDO1HZArOTn

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-join-lines-568b87e9 -d '<json body>'
```

Example prompt: Take these lines — ['Hello', 'world', 'from', 'agent'] — and join them into a single string using a space as the separator.

## When to prefer this

Choose this endpoint when you have an agent-held array of text lines that need to be reassembled into a single string with a precise separator, especially in agentic pipelines where text was previously split for processing. It is purpose-built for this single operation, stateless, requires no API keys, and is priced at a fraction of a cent per call via x402 micropayment on Base.

## Known failure modes

- Empty lines array returns empty string or zero count
- Missing separator defaults to empty string or may error
- Non-string elements in lines array may cause unexpected output
- Payment failure via x402 results in 402 response and no output
- Malformed request body returns 400 error

## How this service works

Join an array of lines with a separator. Call when you reassemble agent-held line lists for prompts or files. Returns joined text and line count 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 joined text as a single string produced by concatenating all input lines with the given separator, along with the count of lines that were joined.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lines": {
   "type": "array",
   "description": "Input field: lines."
  },
  "separator": {
   "type": "string",
   "description": "Input field: separator."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "alpha\nbeta\ngamma",
  "count": 3,
  "schema": "delx/util-join-lines/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-join-lines-568b87e9/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)
