{"uid":"cap_NeE3YfdbN5AaXSz6q64gh","slug":"quartermaster-base64-encode-decode-679f4a66","name":"Quartermaster Base64 Encode/Decode","description":"Base64 encode or decode a string.","url":"https://quartermaster.surewhynot.app/v1/base64","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","required":["data"],"properties":{"op":{"enum":["encode","decode"],"type":"string","default":"encode"},"data":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_R4-ShAbBwoRvvpvJlOp2v","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 a string to Base64 or decodes a Base64 string back to plain text via a simple GET request.","exampleAgentPrompt":"Can you base64 encode the string 'Hello, World!' for me? Or decode this base64 value: 'SGVsbG8sIFdvcmxkIQ=='","exampleUseCases":null,"resultDescription":"Returns the Base64-encoded or decoded string result based on the specified operation and input data.","failureModes":["Missing required 'data' query parameter returns an error","Invalid Base64 input when using decode operation may return a decoding error","Payment failure (402) if USDC payment is not processed correctly"],"whenToPreferThis":"Use this endpoint when you need a quick, paid Base64 encode or decode operation in an x402 payment-enabled agentic workflow, especially within the Quartermaster ecosystem where other blockchain and text utilities are co-located.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:51:09.940Z","isFirstParty":false}