# Delx Commerce — String Starts-With Check

> Delx Commerce — String Starts-With 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 text string starts with a specified prefix, returning a boolean result.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/starts-with?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-string-starts-with-check-e5b8020d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XSOoWp-5hBHxdcmt56k7y

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

Example prompt: Check if the string 'https://example.com/page' starts with 'https://' and tell me if it's true or false.

## When to prefer this

Choose this endpoint when you need a verifiable, pay-per-call, no-signup string prefix check — especially in agentic pipelines where auditability (schema-tagged responses) and micro-payment compatibility (USDC via x402) matter. Prefer it over native language-model string checks when you need a deterministic, structured, provable result rather than a probabilistic inference.

## Known failure modes

- Missing 'text' or 'prefix' field returns a validation error
- Empty string inputs may return unexpected true/false results depending on implementation
- Payment failure via x402 protocol blocks the call
- Network timeout returns no result
- Malformed JSON body causes a 400-level error

## 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 containing the prefix that was tested, a boolean 'result' field (true if the text starts with the prefix, false otherwise), and a schema identifier string ('delx/util-starts-with/v1') for verifiable, typed responses.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  },
  "prefix": {
   "type": "string",
   "description": "Input field: prefix."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prefix": "https://",
  "result": true,
  "schema": "delx/util-starts-with/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-string-starts-with-check-e5b8020d/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)
