{"uid":"cap_TecCGl9nyMZZPdAxCMOzR","slug":"agent402-tools-base58-encode-decode-556bef3c","name":"agent402.tools Base58 Encode/Decode","description":"Base58 encode or decode text (Bitcoin/IPFS alphabet). mode: encode (default) or decode.","url":"https://agent402.tools/api/base58","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"type":"string","description":"encode | decode"},"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"mode":"encode","result":"9Ajdvzr"}},"example":{"request":{"mode":"encode","text":"Hello World"},"response":{"mode":"encode","result":"JxF12TrwUP45BMd"}},"exampleRequest":{"mode":"encode","text":"Hello World"},"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_-NuogM_GLEPGj-jw6jYrR","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 the Base58 alphabet used by Bitcoin and IPFS","exampleAgentPrompt":"Can you Base58 encode the text 'Hello World' using the Bitcoin/IPFS alphabet?","exampleUseCases":null,"resultDescription":"Returns the Base58-encoded or Base58-decoded version of the input text, using the Bitcoin/IPFS alphabet (excludes 0, O, I, l characters)","failureModes":["Invalid mode value — must be 'encode' or 'decode'","Decoding an invalid Base58 string (contains illegal characters) returns an error","Empty text input may return an error or empty result","Payment failure if x402 USDC micropayment is not completed"],"whenToPreferThis":"Use this endpoint when you need to encode or decode text using the Base58 alphabet specifically (Bitcoin/IPFS standard), rather than standard Base64 or hex encoding. Ideal for blockchain-related workflows, IPFS CID handling, or any context where the Bitcoin Base58 alphabet is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:03.139Z","isFirstParty":false}