{"uid":"cap_haSv6WKdRX2B_sq93r-Mz","slug":"httpay-base64-encode-api-e8abc44f","name":"HTTPay Base64 Encode API","description":"307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.","url":"https://httpay.xyz/api/base64-encode","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Base64-encode any text or binary data. POST JSON body: {text}. Returns base64 string and URL-safe variant. Uses Node.js built-in Buffer. Zero external dependencies."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_R5kd4ewjlUZvS45bl1x7n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes any text or binary data into Base64 and URL-safe Base64 format via a pay-per-call endpoint with no API key required","exampleAgentPrompt":"Can you base64 encode this text for me: 'Hello, World! This is my API payload' and also give me the URL-safe version?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the standard Base64 encoded string and a URL-safe Base64 variant of the submitted text or binary data, computed using Node.js built-in Buffer with zero external dependencies.","failureModes":["Missing or empty text field in POST body returns error","Malformed JSON body causes parse error","Oversized payload may be rejected","Network timeout on slow connections","Payment failure via x402 prevents access"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-setup Base64 encoding utility without managing API keys or subscriptions — ideal for agents that need one-off encoding operations and can pay $0.001 USDC per call via x402 on Base. Prefer this over self-hosted solutions when avoiding infrastructure overhead matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:09:32.502Z","isFirstParty":false}