{"uid":"cap_kcmyVR2wCOhy4jL9T1Awn","slug":"one-engine-url-encoder-5bb0585f","name":"ONE Engine URL Encoder","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/url/encode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"text":"hello%20world%3F"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T8WdLoevaOldQUbhHuKRB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"URL-encodes a plain text string into percent-encoded format suitable for use in HTTP URLs","exampleAgentPrompt":"Can you URL-encode the text 'hello world?' so I can safely embed it in a URL query string?","exampleUseCases":[{"title":"Encoding a search query for a URL","prompt":"I need to URL-encode the phrase 'what is the weather like today?' so I can append it as a query parameter in a web request."},{"title":"Escaping special characters in user input","prompt":"Take this user-submitted string 'name=John & age=30' and URL-encode it so I can safely pass it as a URL parameter without breaking the request."},{"title":"Preparing API call path segments","prompt":"URL-encode the text 'café & résumé #1' for me so I can include it as a safe segment in an HTTP URL I'm building."}],"resultDescription":"A JSON object containing a single field 'text' with the percent-encoded version of the input string, where spaces become %20, question marks become %3F, and other reserved characters are similarly escaped.","failureModes":["Missing or empty 'text' field in request body may return an error or empty result","Payment failure via x402 if USDC balance is insufficient (HTTP 402)","Malformed JSON request body returns a 4xx error","Extremely large input strings may be rejected or time out"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, pay-per-call URL encoding operation without standing up its own encoding library, particularly in serverless or constrained environments where external utility calls are acceptable and the x402 micropayment model on Base is already in use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:51.245Z","isFirstParty":false,"canonicalSlug":"one-engine-url-encoder-5bb0585f"}