{"uid":"cap_JOOPBNHHNIAc-1d1H7cSg","slug":"ipintel-ai-base64-encode-768f4659","name":"IPIntel.ai Base64 Encode","description":"Pay-per-call x402 APIs for satellite observation, DNS lookup, domain health checks, reverse DNS, WHOIS lookup, domain availability checks, JSON Schema validation, JWT decoding, Base64 encoding/decoding, and HTTP latency checks. Designed for autonomous agents, developers, domain diagnostics, registration availability checks, API testing, structured output validation, token inspection, data transformation, uptime checks, and HTTP latency diagnostics.","url":"https://tools.ipintel.ai/base64-encode","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":"String value to encode"},"url_safe":{"type":"boolean","description":"Whether to return URL-safe Base64 without padding"}},"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"},"encoded":{"type":"string"},"service":{"type":"string"},"url_safe":{"type":"boolean"},"timestamp":{"type":"string"},"input_length":{"type":"integer"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"encoded":"aGVsbG8=","service":"base64_encode","url_safe":false,"timestamp":"2026-06-23T00:00:00+00:00","input_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_0C_duhYE371DPRn1WzVOf","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 a plain-text or binary string into Base64 format, with optional URL-safe output, returning the encoded result and metadata.","exampleAgentPrompt":"Can you Base64 encode the string 'hello world' for me — standard encoding, not URL-safe?","exampleUseCases":null,"resultDescription":"Returns a JSON object with 'ok' (boolean), 'encoded' (the Base64-encoded string), 'url_safe' (boolean indicating encoding variant), 'input_length' (character count of input), 'service' identifier, and a UTC 'timestamp'.","failureModes":["Empty or missing input string returns an error response","Invalid request body format may return a 400-level error","Payment failure via x402 protocol results in 402 Payment Required before encoding occurs","Overly large input payloads may be rejected or time out"],"whenToPreferThis":"Use this endpoint when an autonomous agent or developer workflow needs a pay-per-call, zero-setup Base64 encoding service over x402, especially when working within a pipeline that already uses IPIntel.ai tools for DNS, WHOIS, or JWT operations and wants a single unified billing mechanism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:45:32.834Z","isFirstParty":false}