{"uid":"cap_vy9E3d-rs9pM4aaAyztNQ","slug":"url-encoder-api-x402-outpimp-com-3716d1ea","name":"URL Encoder API (x402.outpimp.com)","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://x402.outpimp.com/urlEncode","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_z68EQYCtr1I7mu4Ezahvn","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 a text string for safe use in a URL query string or path segment, handling reserved-character rules correctly.","exampleAgentPrompt":"Can you URL-encode this text for me so I can safely put it in a query string: 'hello world & welcome to café 42!'?","exampleUseCases":[{"title":"Encoding search query for HTTP request","prompt":"I need to URL-encode this search query before I append it to a GET request: 'price < $100 & brand=café del sol' — can you encode it for me?"},{"title":"Making user input safe for URL path","prompt":"Take this user-submitted text and percent-encode it so I can safely embed it in a URL path segment: 'John's résumé (2024) #final'."},{"title":"Encoding OAuth redirect parameter","prompt":"I need to include this callback URL as a query parameter value in another URL — can you percent-encode it? The text is 'https://myapp.com/callback?state=active&session=1'."}],"resultDescription":"Returns the percent-encoded version of the input text, with all reserved and non-ASCII characters replaced by their %XX hex escape sequences, making the string safe for use in URL query strings or path segments. Returns HTTP 400 if the text field is missing or not a string.","failureModes":["Missing 'text' field in request body — returns 400","'text' field is not a string (e.g. number or null) — returns 400","Network timeout or service unavailability — returns 5xx","Empty string input — may return empty string or 400 depending on server behavior"],"whenToPreferThis":"Prefer this endpoint when you need reliable, standards-compliant percent-encoding of arbitrary text for inclusion in a URL, especially when LLM-generated encoding may be unreliable (e.g. edge cases with reserved characters like '/', '?', '&', '#', '+', or non-ASCII unicode). This is a fast, deterministic utility call that avoids token burn and encoding errors.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:08.726Z","isFirstParty":false}