{"uid":"cap_KOTKEJBhgU7gF0pGpZ6j4","slug":"agentshelf-percent-encode-d2f7b252","name":"Agentshelf Percent-Encode","description":"Call when an agent needs text encoded with percent. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/percent-encode first.","url":"https://agentshelf.syntexa.ch/v1/percent-encode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["Hello, World!"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rU_S_sbgRQ7QS4J0IRaqA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Percent-encodes (URL-encodes) a text string server-side without network calls or LLM involvement, for $0.005 USDC per call.","exampleAgentPrompt":"Can you percent-encode this string for me: 'hello world & café = great!'?","exampleUseCases":[{"title":"Encoding query parameter values","prompt":"I need to percent-encode the string 'name=John Doe&city=São Paulo' so I can safely embed it as a URL query parameter — can you do that for me?"},{"title":"Escaping special characters in a path segment","prompt":"Please percent-encode this path segment so it's URL-safe: 'reports/Q1 2024/summary (final)'."},{"title":"Preparing webhook payload for URL embedding","prompt":"I have this JSON snippet I need to embed in a redirect URL: '{\"event\":\"order.complete\",\"id\":42}' — can you percent-encode it?"}],"resultDescription":"Returns the percent-encoded (URL-encoded) version of the submitted text string, with reserved and non-ASCII characters replaced by their %XX equivalents, processed entirely server-side without LLM or external network calls.","failureModes":["Empty string input rejected (minLength:1 constraint)","String exceeding 100,000 characters rejected (maxLength constraint)","Missing required 'text' field returns a validation error","Payment of $0.005 USDC not fulfilled triggers HTTP 402"],"whenToPreferThis":"Choose this endpoint when an agent needs a reliable, deterministic percent-encoding of a string without relying on an LLM's text manipulation or implementing encoding logic locally. It is particularly useful in sandboxed or restricted environments where standard URL-encoding libraries are unavailable. Prefer the free POST /v1/sandbox/percent-encode endpoint if available; fall back to this paid endpoint only when that is inaccessible or unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:03.570Z","isFirstParty":false,"canonicalSlug":"agentshelf-percent-encode-d2f7b252"}