{"uid":"cap_u3XqsshdWl3k4k62wwEpc","slug":"delx-commerce-is-float-string-validator-9ab2ea71","name":"Delx Commerce — Is Float String Validator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/is-float-str?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"12.5","valid":true,"schema":"delx/util-is-float-str/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FwtmuAQ0dJRjvzZ9m4pAZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given text string represents a valid floating-point number","exampleAgentPrompt":"Check if the string '3.14' is a valid floating-point number.","exampleUseCases":[{"title":"Validating user-entered price input","prompt":"Before I process this order, check if the price the user typed — '19.99' — is actually a valid float so I don't pass garbage into my pricing engine."},{"title":"Checking extracted text from a document","prompt":"I pulled the value '7.abc' out of a parsed PDF field. Can you check whether it's a valid floating-point number before I try to use it in a calculation?"},{"title":"Gating numeric pipeline on string type","prompt":"I have a raw string '0.001' coming in from an API response — verify it's a legitimate float before I feed it into my financial computation."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:42.742Z","isFirstParty":false,"canonicalSlug":"delx-commerce-is-float-string-validator-9ab2ea71"}