{"uid":"cap_koSrE5PmNkpEyHOOZXPN3","slug":"agentbit-base64-encode-b0427be4","name":"AgentBIT Base64 Encode","description":"Live web, business, finance and security tools for AI agents. Pay per call with x402 — no signup, no API keys.","url":"https://agentbit.app/v1/encode/base64","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zmIL_RqtZSxycpBO6op6e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes an input string to Base64 format via a pay-per-call API","exampleAgentPrompt":"Can you base64 encode the string 'Hello, World!' for me?","exampleUseCases":[{"title":"Encode API credentials for HTTP Basic Auth","prompt":"I need to base64 encode 'myusername:mysecretpassword' so I can use it in an HTTP Basic Authorization header."},{"title":"Encode JSON payload for embedding in URL","prompt":"Can you base64 encode this JSON string for me: '{\"userId\":42,\"role\":\"admin\"}' so I can embed it safely in a query parameter?"},{"title":"Encode file content for data URI","prompt":"I have this SVG markup that I need base64 encoded so I can embed it as a data URI in an HTML img tag — can you encode it for me?"}],"resultDescription":"A JSON response containing the Base64-encoded representation of the input string provided in the request body.","failureModes":["Missing or empty 'input' field — likely returns a 400 or validation error","Input value too large — may exceed payload limits","Payment failure via x402 — call not processed if USDC payment is insufficient","Malformed JSON request body — returns error response"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup, pay-per-call Base64 encoding utility without setting up authentication or API keys — particularly useful in agent workflows where spinning up infrastructure is impractical and micro-payments via x402 are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:44:18.641Z","isFirstParty":false}