# ONE Engine Text Token Lines Top-10

> ONE Engine Text Token Lines Top-10 is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-02).

Extracts the top 10 lines by token count from a given text block, returning the most token-dense lines.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-token/lines/t10?utm_source=zero.xyz
- Price: $0.03/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-text-token-lines-top-10-c39093e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aMKV4NE0YbwvA9BlEZwFd

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-text-token-lines-top-10-c39093e2 -d '<json body>'
```

Example prompt: Can you find the top 10 lines with the most tokens in this article? Here's the text: [paste up to 50,000 characters of text]

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.03 USDC) pay-per-call extraction of the top 10 token-heavy lines from a text — especially useful for LLM context budgeting, document pre-processing, or identifying verbose sections before summarization. Prefer this over building your own tokenizer when you need a lightweight, hosted solution billed via x402 on Base.

## Known failure modes

- Text exceeding 50,000 characters may be rejected or truncated
- Empty or whitespace-only text may return an empty result set
- Very short texts with fewer than 10 lines will return fewer than 10 results
- Payment failure via x402 will block the request
- Malformed JSON body missing the 'text' field returns a validation error

## How this service works

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

## Output

Returns a JSON object containing the top 10 lines from the input text ranked by token count, including each line's content and its associated token count or rank position.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Text up to 50000 characters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-text-token-lines-top-10-c39093e2/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)
