{"uid":"cap_J2av0CQI4HkzD5HWdIFH1","slug":"x402-outpimp-com-base64-encoder-19d673d9","name":"x402.outpimp.com Base64 Encoder","description":"Base64 encoder API. Encodes UTF-8 text to base64 instantly and correctly — skip burning agent tokens hand-computing base64, which LLMs frequently get wrong on padding and edge cases.","url":"https://x402.outpimp.com/base64Encode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The plain text to encode."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IpksCjci-7lueU249EQXI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes UTF-8 plain text to a base64 string, handling padding and edge cases correctly.","exampleAgentPrompt":"Can you base64 encode this text for me: 'Hello, World! This is my secret message.'","exampleUseCases":[{"title":"Encode HTTP Basic Auth credentials","prompt":"I need to create a Basic Auth header — can you base64 encode 'myuser:mypassword' so I can plug it into the Authorization header?"},{"title":"Encode JSON payload for API","prompt":"Base64 encode this JSON string for me so I can embed it in a URL parameter: '{\"userId\":\"abc123\",\"role\":\"admin\"}'"},{"title":"Encode binary data description as base64","prompt":"I need to send this text as base64 in an email attachment header — please encode 'Invoice #4521 — Amount Due: $350.00' to base64."}],"resultDescription":"Returns a base64-encoded string representation of the submitted UTF-8 text, with correct padding. Returns HTTP 400 if the text field is missing or not a string.","failureModes":["400 Bad Request if 'text' field is absent from the request body","400 Bad Request if 'text' is not a string type","Payment failure if USDC balance is insufficient for the $0.01 per-call fee"],"whenToPreferThis":"Use this endpoint when you need reliable base64 encoding with correct padding — especially in agentic pipelines where LLM hand-computation of base64 is error-prone. Prefer this over asking an LLM to compute base64 directly, as models frequently produce incorrect padding on edge cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:44:11.241Z","isFirstParty":false}