{"uid":"cap_jc4wAzarOUKNxAvfTI1hH","slug":"x402-toolbox-url-encode-451e0e64","name":"x402-toolbox URL Encode","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/url-encode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mKeXe-B3v5uov8ONd3jvf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Percent-encodes a string or URL so it is safe for use in query parameters or HTTP requests","exampleAgentPrompt":"URL-encode this string for me so I can safely use it as a query parameter: 'hello world & foo=bar?yes'","exampleUseCases":[{"title":"Encoding query parameter values","prompt":"I need to include 'search term with spaces & special=chars' as a query parameter in a URL — can you percent-encode it for me?"},{"title":"Escaping user input for API calls","prompt":"Before I pass this user-provided text into the URL of an API request, encode it so the special characters like &, ?, and = don't break anything: 'price > $100 & category=shoes'"},{"title":"Preparing URL path segments","prompt":"Encode this file path so it can be safely embedded in a URL: '/documents/my report (final version).pdf'"}],"resultDescription":"A JSON object with ok and paid fields confirming the transaction, plus the URL-encoded version of the submitted string where special characters (spaces, &, =, ?, #, etc.) are replaced with their %XX percent-encoded equivalents.","failureModes":["Missing or empty schema/input parameter returns an error","Payment failure via x402 results in a 402 response and no encoding is performed","Malformed request may return a non-ok JSON response","Network timeout on the Cloudflare Worker edge node"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call URL encoding utility with no API key or account setup, and you are already operating within the x402 micropayment ecosystem on Base/USDC. Ideal for AI agents that need deterministic, one-off string encoding without managing credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:58.891Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-url-encode-451e0e64"}