{"uid":"cap_uPbHBqjhMZuPIEY1W8swH","slug":"delx-commerce-is-blank-text-validator-25ecb808","name":"Delx Commerce — Is-Blank Text 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-blank?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"blank":true,"length":3,"schema":"delx/util-is-blank/v1","whitespace_only":true}},"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_9KiSC6zUIK4Y3yhU08CHH","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 is blank, whitespace-only, or empty, returning a boolean result with length metadata.","exampleAgentPrompt":"Can you check if this text is blank or just whitespace: '   '?","exampleUseCases":[{"title":"Form submission validation","prompt":"Before I save this user's bio to the database, check if what they entered — '   ' — is actually blank or just spaces."},{"title":"Agent input guard before pipeline","prompt":"I'm about to run a summarization pipeline on this input: '\\n\\t'. Can you check if it's actually empty or whitespace-only before I waste API calls?"},{"title":"Chat response quality check","prompt":"The user's reply came back as '  ' — can you tell me if that's blank or if there's real content in there?"}],"resultDescription":"Returns a JSON object with: `blank` (boolean indicating if the text is blank or whitespace-only), `whitespace_only` (boolean indicating if text contains only whitespace characters), `length` (integer character count of the input), and `schema` (a version identifier string like 'delx/util-is-blank/v1').","failureModes":["Missing or null `text` field in request body may return a validation error","Very large text strings may hit size limits","Network or payment processing failure may result in no response"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-result check on whether a string is blank or whitespace-only without setting up any auth or subscriptions. Ideal for AI agent pipelines that need to guard against empty inputs before calling expensive downstream APIs. Prefer this over rolling your own logic when you want verifiable, auditable results on Base or Solana via x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:59.431Z","isFirstParty":false,"canonicalSlug":"delx-commerce-is-blank-text-validator-25ecb808"}