# Delx Commerce Bool Parse

> Delx Commerce Bool Parse 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).

Parses truthy/falsy string values (true/false/yes/no/1/0 and common variants) into a canonical boolean result

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/bool-parse?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-bool-parse-21b2d4fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8WxRCPc2taO6jDJGSdWfk

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-bool-parse-21b2d4fa -d '<json body>'
```

Example prompt: Can you parse the string 'yes' into a proper boolean true/false value for me?

## When to prefer this

Use this endpoint when you need a reliable, schema-versioned boolean normalization from diverse string representations (yes/no/true/false/1/0 and variants) without writing custom parsing logic. Prefer it in agentic pipelines where verifiable, pay-per-result calls are preferred over bundled API subscriptions, and when you need a consistent canonical output with a schema label for downstream validation.

## Known failure modes

- Unrecognized or ambiguous input strings that don't map to a known truthy/falsy variant may return an error or unexpected result
- Payment failure via x402 protocol if insufficient USDC balance
- Missing required 'value' field in request body returns validation error
- Malformed request body returns 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 parsed boolean value (true or false), the schema identifier ('delx/bool-parse/v1'), and the original source string that was parsed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "description": "Truthy/falsey value to parse (true/false/yes/no/1/0 and common variants)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": true,
  "schema": "delx/bool-parse/v1",
  "source": "true"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-bool-parse-21b2d4fa/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)
