# Delx Bool Parse

> Delx Bool Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Parses truthy/falsey strings like yes/no/1/0/true/false into a normalized boolean value with interpretation

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/bool-parse
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-bool-parse-fabd70ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nG-7By6kK2tMHISooPqy5

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

Example prompt: Can you parse the string 'yes' into a proper boolean for me — I need to know if it should be treated as true or false?

## When to prefer this

Choose this endpoint when an agent or pipeline ingests boolean flags from messy sources — forms, CSVs, external APIs, or user input — that may use varied representations like yes/no, 1/0, on/off, true/false, y/n, or other common variants. It is especially useful when you want a deterministic, normalized boolean with no ambiguity, without writing custom parsing logic. Prefer it over ad-hoc string comparison when the input domain is unpredictable or when auditability of the normalization is important.

## Known failure modes

- Unrecognized input string that does not map to any known truthy/falsey variant — returns a structured validation error (not billed)
- Empty or missing value field — returns a structured validation error
- Null or non-string input that cannot be interpreted — returns a structured validation error
- Payment failure — call not processed if x402 payment on Base cannot be completed

## How this service works

Parse truthy/falsey strings. Call when agents ingest messy flags like yes/no/1/0/true from tools or forms. Returns a boolean plus the normalized interpretation. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

Returns a boolean (true or false) representing the parsed interpretation of the input string, along with the normalized form of the value so the agent knows exactly how the input was understood.

## 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-bool-parse-fabd70ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
