{"uid":"cap_qVoMLOIC0EnoP_o4icbGD","slug":"one-engine-text-prefix-check-d1978f40","name":"ONE Engine Text Prefix 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/prefix?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"prefix":{"type":"string"}}},"responseSchema":{"type":"json","example":{"text":"ONE Engine"}},"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_yZXhW98fquX9BIn1VBebG","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 prefix, returning the matched text.","exampleAgentPrompt":"Check if the text 'ONE Engine API documentation' starts with the prefix 'ONE' and tell me what it returns.","exampleUseCases":[{"title":"API key format validation","prompt":"I need to verify that these API keys all start with 'sk_live_' — can you check the key 'sk_live_abc123xyz' against that prefix for me?"},{"title":"File naming convention check","prompt":"Does the filename 'report_2024_Q1_sales.csv' start with 'report_' ? I want to make sure it follows our naming convention."},{"title":"URL scheme prefix detection","prompt":"Can you check whether the URL 'https://one-engine.workers.dev/v1/text' begins with the prefix 'https://' so I know it's a secure link?"}],"resultDescription":"A JSON object containing the matched text field, e.g. {\"text\": \"ONE Engine\"}, confirming or reflecting the text as it relates to the given prefix check.","failureModes":["Missing 'text' or 'prefix' field in request body results in a validation error","Empty string inputs may return unexpected or trivially true results","Payment failure via x402 (insufficient USDC balance on Base) results in 402 response and no processing","Text that does not start with the prefix may return an empty or null result depending on implementation","Cloudflare Worker cold start may add minor latency on first call"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, pay-per-call prefix validation for strings in an autonomous agent pipeline that already uses x402 micropayments on Base. It is ideal for lightweight text format checks (API keys, filenames, URLs, identifiers) without standing up your own string-processing logic. At $0.0009 USDC per call, it suits high-volume agent workflows where cost per operation matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:26.676Z","isFirstParty":false,"canonicalSlug":"one-engine-text-prefix-check-d1978f40"}