{"uid":"cap_eq54DZYi0WKJSTC_ml_xe","slug":"ipintel-ai-base64-decode-api-c7291e5c","name":"IPIntel.ai Base64 Decode API","description":"Base64 Decode API. Decode standard or URL-safe Base64 and return UTF-8 text when possible, hex output, validity, and output length. Useful for agents, developers, token inspection, API debugging, decoding workflows, data transformation, and automation tasks. Paid per call via x402.","url":"https://tools.ipintel.ai/base64-decode","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"Base64 value to decode"},"url_safe":{"type":"boolean","description":"Whether the input uses URL-safe Base64"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"valid":{"type":"boolean"},"decoded":{"type":"string"},"is_utf8":{"type":"boolean"},"service":{"type":"string"},"url_safe":{"type":"boolean"},"timestamp":{"type":"string"},"decoded_hex":{"type":"string"},"output_length":{"type":"integer"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"valid":true,"decoded":"hello","is_utf8":true,"service":"base64_decode","url_safe":false,"timestamp":"2026-06-23T00:00:00+00:00","decoded_hex":"68656c6c6f","output_length":5}},"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_4QauHWCBPm72NS_s7DfId","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":"Decodes a Base64-encoded string (including URL-safe variants) and returns the decoded text, hex representation, UTF-8 validity, and metadata.","exampleAgentPrompt":"Can you decode this Base64 string for me and tell me if it's valid UTF-8: 'aGVsbG8gd29ybGQ='?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: ok/valid boolean flags, the decoded plain-text string, its hex representation, whether it is valid UTF-8, whether the input was URL-safe Base64, the output byte length, and a timestamp.","failureModes":["Invalid or malformed Base64 input returns ok:false or valid:false","Non-UTF-8 binary data sets is_utf8:false but still returns decoded_hex","Payment failure via x402 protocol returns 402 status before processing","Empty input may return an error or zero-length decoded output"],"whenToPreferThis":"Use this endpoint when you need to decode a Base64 string programmatically in an agent workflow, especially when you also need metadata like UTF-8 validity, hex output, or URL-safe detection — and when pay-per-call micropayment pricing via x402 fits your usage pattern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:51.973Z","isFirstParty":false}