# String Decoder (Base64 / Base64URL / Hex)

> String Decoder (Base64 / Base64URL / Hex) is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net:10000, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Decodes a string from Base64, Base64URL, or hexadecimal encoding back to its original plaintext representation.

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/data/decode
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/string-decoder-base64-base64url-hex-54a5bf5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zB5GbfSpW-IGpsmDy7RyX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability string-decoder-base64-base64url-hex-54a5bf5b
```

Example prompt: Decode this base64 string for me: aGVsbG8gd29ybGQ=

## When to prefer this

Choose this endpoint when you need a quick, stateless, pay-per-call decoding of a Base64, Base64URL, or hex string without setting up a local library or environment. Especially useful inside agent workflows where a decoded value is needed as an intermediate step (e.g. reading a JWT payload, inspecting a config secret, or parsing a hex API response) and no local compute is available.

## Known failure modes

- Invalid encoding format specified (not base64, base64url, or hex) — returns error
- Malformed input string that does not conform to the declared encoding — returns decode error
- Missing required 'input' query parameter — returns 400-level error
- Padding issues in base64 input — may return decoding error

## How this service works

Decode a string. ?from=base64|base64url|hex&input=aGVsbG8=

## Output

Returns the decoded plaintext string corresponding to the provided Base64, Base64URL, or hex-encoded input. The response is a plain decoded value that can be used directly in downstream workflows.

## Request schema (JSON Schema)

```json
{
 "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",
     "properties": {
      "from": {
       "type": "string"
      },
      "input": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/string-decoder-base64-base64url-hex-54a5bf5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
