# Delx Array Uniq

> Delx Array Uniq 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).

Deduplicate an array of items while preserving original order, returning unique items and their count

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/arr-uniq
- 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-array-uniq-b057e714
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jDX-rt1PF1YfF0KjTgNTH

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-array-uniq-b057e714 -d '<json body>'
```

Example prompt: Can you deduplicate this list for me and tell me how many unique items there are? The list is: ["apple", "banana", "apple", "cherry", "banana", "date"]

## When to prefer this

Choose this endpoint when you need fast, order-preserving deduplication of a simple array without any sorting, grouping, or complex logic. It is ideal for lightweight agent pipelines that need to deduplicate keys, IDs, tags, or strings locally without retaining data or requiring authentication beyond the x402 micropayment. Prefer it over custom code when you want a cheap, stateless, side-effect-free deduplication step in an automated workflow.

## Known failure modes

- Missing or empty items array returns an error or empty result
- Non-array input type causes a validation error
- Payment failure via x402 blocks the request
- Malformed JSON body returns a 400-level error

## How this service works

Deduplicate a list preserving order. Call when you unique agent keys without sorting. Returns unique items and 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 a JSON object containing an array of unique items in their original insertion order and a count of how many unique items were found, with no sorting applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "description": "Input field: items."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "items": [
   1,
   2,
   3
  ],
  "schema": "delx/util-arr-uniq/v1"
 }
}
```

## More

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