{"uid":"cap_H43Dcn5sP7K293KEqhJuf","slug":"datavault-base64-encoder-decoder-c7ab45a2","name":"DataVault Base64 Encoder/Decoder","description":"54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.","url":"https://zetdatavault.vercel.app/api/base64","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"action":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QzVJfjO8Zzb8OSf1DPQoZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 Base64 encoding via a pay-per-call API","exampleAgentPrompt":"Can you base64 encode this string for me: 'Hello, World! This is my secret message' — I need the encoded output to embed in an API header.","exampleUseCases":[{"title":"Decode API token payload","prompt":"I just received this Base64 string from an external API response: 'eyJ1c2VyIjoiYWxpY2UiLCJyb2xlIjoiYWRtaW4ifQ==' — can you decode it back to plain text so I can read what's inside?"},{"title":"Encode JSON for safe transmission","prompt":"I need to send this JSON blob over a URL query parameter: '{\"user_id\": 42, \"action\": \"login\", \"timestamp\": 1715000000}' — can you Base64 encode it so it's safe to transmit without breaking the URL?"},{"title":"Prepare credentials for auth header","prompt":"My username is 'alice' and my password is 'p@ssw0rd!123' — can you Base64 encode the combined string 'alice:p@ssw0rd!123' so I can plug it straight into a Basic Authorization header?"}],"resultDescription":"Returns a JSON object with a 'success' boolean and a 'data' object containing the Base64-encoded or decoded result of the input text.","failureModes":["Missing required 'text' field returns an error response","Invalid Base64 string passed for decoding may return malformed output or error","Unknown 'action' value may default to encode or return an error","Network/server errors may return non-200 responses","Payment failure via x402 protocol will block the request"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call Base64 encode or decode operation without standing up your own infrastructure, especially within an agentic workflow that already uses USDC on Base for micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:32.093Z","isFirstParty":false}