# Delx Commerce — Is Float String Validator

> Delx Commerce — Is Float String 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 represents a valid floating-point number

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/is-float-str?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-float-string-validator-9ab2ea71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u3XqsshdWl3k4k62wwEpc

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-float-string-validator-9ab2ea71 -d '<json body>'
```

Example prompt: Check if the string '3.14' is a valid floating-point number.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call float string validation with verifiable delivery and no signup overhead, especially in agent pipelines running on Base or Solana using the x402 payment protocol. Prefer it over implementing custom regex or type-casting logic when you want a standardized, auditable validation result with a schema identifier for downstream trust.

## Known failure modes

- Empty or missing 'text' field returns an error or false valid
- Non-string inputs may cause schema validation errors
- Network or payment failures via x402 protocol prevent request completion
- Edge cases like 'NaN', 'Infinity', or locale-specific decimals (e.g. '1,5') may return unexpected results

## 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 the original text, a boolean 'valid' field indicating whether the string is a valid float, and a schema identifier ('delx/util-is-float-str/v1') for verifiable result provenance.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "12.5",
  "valid": true,
  "schema": "delx/util-is-float-str/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-is-float-string-validator-9ab2ea71/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)
