{"uid":"cap_0K0CmNKnBlJf2tzgSR-gv","slug":"sindri-url-encoder-ebac8515","name":"Sindri URL Encoder","description":"URL encoder API. Percent-encodes text for safe use in a URL query string or path segment, handling reserved-character rules LLMs often get wrong by hand.","url":"https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/urlEncode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The text to URL-encode."}}},"responseSchema":null,"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_FOS41lacuFOTfnVhNNDzp","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":"Percent-encodes text for safe use in a URL query string or path segment, correctly handling reserved characters that LLMs commonly mishandle.","exampleAgentPrompt":"Can you URL-encode this text for me: 'hello world & goodbye/world?yes=no'? I need to safely embed it in a query string parameter.","exampleUseCases":[{"title":"Encode user search query for API call","prompt":"I need to URL-encode the search phrase 'café au lait & croissants' so I can safely append it as a query parameter in an API request URL."},{"title":"Sanitize path segment with special characters","prompt":"Can you percent-encode 'reports/Q1 2024 (final)' so I can use it as a path segment in a REST endpoint without breaking the URL?"},{"title":"Encode email address for redirect URL","prompt":"I need to URL-encode 'user@example.com?ref=campaign&source=email' so it's safe to embed as a value inside another URL's query string."}],"resultDescription":"Returns a percent-encoded version of the input text, where all reserved and non-safe characters (spaces, &, ?, /, =, @, etc.) are replaced with their %XX hexadecimal equivalents, making the string safe for use in URL query strings or path segments.","failureModes":["Missing or empty 'text' field in request body — likely returns 400 or an error message","Network timeout or Lambda cold-start delay on first invocation","Payment failure if USDC balance is insufficient for the $0.01 per-call fee"],"whenToPreferThis":"Use this endpoint when you need reliable, standards-compliant percent-encoding of arbitrary text for URL use, especially when you can't trust an LLM to correctly handle edge cases like reserved characters (+, &, =, ?, /, #, @, %) or non-ASCII characters that require UTF-8 byte encoding. Ideal for agent workflows that dynamically build URLs from user-supplied input.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:48:21.564Z","isFirstParty":false,"canonicalSlug":"sindri-url-encoder-ebac8515"}