{"uid":"cap_Ne7CQXomLPUw-WFhHu86e","slug":"string-decode-utility-base64-base64url-hex-42c32c5b","name":"String Decode Utility (Base64, Base64URL, Hex)","description":"Decode a string. ?from=base64|base64url|hex&input=aGVsbG8=","url":"https://pyfile-agent.taile3ff35.ts.net/data/decode","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","properties":{"from":{"type":"string"},"input":{"type":"string"}}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CrMx2KNm3xx9oLHmJz4eK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an encoded string from base64, base64url, or hex encoding back to its original form","exampleAgentPrompt":"Can you decode this base64 string for me: aGVsbG8gd29ybGQ=?","exampleUseCases":[{"title":"Decode a base64 JWT segment","prompt":"I have a JWT token and I want to read the payload — can you decode this base64url segment for me: eyJ1c2VyIjoiYWxpY2UifQ?"},{"title":"Convert hex data to plaintext","prompt":"This API response came back as hex-encoded text: 68656c6c6f — can you decode that from hex to a readable string?"},{"title":"Verify base64-encoded config value","prompt":"Our config file has this base64 value and I need to check what it actually says: dXNlcjpwYXNzd29yZA== — please decode it."}],"resultDescription":"Returns the decoded string corresponding to the input encoded value, given the specified encoding format (base64, base64url, or hex). The response is the plain decoded text or binary-as-text output.","failureModes":["Invalid base64 characters in input — returns error or malformed output","Mismatched encoding format (e.g. specifying base64 but supplying hex) — may return garbage or an error","Missing required 'input' query parameter — returns 400 or descriptive error","Unsupported 'from' encoding type — returns error","Padding issues in base64 strings — may cause decode failure"],"whenToPreferThis":"Use this endpoint when you need a quick, stateless server-side decode of a base64, base64url, or hex string without running local code — especially useful in agent pipelines where the runtime may not have native decode libraries accessible, or when you want a neutral third-party to confirm a decode result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:59:13.103Z","isFirstParty":false}