{"uid":"cap_-tOXOXtJosJTGqqIf7Aca","slug":"api-x402node-dev-a78fe81e","name":"Base64 Encoder/Decoder","description":"base64 encode, base64 decode, Base64 encoder, Base64 decoder, encode base64, decode base64, base64 encode online, base64url, URL-safe Base64, RFC 4648 encode, encode text to base64, decode base64 string, JWT prep, data URI encode, binary base64 encoding. Standard or URL-safe Base64 encoding/decoding of any text. For AI agents, JWT manipulation, API token handling, data URI generation, base64 converter Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/dev/base64","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"mode":{"type":"string","description":"Operation mode (optional)"},"text":{"type":"string","description":"Input text (required)"},"urlsafe":{"type":"string","description":"Urlsafe (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0022","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.0022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qD367QOnWBO_jlyoL48d3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes text using standard or URL-safe Base64 (RFC 4648), supporting JWT prep, data URIs, and API token handling","exampleAgentPrompt":"Encode the text 'Hello, World! This is my API key: abc123' to URL-safe Base64 so I can safely embed it in a JWT header.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the mode used (e.g. 'encode' or 'decode'), the original input string, and the resulting Base64 or decoded string.","failureModes":["Invalid Base64 input when decoding returns error or garbled output","Unsupported encoding mode returns error","Empty input may return empty result or validation error","Payment failure via x402 returns 402 status before processing"],"whenToPreferThis":"Use this endpoint when you need RFC 4648-compliant Base64 encoding or decoding, especially for JWT manipulation, API token formatting, data URI generation, or email MIME encoding — particularly when standard or URL-safe variants are both needed in an agentic pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:24.250Z","isFirstParty":false}