# ONE Engine Text Split

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

Splits a string of text into an array of substrings using a specified separator, returning the parts and their count.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/text/split?utm_source=zero.xyz
- Price: $0.001/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-split-1860cae1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Xm4XsmBLlq42ixQ5tbgf

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-split-1860cae1 -d '<json body>'
```

Example prompt: Split the text 'apple,banana,cherry,date' using a comma as the separator and tell me the resulting parts and how many there are.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call string splitting operation inside an autonomous agent pipeline without spinning up a full compute environment. It is ideal for simple delimiter-based text parsing tasks where the cost per call ($0.001 USDC) is acceptable and the operation needs to be composable with other ONE Engine utility APIs on Base.

## Known failure modes

- Missing 'text' field returns an error or empty result
- Empty separator may split into individual characters or fail depending on implementation
- Very large text strings may hit payload size limits
- Non-string types for text or separator may cause a 400 error
- Payment failure via x402 returns 402 Payment Required

## How this service works

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

## Output

Returns a JSON object containing 'count' (integer number of resulting substrings) and 'values' (array of the split string parts).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "separator": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "values": [
   "a",
   "b",
   "c"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-text-split-1860cae1/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)
