{"uid":"cap_-f_xZNoZkCe6O9tdXu4ZQ","slug":"landing-en-24h-base64-encoder-decoder-a4adf8a4","name":"Landing en 24h Base64 Encoder/Decoder","description":"Landing page para tu negocio en 24 horas: textos, diseño para celular y botón de WhatsApp. Boceto gratis: ves la primera versión antes de pagar. USD 39 de lanzamiento.","url":"https://landingen24h.com/api/x402/util/base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["encode","decode"],"type":"string","default":"encode"},"text":{"type":"string","maxLength":3500},"url_safe":{"type":"boolean","default":false}}},"responseSchema":{"type":"json","example":{"mode":"encode","result":"aGVsbG8gd29ybGQ=","url_safe":false,"input_chars":11}},"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_lxG_z27JFdsCIDoGikOLh","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 or decodes text to/from Base64, with optional URL-safe mode","exampleAgentPrompt":"Can you encode the text 'hello world' to Base64 using standard (not URL-safe) encoding?","exampleUseCases":[{"title":"Encode API payload for transmission","prompt":"I need to encode this JSON string to Base64 so I can pass it as a URL parameter: '{\"user\":\"alice\",\"role\":\"admin\"}' — use standard encoding, not URL-safe."},{"title":"Decode a Base64 config string","prompt":"Can you decode this Base64 string for me so I can read the original text? Here it is: 'aGVsbG8gd29ybGQ='"},{"title":"URL-safe Base64 encoding for web token","prompt":"Encode this text to Base64 in URL-safe mode so I can embed it safely in a query string: 'session_token=abc+123/xyz=='"}],"resultDescription":"Returns a JSON object containing the mode used ('encode' or 'decode'), the resulting Base64-encoded or decoded string in the 'result' field, whether url_safe mode was applied, and the number of input characters processed.","failureModes":["Text exceeds 3500 character limit — request rejected","Invalid mode value (not 'encode' or 'decode') — validation error","Malformed Base64 input during decode — may return error or garbage output","Empty text field — may return empty result or validation error","Payment failure via x402 protocol — 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call Base64 encode/decode without setting up your own infrastructure, especially within workflows already using the x402 micropayment protocol. It supports both standard and URL-safe Base64 variants and is suitable for small text payloads up to 3500 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:39:16.152Z","isFirstParty":false,"canonicalSlug":"landing-en-24h-base64-encoder-decoder-a4adf8a4"}