{"uid":"cap_VJOJBDjcWWUdKC0Io212X","slug":"centralcity-ai-base64-encoder-decoder-3211f588","name":"centralcity.ai Base64 Encoder/Decoder","description":"Encodes a text as Base64, or decodes Base64 back to its UTF-8 text.","url":"https://centralcity.ai/api/public/x402/off_dxx6g4w56gd4mfov?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["encode","decode"],"type":"string","description":"encode or decode the text."},"text":{"type":"string","description":"The text to encode (at most 48 KiB) or the Base64 to decode, at most 64 KiB."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FiXMnXEaL3kgydfZQd0C-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes UTF-8 text to Base64 or decodes Base64 back to UTF-8 text, supporting inputs up to 64 KiB.","exampleAgentPrompt":"Can you Base64-encode the text 'Hello, World! This is my secret message.' for me?","exampleUseCases":[{"title":"Encode credentials for HTTP Basic Auth","prompt":"I need to Base64-encode the string 'myusername:mysecretpassword' so I can use it in an HTTP Basic Authorization header."},{"title":"Decode embedded Base64 payload","prompt":"I received this Base64 string in an API response: 'eyJzdGF0dXMiOiJvayIsInVzZXIiOiJhbGljZSJ9' — can you decode it back to plain text?"},{"title":"Encode config file content","prompt":"Please Base64-encode this JSON config so I can embed it in a Kubernetes secret: '{\"apiKey\":\"abc123\",\"endpoint\":\"https://example.com\"}'."}],"resultDescription":"Returns the transformed string: either the Base64-encoded representation of the input text, or the UTF-8 decoded text from a Base64 input. The response is a plain string result suitable for direct use in downstream workflows.","failureModes":["Invalid Base64 input when decoding (malformed characters or padding) returns an error","Input text exceeding 48 KiB (encode) or Base64 exceeding 64 KiB (decode) is rejected","Missing or invalid 'mode' enum value causes a validation error","Non-UTF-8 characters in decoded output may cause rendering issues downstream"],"whenToPreferThis":"Use this endpoint when you need a simple, reliable, pay-per-call Base64 encode or decode operation without setting up a local library or runtime. Ideal for agents that need to transform credentials, embed binary-safe data, or decode Base64 payloads from APIs within an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:41:00.449Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-base64-encoder-decoder-9a7f09bc"}