# Delx Commerce — Is-Blank Text Validator

> Delx Commerce — Is-Blank Text Validator 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 is blank, whitespace-only, or empty, returning a boolean result with length metadata.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/is-blank?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-is-blank-text-validator-25ecb808
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uPbHBqjhMZuPIEY1W8swH

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-is-blank-text-validator-25ecb808 -d '<json body>'
```

Example prompt: Can you check if this text is blank or just whitespace: '   '?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-result check on whether a string is blank or whitespace-only without setting up any auth or subscriptions. Ideal for AI agent pipelines that need to guard against empty inputs before calling expensive downstream APIs. Prefer this over rolling your own logic when you want verifiable, auditable results on Base or Solana via x402 micropayments.

## Known failure modes

- Missing or null `text` field in request body may return a validation error
- Very large text strings may hit size limits
- Network or payment processing failure may result in no response

## 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: `blank` (boolean indicating if the text is blank or whitespace-only), `whitespace_only` (boolean indicating if text contains only whitespace characters), `length` (integer character count of the input), and `schema` (a version identifier string like 'delx/util-is-blank/v1').

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "blank": true,
  "length": 3,
  "schema": "delx/util-is-blank/v1",
  "whitespace_only": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-is-blank-text-validator-25ecb808/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)
