{"uid":"cap_xh-zhNzbxPDCAZEjEGnFQ","slug":"delx-contains-text-3675f336","name":"Delx Contains Text","description":"Check whether text contains a needle (optional ignore_case). Call when you need a cheap membership check on agent-held strings. Returns boolean result with ignore_case flag 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.","url":"https://api.delx.ai/api/v1/x402/contains-text","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."},"needle":{"type":"string","description":"Input field: needle."},"ignore_case":{"type":"boolean","description":"Input field: ignore case."}}},"responseSchema":{"type":"json","example":{"result":true,"schema":"delx/util-contains-text/v1","ignore_case":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_vPmcIQ_w2IZzV2YmKTaCk","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 string contains a specified needle substring, with optional case-insensitive matching, returning a boolean result.","exampleAgentPrompt":"Check if the text 'The quick brown fox jumps over the lazy dog' contains the word 'fox', ignoring case.","exampleUseCases":[{"title":"Filter agent output for keyword","prompt":"Does the summary you just generated contain the word 'urgent'? Ignore capitalization when checking."},{"title":"Validate user input before processing","prompt":"Before I continue, check whether the user's message 'Please RESET my Password immediately' contains the word 'reset', case-insensitively."},{"title":"Detect banned term in content","prompt":"Check if this product description — 'Our amazing free trial offer guarantees results!' — contains the word 'guarantee', ignoring case."}],"resultDescription":"Returns a JSON object with a boolean field indicating whether the needle was found in the text, along with the ignore_case flag that was used for the check.","failureModes":["Missing 'text' or 'needle' field returns a validation error","Non-string values for text or needle may cause a bad request response","Payment failure via x402 results in a 402 response and no result","Very large text strings may be rejected or time out"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, stateless substring check on strings already held in agent memory — no external database, regex engine, or LLM inference required. Ideal for simple keyword membership checks, content filtering gates, or conditional branching in agent workflows where you want a deterministic yes/no answer at minimal cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:07.969Z","isFirstParty":false}