{"uid":"cap_nXeHEZFoH4F-K7-s-0ptz","slug":"industrial-platform-web-tools-url-code-encoder-decoder-dc4b653c","name":"Industrial Platform Web Tools – URL Code Encoder/Decoder","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/url/code?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"mode":{"enum":["encode","decode"],"type":"string"},"text":{"type":"string","maxLength":250000}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_IQ2-pODzecbX51Tmvlj0s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes text using URL (percent) encoding, accessible as a machine-payable x402 utility","exampleAgentPrompt":"Take this string 'Hello World! 你好 & more?' and URL-encode it so I can safely include it as a query parameter — use encode mode.","exampleUseCases":[{"title":"Safe query parameter encoding","prompt":"I need to URL-encode this search query so I can paste it into a URL: 'coffee shops near me & bakeries (open now)!' — can you encode it for me?"},{"title":"Decoding percent-encoded API response","prompt":"I got this percent-encoded string back from an API: 'Hello%20World%21%20%26%20more' — can you decode it back to plain readable text?"},{"title":"Encoding multilingual content for web use","prompt":"I have some Japanese text 'こんにちは世界' that I need to URL-encode before embedding it as a URL parameter — please encode it."}],"resultDescription":"Returns a JSON object containing the transformed text — either the URL-encoded (percent-encoded) version of the input string, or the decoded plain-text version, depending on the chosen mode.","failureModes":["Input text exceeds 250,000 character limit — request rejected","Missing required 'text' field in body — validation error","Invalid 'mode' value (must be 'encode' or 'decode') — enum validation failure","Malformed JSON body — parse error","Payment not received or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a quick, machine-payable URL encoding or decoding operation without standing up your own infrastructure. Ideal for AI agents operating in x402-enabled payment flows that need to encode/decode strings on the fly as part of a larger workflow (e.g., constructing URLs, processing API responses).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:20.249Z","isFirstParty":false,"canonicalSlug":"industrial-platform-web-tools-url-code-encoder-decoder-dc4b653c"}