{"uid":"cap_soCtE21083ulZC4ybEeIs","slug":"bounty-engineer-base64-encode-decode-847b4658","name":"Bounty Engineer Base64 Encode/Decode","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["encode","decode"],"type":"string"},"input":{"type":"string","maxLength":32768},"alphabet":{"enum":["base64","base64url"],"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"mode":"encode","output":"aGVsbG8=","alphabet":"base64","input_bytes":5}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NreSgyWEiTFf3Shbe22_j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes strings using Base64 or Base64url alphabet via a paid micropayment API","exampleAgentPrompt":"Encode the string 'hello world' to base64 using standard base64 alphabet.","exampleUseCases":[{"title":"Encode API token for HTTP header","prompt":"Encode this string 'myuser:mysecretpassword' to base64 so I can use it in a Basic Auth header."},{"title":"Decode a base64url JWT payload","prompt":"Decode this base64url string 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9' so I can read the JWT header contents."},{"title":"Convert plain text to base64url","prompt":"Encode the text 'agent-invoice-2024-07' using base64url alphabet so it's safe to embed in a URL."}],"resultDescription":"Returns a JSON object with ok:true, the mode used (encode or decode), the resulting output string, the alphabet used (base64 or base64url), and the number of input bytes processed.","failureModes":["Input string exceeds 32768 character limit — returns error","Invalid mode value (not 'encode' or 'decode') — returns validation error","Invalid alphabet value (not 'base64' or 'base64url') — returns validation error","Malformed base64 input during decode — may return error or garbled output","Payment not provided or insufficient — returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a reliable, metered base64 encode/decode operation within a micropayment (x402) workflow, especially when already integrated with the Bounty Engineer agent commerce stack and needing standard or URL-safe base64 transformations with predictable JSON responses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:50:24.641Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-base64-encode-decode-847b4658"}