{"uid":"cap_Ju-iCilmK7Y150iBeucy_","slug":"api-x402node-dev-5fc0f058","name":"Base32 Encoder/Decoder","description":"Base32 encoder/decoder, RFC 4648, Crockford, case-insensitive, DNS, TOTP secret, 2FA key encoding, human-readable base32. Encode binary or text to/from Base32. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/encode/base32","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":["text"],"properties":{"mode":{"type":"string","description":"Operation mode (optional)"},"text":{"type":"string","description":"Input text (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"text":"HelloWorld","variant":"rfc4648"},"response":{"mode":"encode","_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","input":"HelloWorld","output":"JBSWY3DPK5XXE3DE"}},"exampleRequest":{"text":"HelloWorld","variant":"rfc4648"},"tags":["x402"],"displayCostAmount":"0.0022","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jesWVjBg_niTt29DPZKeC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","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 to/from Base32 using RFC 4648, Crockford, DNS-safe, TOTP/2FA, or human-readable variants","exampleAgentPrompt":"Encode the string 'HelloWorld' to Base32 using the RFC 4648 standard — I need the human-readable base32 output for a TOTP secret.","exampleUseCases":null,"resultDescription":"Returns the Base32-encoded or decoded result for the given input, using the specified variant (RFC 4648, Crockford, DNS-safe, or TOTP-compatible human-readable form).","failureModes":["Invalid or malformed input data returns an error response","Unsupported encoding variant specified returns a bad request error","Binary input not properly serialized causes a decode failure","Attempting to decode invalid Base32 characters (non-alphabet) returns an error"],"whenToPreferThis":"Use this endpoint when you need standards-compliant Base32 encoding or decoding, especially for TOTP/2FA secret key formatting, DNS-safe identifiers, or Crockford-variant encoding. Prefer it over Base64 endpoints when human readability or compatibility with authenticator apps is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:29.912Z","isFirstParty":false}