{"uid":"cap_V2WpsBomvFsfie6BEGTiS","slug":"one-engine-text-starts-with-check-4e6dd679","name":"ONE Engine Text Starts-With Check","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/text/starts-with?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"search":{"type":"string"}}},"responseSchema":{"type":"json","example":{"matches":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_17Ys2CCYU3K1srZplca4t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","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 starts with a specified search string, returning a boolean match result.","exampleAgentPrompt":"Check if the text 'Hello world, this is a test' starts with the word 'Hello'.","exampleUseCases":[{"title":"Validate file naming convention","prompt":"Check if the filename 'report_2024_final.pdf' starts with 'report_' so I can confirm it follows our naming convention."},{"title":"Filter user input by prefix","prompt":"Does the user's response 'Yes, I agree with the terms' start with 'Yes'? I need to know if they accepted."},{"title":"Verify URL scheme","prompt":"Tell me if the URL 'https://example.com/api/data' starts with 'https' so I know it's using a secure connection."}],"resultDescription":"Returns a JSON object with a single boolean field `matches` indicating whether the provided `text` string begins with the `search` string. Example: {\"matches\": true}.","failureModes":["Missing `text` or `search` fields in request body — likely returns an error or unexpected result","Payment failure via x402 protocol if USDC balance is insufficient — returns 402 Payment Required","Empty string inputs may produce ambiguous or trivially true results","Case sensitivity behavior is not documented — prefix match may or may not be case-sensitive"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, pay-per-call string prefix check without spinning up your own compute. It's ideal for autonomous agents running on x402/Base that want a simple utility operation billed at fractions of a cent per call, avoiding the overhead of a full text search or regex engine API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:05.193Z","isFirstParty":false,"canonicalSlug":"one-engine-text-starts-with-check-4e6dd679"}