{"uid":"cap__xX8lR6foJVHgpCpztlRb","slug":"delx-base32-encode-decode-082a960c","name":"Delx Base32 Encode/Decode","description":"Base32 encode or decode. Use when agents must interchange codes for TOTP seeds, IDs, or transport-safe blobs. Returns encoded or decoded Base32 text with mode used. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/base32","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"description":"Optional mode input."},"text":{"type":"string","maxLength":100000,"description":"Primary text input (max 100k chars). Processed first-party; not retained as a dataset."}}},"responseSchema":{"type":"json","example":{"text":"NBSWY3DPEBQWOZLOOQQHO33SNRSA====","action":"encode","schema":"delx/base32/v1"}},"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_JgtVywYGdgU0xvXdthQSw","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 or decodes text using Base32, returning the transformed result along with the mode used","exampleAgentPrompt":"Can you Base32-encode this TOTP seed string for me: 'JBSWY3DPEHPK3PXP'? Set the mode to encode.","exampleUseCases":[{"title":"TOTP seed provisioning","prompt":"I need to Base32-encode this raw secret so I can put it in a QR code for two-factor authentication setup: 'mysupersecretkey123'"},{"title":"Decoding incoming Base32 ID","prompt":"I received this Base32-encoded identifier from an external system and need to decode it back to plain text: 'NBSWY3DPEB3W64TMMQ======'"},{"title":"Transport-safe blob preparation","prompt":"Base32-encode this binary-safe payload so I can embed it in a URL or header without it breaking: 'hello\\x00world\\xff'"}],"resultDescription":"Returns a JSON object containing the transformed text (encoded or decoded Base32 result) and the mode that was applied (encode or decode), deterministically computed with no data retained.","failureModes":["Invalid Base32 input when decoding (malformed characters or padding) returns a structured validation error with no charge","Text exceeding 100,000 characters is rejected","Missing or invalid mode parameter may default or return an error","Payment failure via x402 results in a 402 response before processing"],"whenToPreferThis":"Choose this endpoint when an agent needs deterministic, first-party Base32 encoding or decoding without setting up an API key or subscription — especially for TOTP seed preparation, transport-safe blob encoding, or ID conversions. Prefer it over running client-side code when the agent environment lacks a Base32 library or when auditability of a paid, logged call is desirable. Not suited for large binary files or streaming workloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:33.842Z","isFirstParty":false}