{"uid":"cap_NDB_wDnrIBcAABX89D61a","slug":"base64-encode-decode-api-9cac6642","name":"Base64 Encode/Decode API","description":"Money Reactor paid API - catalog: https://money-reactor.makar52nn2016.workers.dev/.well-known/x402.json","url":"https://money-reactor.makar52nn2016.workers.dev/api/base64?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"status":"ok"}}}}},"responseSchema":{"type":"json","example":{"status":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cK_UFNFSETC_MndtsEMSR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes Base64 (including URL-safe variant) in a single GET call, supporting payload packing and JWT segment decoding","exampleAgentPrompt":"Encode the string 'hello world: agent payload #42' to Base64 using the URL-safe variant so I can embed it in a query parameter.","exampleUseCases":[{"title":"JWT Payload Inspection","prompt":"Decode this JWT payload segment for me so I can read the claims: eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ"},{"title":"URL-Safe Payload Packing","prompt":"Encode this JSON string to URL-safe Base64 so I can pass it as a query parameter without breaking the URL: {\"user_id\":99,\"scope\":\"read\"}"},{"title":"Base64 String Decoding","prompt":"Decode this Base64 string back to plain text for me: SGVsbG8sIHdvcmxkISBUaGlzIGlzIGEgdGVzdC4="}],"resultDescription":"A JSON response containing the encoded or decoded result string, indicating the operation performed (encode/decode) and the variant used (standard or URL-safe Base64).","failureModes":["Invalid Base64 input string causing a decoding error","Missing required input parameter resulting in a bad request","Malformed URL-safe Base64 with incorrect padding","Input payload exceeding size limits","Network timeout or Cloudflare Worker error returning non-200 status"],"whenToPreferThis":"Choose this endpoint when an agent needs a fast, stateless Base64 encode or decode operation — especially for JWT segment inspection or embedding payloads in URLs — without setting up a local library or runtime. Ideal for agents in constrained environments or when a quick single-call conversion is needed without code execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:32:12.346Z","isFirstParty":false,"canonicalSlug":"base64-encode-decode-api-9cac6642"}