Encoding Detect
Find out how a string is encoded. Tries hex, base64, base64url, base32, base58, URL (percent) encoding and quoted-printable, and inflates gzip or zlib data found inside (a decoded size cap guards against compression bombs). Each plausible decoding comes back ranked by confidence, from how much of it reads as text, with the decoded text (first 2,000 characters) or a hex preview of binary bytes.
POST https://agent402.tools/api/encoding-detect
0.001 USDC on Base · payTo 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"text": "SGVsbG8sIGFnZW50IQ=="
}{
"best": "base64",
"candidates": [
{
"bytes": 13,
"confidence": 0.9,
"encoding": "base64",
"printableRatio": 1,
"text": "Hello, agent!",
"textTruncated": false,
"validUtf8": true
}
],
"count": 1,
"input": "SGVsbG8sIGFnZW50IQ==",
"inputChars": 20
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://agent402.tools/api/encoding-detect · input in body · spec from live-challenge
Input schema
{
"properties": {
"text": {
"type": "string",
"description": "The encoded string (at most 100,000 characters)"
}
},
"required": [
"text"
]
}Output schema
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"inputChars": {
"type": "number"
},
"count": {
"type": "number"
},
"best": {
"type": "string"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"encoding": {
"type": "string"
},
"confidence": {
"type": "number"
},
"printableRatio": {
"type": "number"
},
"validUtf8": {
"type": "boolean"
},
"bytes": {
"type": "number"
},
"text": {
"type": "string"
},
"textTruncated": {
"type": "boolean"
}
}
}
}
},
"required": [
"input",
"inputChars",
"count",
"best",
"candidates"
]
}curl -i -X POST 'https://agent402.tools/api/encoding-detect' \
-H 'content-type: application/json' -d '{"text":"SGVsbG8sIGFnZW50IQ=="}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs