{"uid":"cap_hgpUmNpZsbfydW51GsgES","slug":"uri-encode-decode-tool-x402-micro-payment-3c4a127a","name":"URI Encode/Decode Tool (x402 Micro-Payment)","description":"Encode or decode URI components or full URI strings without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/uri-codec","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","required":["text"],"properties":{"mode":{"enum":["encode","decode"],"type":"string"},"text":{"type":"string","maxLength":20000,"minLength":1},"component":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"mode":"encode","text":"hello world & foo=bar","component":true}}},"response":{"ok":true,"mode":"encode","tool":"uriCodec","output":"hello%20world%20%26%20foo%3Dbar","component":true,"fetchedAt":"2026-06-18T06:21:04.728Z"}},"exampleRequest":{"mode":"encode","text":"hello world & foo=bar","component":true},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0001/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_dhsCc1gT62tr5ixA_x4Hv","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":"Encodes or decodes URI/URL text components using a micro-payment x402 USDC API gateway","exampleAgentPrompt":"Can you URI-encode this text so I can safely put it in a query parameter: 'hello world & foo=bar'?","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok (boolean), tool name ('uriCodec'), and the encoded or decoded result string, plus a fetchedAt timestamp.","failureModes":["Missing required 'text' query parameter returns validation error","Text exceeding 20,000 characters rejected","Invalid mode value (not 'encode' or 'decode') returns error","Payment failure or insufficient USDC balance blocks request","Non-GET method returns 405","Service unreachable returns network timeout"],"whenToPreferThis":"Use this endpoint when you need a quick, stateless URI encode or decode operation via a micro-payment API without a subscription. Suitable for one-off or low-volume transformations where cost per call ($0.0001 USDC) is acceptable. Prefer over local implementations when operating in an x402-native payment flow on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:02.778Z","isFirstParty":false}