# ONE Engine Text Starts-With Check

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

Checks whether a given text string starts with a specified search string, returning a boolean match result.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/text/starts-with?utm_source=zero.xyz
- Price: $0.0009/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-starts-with-check-4e6dd679
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V2WpsBomvFsfie6BEGTiS

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-starts-with-check-4e6dd679 -d '<json body>'
```

Example prompt: Check if the text 'Hello world, this is a test' starts with the word 'Hello'.

## When to prefer this

Choose this endpoint when you need a cheap, fast, pay-per-call string prefix check without spinning up your own compute. It's ideal for autonomous agents running on x402/Base that want a simple utility operation billed at fractions of a cent per call, avoiding the overhead of a full text search or regex engine API.

## Known failure modes

- Missing `text` or `search` fields in request body — likely returns an error or unexpected result
- Payment failure via x402 protocol if USDC balance is insufficient — returns 402 Payment Required
- Empty string inputs may produce ambiguous or trivially true results
- Case sensitivity behavior is not documented — prefix match may or may not be case-sensitive

## How this service works

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

## Output

Returns a JSON object with a single boolean field `matches` indicating whether the provided `text` string begins with the `search` string. Example: {"matches": true}.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "matches": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-text-starts-with-check-4e6dd679/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)
