{"uid":"cap_ylxHzfC6tzwxrX4zzcMA_","slug":"agent402-tools-base-encoding-detector-8ec55aba","name":"agent402.tools Base Encoding Detector","description":"Auto-detect the encoding format of a string: base64, base32, hex, binary, decimal, or plain text. Returns confidence scores and decoded preview for each candidate. Pure CPU, deterministic.","url":"https://agent402.tools/api/base-detect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"encoded string to identify"}}},"responseSchema":{"type":"json","example":{"detected":"base64","candidates":[{"format":"base64","decoded":"Hello World","confidence":0.95},{"format":"hex","confidence":0.1}]}},"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_fEBGXzkMRNcvFFGUTMlgp","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":"Auto-detects the encoding format of a string (base64, base32, hex, binary, decimal, or plain text) and returns confidence scores with decoded previews for each candidate format.","exampleAgentPrompt":"Can you figure out what encoding format this string is using and show me a decoded preview: 'SGVsbG8gV29ybGQ='?","exampleUseCases":null,"resultDescription":"Returns a list of candidate encoding formats (base64, base32, hex, binary, decimal, plain text) each with a confidence score indicating likelihood and a decoded preview string showing what the data looks like when decoded under that format.","failureModes":["Empty or missing 'text' field returns an error","Strings that are ambiguous between formats may return multiple candidates with similar confidence scores","Very short strings may yield low-confidence results across all formats","Non-ASCII or binary-only input may fail to parse cleanly"],"whenToPreferThis":"Use this endpoint when you have an unknown encoded string and need to determine its format before decoding or processing it further. Ideal for pipelines that receive encoded data from untrusted or varied sources where the encoding scheme is not specified. Prefer this over manual guessing or format-specific decoders when the encoding is ambiguous.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:04:18.079Z","isFirstParty":false}