# Delx Commerce — Contains Text Check

> Delx Commerce — Contains Text Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Checks whether a given string contains a specified substring, with optional case-insensitive matching, for $0.001 USDC per call via x402.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/contains-text?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-contains-text-check-d8668583
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZkeQHiNk-5Q4OWXbGtotF

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 delx-commerce-contains-text-check-d8668583 -d '<json body>'
```

Example prompt: Does the following text contain the word 'refund', ignoring case? Text: 'We are unable to process your Refund request at this time.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup substring check with verifiable delivery over USDC — ideal for AI agents that need on-demand, trustless string containment checks without managing API keys or subscriptions. Prefer it over rolling your own logic when operating in an autonomous agent context that already supports x402 micropayments.

## Known failure modes

- Missing 'text' or 'needle' fields returns a validation error
- Payment not included or insufficient USDC results in HTTP 402 Payment Required
- Malformed JSON body returns a 400 Bad Request
- Very large text inputs may exceed payload size limits

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with a boolean 'result' field (true if the needle was found, false otherwise), the schema identifier 'delx/util-contains-text/v1', and an echo of the ignore_case setting used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  },
  "needle": {
   "type": "string",
   "description": "Input field: needle."
  },
  "ignore_case": {
   "type": "boolean",
   "description": "Input field: ignore case."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": true,
  "schema": "delx/util-contains-text/v1",
  "ignore_case": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-contains-text-check-d8668583/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
