{"uid":"cap_VeRY73iVjgaOIgE3WSkO-","slug":"base64-base32-base58-hex-uri-encoder-decoder-cc13de3e","name":"Base64/Base32/Base58/Hex/URI Encoder-Decoder","description":"41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.","url":"https://x402-micro-pay.com/api/skills/base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["encode","decode"],"type":"string"},"text":{"type":"string","maxLength":400000},"codec":{"enum":["base64","base32","base58","hex","uri"],"type":"string","default":"base64"},"url_safe":{"type":"boolean","default":false}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"encode","bytes":11,"skill":"base64","output":"aGVsbG8gYWdlbnQ=","url_safe":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__htWq45TCCLp-42ays3bA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes text using Base64, Base32, Base58, Hex, or URI codecs, returning the transformed string and byte count.","exampleAgentPrompt":"Encode the text 'hello agent' to base64 using URL-safe mode.","exampleUseCases":[{"title":"Encode payload for URL embedding","prompt":"I need to encode this JSON string 'hello world' into base64 URL-safe format so I can safely put it in a query parameter."},{"title":"Decode base58 blockchain data","prompt":"Can you decode this base58 string '3mJr7AoUXx2Wqd' back to plain text?"},{"title":"Hex-encode binary content","prompt":"Take the text 'secret message' and encode it as hex so I can include it in a protocol header."}],"resultDescription":"A JSON object with ok=true, the mode used (encode or decode), the codec applied, the output transformed string, the byte length of the input, and the url_safe setting.","failureModes":["Input text exceeds 400,000 character limit — request rejected","Invalid codec value not in allowed enum — validation error","Invalid mode value — request rejected","HTTP 402 returned if payment not provided via x402 protocol","Malformed JSON body — parse error"],"whenToPreferThis":"Use this endpoint when you need a simple, no-account, pay-per-call encoding/decoding utility supporting Base64, Base32, Base58, Hex, or URI codecs. It is ideal for AI agents that need occasional encoding without setting up API keys or managing credentials, and that already support the x402 micropayment protocol on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:52:21.041Z","isFirstParty":false,"canonicalSlug":"base64-base32-base58-hex-uri-encoder-decoder-cc13de3e"}