# ONE Engine Text Ends-With Checker

> ONE Engine Text Ends-With Checker 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 ends with a specified search string, returning a boolean match result.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/text/ends-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-ends-with-checker-56477a73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nHFAiMwrfacou_mjy3XI_

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-ends-with-checker-56477a73 -d '<json body>'
```

Example prompt: Does the string 'hello world' end with 'world'? Just tell me true or false.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call suffix check on a string without spinning up custom code. Ideal for autonomous agents that need deterministic string validation at minimal cost ($0.0009 USDC) via x402 on Base, especially in workflows where installing a local string library is impractical.

## Known failure modes

- Missing 'text' or 'search' field in request body returns an error
- Empty string inputs may produce unexpected match behavior
- Payment failure via x402 prevents the call from completing
- Network timeout on the Cloudflare Worker edge

## 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 ends with the specified search string (e.g. {"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-ends-with-checker-56477a73/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)
