{"uid":"cap_p7ho8RDI7jymq4edDmsjf","slug":"pennyrail-url-encoder-percent-encode-72bc4b59","name":"PennyRail URL Encoder (Percent-Encode)","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/encoding.url-encode--percent-encode","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","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_QCJ2NaODRx9a7_R5X2Xk4","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 (percent-encodes) a string, making it safe for use in URLs and query parameters","exampleAgentPrompt":"Can you URL-encode this string for me so I can safely use it in a query parameter: 'hello world & foo=bar/baz'?","exampleUseCases":[{"title":"Encode query parameter value","prompt":"I need to URL-encode the text 'search query: cats & dogs (2024)' so I can safely append it to a URL as a query parameter — can you percent-encode it for me?"},{"title":"Escape special characters in API request","prompt":"My API call keeps breaking because the value 'user@example.com/profile?tab=settings' has special characters — please URL-encode it so I can embed it in a URL safely."},{"title":"Prepare encoded URL segment for redirect","prompt":"I'm building a redirect URL and need to embed the path '/music/jazz & blues/top 10' as a safe encoded segment — can you percent-encode that string for me?"}],"resultDescription":"Returns an object containing the percent-encoded (URL-encoded) version of the input string, where special characters such as spaces, ampersands, slashes, and other reserved or unsafe characters are replaced with their %XX hex equivalents.","failureModes":["Missing required 'input' field returns a validation error","Non-string input may cause a type error","Empty string input may return an empty result or error","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-call URL encoding service accessible over HTTP without deploying your own utility function, especially in serverless or agent workflows where a lightweight external encoder is convenient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:18.550Z","isFirstParty":false}