{"uid":"cap_M7nMLRTikcpLhSj3nX9ex","slug":"creator-desk-ends-with-string-utility-31dd5fdc","name":"Creator Desk Ends-With String Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/ends-with?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"ends_with"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tgVI43PdRZvHfn6fs1_7C","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 value ends with a specified suffix, returning a boolean-style result via a micropayment-gated API.","exampleAgentPrompt":"Check whether the string 'document_final.pdf' ends with '.pdf' — use the ends-with utility.","exampleUseCases":[{"title":"File extension validation pipeline","prompt":"I need to check if the filename 'report_2024.xlsx' ends with '.xlsx' before processing it — can you verify that for me?"},{"title":"URL suffix check for routing","prompt":"Does the URL 'https://example.com/products/shoes' end with '/shoes'? I need to confirm the path suffix before routing the request."},{"title":"Domain suffix verification","prompt":"Can you check if the email address 'user@company.io' ends with '.io'? I'm filtering accounts by domain type."}],"resultDescription":"Returns a JSON object with a 'result' field (the boolean or matched outcome of the ends-with check) and an 'operation' field confirming the operation was 'ends_with'. The response indicates whether the provided value ends with the specified suffix given any options passed.","failureModes":["Missing or null 'value' field returns an error or undefined behavior","Malformed options object may cause unexpected results","Payment failure via x402 protocol blocks the request before processing","No suffix specified in options leads to ambiguous or defaulted behavior","Network timeout on Render-hosted instance during cold start"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, programmatic string suffix check within an agent workflow that already handles x402 micropayments, and you want a simple, consistent API response format without spinning up local string-processing logic. Suitable for validating file extensions, URL patterns, or string endings in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:24.744Z","isFirstParty":false,"canonicalSlug":"creator-desk-ends-with-string-utility-31dd5fdc"}