{"uid":"cap_t7nNW_ayN4j1jneV5_JCV","slug":"agentresolver-base64-decode-4e385add","name":"AgentResolver Base64 Decode","description":"Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.","url":"https://agentresolver.vercel.app/api/base64-decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":131072}}},"responseSchema":{"type":"json","example":{}},"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_sKplzBPTd-C4xWXLpL82F","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":"Decodes a Base64-encoded string back to its original plain-text representation","exampleAgentPrompt":"Decode this base64 string for me: 'SGVsbG8sIFdvcmxkIQ=='","exampleUseCases":[{"title":"Decode API response payload","prompt":"This API returned a base64-encoded body — can you decode it for me? The value is 'eyJ1c2VyIjoiYWxpY2UiLCJyb2xlIjoiYWRtaW4ifQ=='"},{"title":"Read JWT claims section","prompt":"Decode the payload section of this JWT for me so I can see what claims are inside: 'eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ=='"},{"title":"Decode embedded configuration string","prompt":"I have a base64-encoded config value from our environment variables — decode it so I can see the actual settings: 'aG9zdD1sb2NhbGhvc3Q7cG9ydD01NDMyO2RiPW15YXBw'"}],"resultDescription":"Returns a JSON object containing the decoded result string, the encoding type detected, the original operation name ('base64-decode'), and the number of input bytes processed.","failureModes":["Invalid base64 input returns an error — input must be properly padded and use valid base64 characters","Empty input string may return a validation error","Binary data decoded to non-UTF-8 may produce garbled or partial output"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call base64 decode via the x402 micropayment protocol without standing up your own decode infrastructure. Useful for agents that occasionally need to decode encoded strings as part of a larger workflow without managing libraries or dependencies directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T12:41:38.107Z","isFirstParty":false}