{"uid":"cap_ZkeQHiNk-5Q4OWXbGtotF","slug":"delx-commerce-contains-text-check-d8668583","name":"Delx Commerce — Contains Text Check","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/contains-text?utm_source=zero.xyz","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_JLiTtT2PkKvDlhZBXpcbq","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 substring, with optional case-insensitive matching, for $0.001 USDC per call via x402.","exampleAgentPrompt":"Does the following text contain the word 'refund', ignoring case? Text: 'We are unable to process your Refund request at this time.'","exampleUseCases":[{"title":"Keyword filter for scraped content","prompt":"Check if this scraped article body contains the phrase 'climate change' — don't worry about capitalization."},{"title":"Log line error detection","prompt":"Does this log entry contain the word 'ERROR'? Entry: '[2024-06-01 12:34:56] INFO: Service started successfully.'"},{"title":"Required term validation in AI output","prompt":"Make sure the AI-generated product description contains the word 'warranty' somewhere — here's the text: 'Our premium blender comes with a 2-year guarantee and free shipping.'"}],"resultDescription":"Returns a JSON object with a boolean 'result' field (true if the needle was found, false otherwise), the schema identifier 'delx/util-contains-text/v1', and an echo of the ignore_case setting used.","failureModes":["Missing 'text' or 'needle' fields returns a validation error","Payment not included or insufficient USDC results in HTTP 402 Payment Required","Malformed JSON body returns a 400 Bad Request","Very large text inputs may exceed payload size limits"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call, no-signup substring check with verifiable delivery over USDC — ideal for AI agents that need on-demand, trustless string containment checks without managing API keys or subscriptions. Prefer it over rolling your own logic when operating in an autonomous agent context that already supports x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:08.188Z","isFirstParty":false,"canonicalSlug":"delx-commerce-contains-text-check-d8668583"}