# Delx Is Float String

> Delx Is Float String is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Checks whether a given string represents a valid floating-point number, returning a boolean result.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/is-float-str?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-is-float-string-09d7852d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MDFrTfHQgiOzwem3hCIbJ

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-is-float-string-09d7852d -d '<json body>'
```

Example prompt: Before I try to parse the price field, can you check if the string '3.14' is a valid float?

## When to prefer this

Use this endpoint when you need a fast, dependency-free float validation check inside an agent pipeline without writing custom regex or parser logic. Ideal for pre-validation of user-supplied decimal inputs (form fields, CSV values, API parameters) before attempting numeric conversion. Best suited for single string checks at minimal cost ($0.001 USDC).

## Known failure modes

- Missing or empty 'text' field returns an error or false
- Non-string input types may cause schema validation errors
- Network timeouts on the paid x402 endpoint
- Payment failure if USDC balance is insufficient on Base

## How this service works

Check whether a string is a float. Call when you validate decimal form fields before parse. Returns valid boolean for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a boolean indicating whether the provided text string is a valid floating-point number (true if it can be parsed as a float, false otherwise).

## 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-is-float-string-09d7852d/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)
