{"uid":"cap_o42Zc0aG8Vi1gZV-Iddrf","slug":"avedaris-base64-encode-da41c4e5","name":"AveDaris Base64 Encode","description":"Encode bounded UTF-8 text as Base64.","url":"https://api.avedaris.com/v1/paid/base64-encode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":100000}}},"responseSchema":{"type":"json","example":{"result":{"base64":"aGVsbG8="}}},"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_hKIRMvn14nLaaVBWNg1Dx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes a plain-text string into its Base64 representation","exampleAgentPrompt":"Can you base64 encode this string for me: 'Hello, World! This is my payload.'","exampleUseCases":[{"title":"Encoding API credentials for auth headers","prompt":"I need to base64 encode my username and password combined as 'myuser:mysecretpassword' so I can put it in a Basic Auth header."},{"title":"Embedding binary data in JSON payload","prompt":"Can you take this raw text data and base64 encode it so I can safely embed it inside a JSON field without breaking the structure?"},{"title":"Encoding config content for transmission","prompt":"I have a config file content I need to pass over a URL query parameter — can you base64 encode it so it doesn't break with special characters?"}],"resultDescription":"A JSON object containing a 'result' field with a 'base64' key holding the Base64-encoded string representation of the input text.","failureModes":["Input text exceeds 100,000 character limit — returns validation error","Empty string input may return empty base64 result or error","Non-UTF-8 characters may cause encoding issues","Malformed request body returns 400-level error","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a reliable, pay-per-call Base64 encoding service without managing your own infrastructure — particularly useful in agent pipelines where spinning up local encoding libraries is impractical, or when you want a consistent API-based encoding step integrated with the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:03:48.877Z","isFirstParty":false}