{"uid":"cap_PdutThC34iBT06YN3TVkd","slug":"x402-toolbox-base64-encode-0447d8e2","name":"x402-toolbox Base64 Encode","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/base64-encode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B6jjvc7sEQGKO1PuAHwjB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes a given string or schema input into Base64 format, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"Base64-encode the string 'Hello, World!' for me using the x402-toolbox pay-per-call utility.","exampleUseCases":[{"title":"Encode API credentials for auth header","prompt":"I need to base64-encode my username and password combo 'myuser:mypassword' so I can use it in a Basic Auth header — can you do that for me?"},{"title":"Prepare JSON schema for embedding","prompt":"Can you base64-encode this JSON schema string so I can safely embed it in a URL parameter: '{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"}}}'?"},{"title":"Encode binary payload for transmission","prompt":"Take this raw text payload 'data:image/png;base64,' prefix and encode the string 'SampleImageData' to base64 so I can attach it to a message."}],"resultDescription":"Returns a JSON object with 'ok: true' and 'paid: true' confirming the micropayment succeeded, along with the Base64-encoded representation of the input string or schema provided.","failureModes":["Missing or empty input string returns an error or empty encoded result","Invalid schema type may result in unexpected encoding behavior","Payment failure via x402 (insufficient USDC balance) returns a 402 Payment Required response","Network or Cloudflare Worker downtime causes 503 or timeout responses"],"whenToPreferThis":"Choose this endpoint when you need a simple, stateless, pay-per-call Base64 encoding utility with no signup or API key — ideal for AI agents operating autonomously with USDC micropayments on Base via x402. Best when you want a deterministic, serverless encoding function without managing credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:22.546Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-base64-encode-0447d8e2"}