{"uid":"cap_rgaPt4YPRKStg6C5U2DEB","slug":"base64-codec-api-klymax402-com-cb8d2556","name":"Base64 Encode/Decode API","description":"Encode or decode base64 data","url":"https://base64-codec.api.klymax402.com/api/encode","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"The data to encode or decode"},"action":{"type":"string","description":"Action: 'encode' or 'decode' (default: encode)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/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__w3Nh0M5m7tIk1EWrSu0L","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 plain text or binary data to base64 format, or decodes base64 strings back to their original form","exampleAgentPrompt":"Can you base64 encode the string 'Hello, World!' for me? Also, can you decode this base64 string: 'SGVsbG8sIFdvcmxkIQ=='?","exampleUseCases":null,"resultDescription":"Returns the base64-encoded or base64-decoded version of the input string, depending on whether the action was 'encode' or 'decode'.","failureModes":["Invalid base64 string passed to decode action — malformed or padded incorrectly","Missing 'data' parameter — returns error indicating required field","Invalid 'action' value — only 'encode' or 'decode' are accepted","Network timeout or service unavailability returning 5xx error","Payment failure via x402 protocol returning 402 status"],"whenToPreferThis":"Use this endpoint when an AI agent needs a simple, low-cost, stateless base64 encode or decode operation without standing up local logic or depending on a general-purpose library. Ideal for lightweight agentic workflows where base64 transformation is a step in a larger pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:36:04.370Z","isFirstParty":false}