# YRUZ Duplicate Lines Remover

> YRUZ Duplicate Lines Remover is a paid API for AI agents from yruz.one, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Removes duplicate lines from a block of text, with optional trimming and case-insensitive comparison

## Facts

- Endpoint: POST https://yruz.one/api/toolkit/duplicate-lines-remover?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yruz-duplicate-lines-remover-415f1ae9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CZhs-4Iy51ZWuacIk3P6Y

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 yruz-duplicate-lines-remover-415f1ae9 -d '<json body>'
```

Example prompt: Can you remove all duplicate lines from this text, ignoring case differences and trimming whitespace before comparing: 'Apple\nbanana\nApple\n  banana  \nCherry'?

## When to prefer this

Use this endpoint when you need a simple, stateless, pay-per-call text deduplication operation without standing up your own string processing infrastructure. Ideal for quick one-off deduplication tasks in agent pipelines where deploying custom code is overkill.

## Known failure modes

- Empty or missing 'text' field returns an error or empty result
- Invalid parameter values for trim or ignore_case (e.g. values other than '1') may be ignored or cause unexpected behavior
- Very large text inputs may hit payload size limits
- Malformed JSON request body returns a 400 error

## How this service works

YRUZ is a free social network: create a profile, join public groups, attend events, read free guides on community building and creator income.

## Output

A JSON object with the tool name ('duplicate-lines-remover') and a result field containing the deduplicated text or list of unique lines after applying the specified trim and case options.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "input text (required)"
  },
  "trim": {
   "type": "string",
   "description": "1 to compare trimmed lines"
  },
  "ignore_case": {
   "type": "string",
   "description": "1 to ignore case"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "duplicate-lines-remover",
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yruz-duplicate-lines-remover-415f1ae9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from yruz.one](https://www.zero.xyz/host/yruz.one/llms.txt)
