# ONE Engine Unique Word Count (First N Words, Tier 8)

> ONE Engine Unique Word Count (First N Words, Tier 8) is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0068/call, status unknown (last checked 2026-10-25).

Counts the number of unique words within the first 128 words of a given text input, returning diagnostics at tier 8 richness.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v9/text-analysis/unique-words/p4/t8?utm_source=zero.xyz
- Price: $0.0068/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-unique-word-count-first-n-words-tier-8-4d481cf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G9pNIlMa6D8lwA1--KwsK

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-unique-word-count-first-n-words-tier-8-4d481cf4 -d '<json body>'
```

Example prompt: Count the unique words in the first 128 words of this paragraph and give me the full tier-8 diagnostics: 'The quick brown fox jumps over the lazy dog. The dog barked at the fox...'

## When to prefer this

Use this endpoint when you need a deterministic, reproducible unique word count scoped to the first 128 words of a text, especially when richer tier-8 diagnostics are needed alongside the raw count. Prefer it over general NLP APIs when you want a cheap, pay-per-call micro-utility without managing infrastructure, and when determinism (same input always yields same output) is a requirement.

## Known failure modes

- Empty or missing text input returns an error or zero count
- Text shorter than 128 words is analyzed up to available length, which may affect comparability
- Non-text or binary input may cause parsing failures
- Payment failure via x402 results in 402 status and no analysis
- Malformed POST body returns a 400-level error

## How this service works

Deterministic local text analysis utility: Count unique words in first N words; parameter=128. Tier 8/10 provides progressively richer diagnostics.

## Output

Returns the count of unique (distinct) words found within the first 128 words of the input text, along with tier-8 level diagnostics which may include word frequency distributions, token lists, repetition ratios, and other enriched text analysis metrics.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-unique-word-count-first-n-words-tier-8-4d481cf4/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)
