{"uid":"cap_hCTtEHuzYMVagr5R2DjnU","slug":"free-asset-radar-x402-base64-encoder-decoder-f44e996f","name":"Free Asset Radar x402 Base64 Encoder/Decoder","description":"Stable edge-hosted x402 utilities for autonomous agents.","url":"https://free-asset-radar-x402.besenok2018.workers.dev/api/x402/base64?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"mode":"encode","result":"aGVsbG8="}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C3q-2JneBquYGNoouW22V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes data using Base64 encoding via a paid edge-hosted utility endpoint","exampleAgentPrompt":"Can you Base64-encode the string 'hello world' for me using the x402 utility endpoint?","exampleUseCases":[{"title":"Encode API payload before sending","prompt":"I need to Base64-encode this JSON string before embedding it in an API header — can you encode '{\"user\":\"alice\",\"role\":\"admin\"}' for me?"},{"title":"Decode Base64 response data","prompt":"I got this Base64 string back from an API response: 'aGVsbG8=' — can you decode it back to plain text?"},{"title":"Prepare Base64 image data","prompt":"Convert this raw text data 'My secret message' into Base64 format so I can safely embed it in a JSON payload."}],"resultDescription":"Returns a JSON object containing the mode used ('encode' or 'decode') and the result string — either the Base64-encoded output or the original decoded string, e.g. {\"mode\":\"encode\",\"result\":\"aGVsbG8=\"}","failureModes":["Missing or invalid input string returns an error response","Unsupported mode value causes a processing failure","Payment failure (x402 protocol) blocks the request if USDC is unavailable","Cloudflare Worker cold start or edge outage causes timeout or 503","Malformed request schema returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call Base64 encode/decode operation without setting up a local library, especially in autonomous agent pipelines that already support the x402 micropayment protocol. It is best suited for lightweight one-off conversions in serverless or agent contexts where integrating a full crypto/encoding library is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:45:30.308Z","isFirstParty":false,"canonicalSlug":"free-asset-radar-x402-base64-encoder-decoder-f44e996f"}