{"uid":"cap_5oBcGayJ8SsG0nfFqKNSq","slug":"ddg-base64-codec-c5174285","name":"DDG Base64 Codec","description":"DDG agent-payable service request","url":"https://agents.daedalusdevelopmentgroup.com/v1/base64-codec?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j4PTtWpehCjGIofRtZ_r2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes data using Base64 via a machine-payable HTTP endpoint, returning the transformed result for $0.001 USDC per call.","exampleAgentPrompt":"Can you Base64-encode the string 'Hello, World!' for me using the DDG codec service?","exampleUseCases":[{"title":"Encoding credentials for API headers","prompt":"Base64-encode the string 'myusername:mysecretpassword' so I can use it in an Authorization header."},{"title":"Decoding a Base64 payload from a webhook","prompt":"I got this Base64 string from a webhook — 'SGVsbG8sIFdvcmxkIQ==' — can you decode it back to plain text?"},{"title":"Encoding JSON body for transmission","prompt":"Base64-encode this JSON object so I can safely embed it in a URL parameter: {\"userId\": 42, \"role\": \"admin\"}."}],"resultDescription":"A JSON response with an 'ok' field indicating success, plus the Base64-encoded or decoded result of the input data.","failureModes":["Invalid or malformed input body returns an error response","Missing required fields (input, output) causes a 400-style rejection","Payment failure via x402 results in a 402 response before processing begins","Unsupported bodyType or HTTP method enum value causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need a simple, cheap ($0.001 USDC), machine-payable Base64 encode/decode operation with x402 micropayment support — particularly in automated agent pipelines where paying per-call via USDC on-chain is preferred over managing API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T00:49:28.416Z","isFirstParty":false,"canonicalSlug":"ddg-base64-codec-c5174285"}