# ONE Engine Array Unique (t2)

> ONE Engine Array Unique (t2) is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0007/call, status unknown (last checked 2026-10-02).

Returns the unique elements from a JSON array, with optional comparison against a second array, offset, and size limit.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/array/unique/t2?utm_source=zero.xyz
- Price: $0.0007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-array-unique-t2-4b2cfcef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r0SzPhfRuD0F4llDBh2Ex

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 one-engine-array-unique-t2-4b2cfcef -d '<json body>'
```

Example prompt: Can you deduplicate this list of user IDs for me: [101, 202, 101, 303, 202, 404] — just give me the unique values, up to 10 results starting from the first?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call deduplication or set-difference operation on a JSON array without standing up your own compute. It is ideal for agents that occasionally need to clean up lists, find new items relative to a known set, or paginate through unique values — especially within the x402/Base micropayment ecosystem where per-call billing at $0.0007 USDC is acceptable.

## Known failure modes

- Input array exceeds 1000 items — request rejected
- Malformed JSON array input — parsing error returned
- Payment not provided or insufficient — 402 Payment Required response
- Missing required 'values' field — validation error
- Network timeout on Cloudflare Worker edge

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON object containing the deduplicated array of unique values from the input, optionally filtered against a comparison array, and sliced by offset and size parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "values"
 ],
 "properties": {
  "size": {
   "type": "integer"
  },
  "other": {
   "type": "array",
   "description": "Optional comparison array"
  },
  "offset": {
   "type": "integer"
  },
  "values": {
   "type": "array",
   "description": "JSON array with at most 1000 items"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-array-unique-t2-4b2cfcef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
