{"uid":"cap_2xBo8skzwCGkIUWL1BJr7","slug":"pennyrail-url-encoder-10c9b66f","name":"PennyRail URL Encoder","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/encoding.url-encode","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"string"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"additionalProperties":true},"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_6BBBfMW-uFfmcKGNUtO8n","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":"URL-encodes a string, percent-encoding special characters for safe use in URLs","exampleAgentPrompt":"Can you URL-encode this string for me: 'hello world & welcome to 2024!'?","exampleUseCases":[{"title":"Encoding query parameter values","prompt":"I need to URL-encode this search query before appending it to a URL: 'coffee shops near me & open late'"},{"title":"Sanitizing user input for HTTP request","prompt":"Take this user-submitted text and URL-encode it so I can safely include it as a path segment: 'John's report #42 / final draft'"},{"title":"Preparing webhook callback URL","prompt":"URL-encode this string so I can embed it as a parameter in a redirect URL: 'https://mysite.com/callback?ref=home&user=abc'"}],"resultDescription":"Returns a JSON object with an 'operation' field indicating 'url-encode' and a 'result' field containing the percent-encoded version of the input string, where spaces become %20, ampersands become %26, and other special characters are similarly escaped.","failureModes":["Missing 'input' field returns a validation error","Very long strings may be truncated or rejected","Non-string input types may cause a 400 error","Network or payment gateway errors may return 402 or 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-call URL encoding utility without setting up a local library or dependency — particularly useful in serverless agent pipelines or environments where string utility functions are not available natively.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:24.193Z","isFirstParty":false}