{"uid":"cap_RgW2ew-2MzRywv_3LitZb","slug":"kevaremesh-url-encoding-decoding-b583b4a7","name":"KEVAREMESH URL Encoding/Decoding","description":"Buyer-first MCP procurement gateway that discovers, compares and routes live x402 APIs without making the buyer choose a provider.","url":"https://kevaremesh-web.vercel.app/api/x402/url-encoding?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":262144},"operation":{"enum":["encode","decode"],"type":"string","default":"encode"}}},"responseSchema":{"type":"json","example":{"result":{"mode":"component","input":"a b+c","output":"a%20b%2Bc","operation":"encode"},"product":"kevaremesh_url_encoding_v2","service":"KEVAREMESH","tool_name":"kevaremesh_url_encode","limitations":["URL component encoding only"],"generated_at":"2026-09-18T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V0z4WvAVqpVY_47EeSUv0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes URL component strings using percent-encoding, converting special characters to or from their %XX representations.","exampleAgentPrompt":"Can you URL-encode the string 'hello world+foo&bar=baz' so I can safely put it in a URL query parameter?","exampleUseCases":[{"title":"Encode search query for URL","prompt":"I need to encode the text 'coffee & tea shop: open now?' so I can safely append it as a query parameter in a URL — can you percent-encode it?"},{"title":"Decode percent-encoded URL string","prompt":"I have this URL-encoded string '%E2%82%AC20%20off%20sale%21' and I want to decode it back to readable text — can you decode it?"},{"title":"Sanitize user input for URL construction","prompt":"I'm building a link and the user typed 'New York (Manhattan)' as the location — please URL-encode that so it's safe to embed in the URL."}],"resultDescription":"Returns a JSON object with the original input, the transformed output string, the operation performed (encode or decode), and the encoding mode used (component). Also includes product and service metadata fields and a timestamp.","failureModes":["Text exceeds 262,144 character limit — request rejected","Invalid operation value (not 'encode' or 'decode') — schema validation error","Payment failure via x402 protocol — HTTP 402 returned before processing","Malformed JSON body — 400 error","Empty text input may return empty output or an error"],"whenToPreferThis":"Use this endpoint when you need reliable URL component encoding or decoding as a paid micro-API call, particularly within an x402 micropayment-enabled agent workflow. Prefer this over browser-native encodeURIComponent when you need a hosted, auditable, pay-per-use encoding service that integrates with the KEVAREMESH procurement gateway ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T00:53:37.430Z","isFirstParty":false,"canonicalSlug":"kevaremesh-url-encoding-decoding-b583b4a7"}