{"uid":"cap_nHFAiMwrfacou_mjy3XI_","slug":"one-engine-text-ends-with-checker-56477a73","name":"ONE Engine Text Ends-With Checker","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/ends-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_vO3UEnLndlc0VYz9OuoBR","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 ends with a specified search string, returning a boolean match result.","exampleAgentPrompt":"Does the string 'hello world' end with 'world'? Just tell me true or false.","exampleUseCases":[{"title":"File extension validation","prompt":"Check if the filename 'report_final.pdf' ends with '.pdf' so I can confirm it's the right file type before processing."},{"title":"URL suffix detection","prompt":"Does the URL 'https://example.com/page.html' end with '.html'? I need to know if it's an HTML page."},{"title":"Sentence punctuation check","prompt":"Tell me whether the sentence 'Is anyone there?' ends with a question mark — I'm validating user input formatting."}],"resultDescription":"Returns a JSON object with a single boolean field 'matches' indicating whether the provided text ends with the specified search string (e.g. {\"matches\": true}).","failureModes":["Missing 'text' or 'search' field in request body returns an error","Empty string inputs may produce unexpected match behavior","Payment failure via x402 prevents the call from completing","Network timeout on the Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call suffix check on a string without spinning up custom code. Ideal for autonomous agents that need deterministic string validation at minimal cost ($0.0009 USDC) via x402 on Base, especially in workflows where installing a local string library is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:24.684Z","isFirstParty":false,"canonicalSlug":"one-engine-text-ends-with-checker-56477a73"}