# Free Asset Radar x402 Base64 Encoder/Decoder

> Free Asset Radar x402 Base64 Encoder/Decoder is a paid API for AI agents from free-asset-radar-x402.besenok2018.workers.dev, paid per call via x402, $0.0005/call, status unknown (last checked 2026-10-02).

Encodes or decodes data using Base64 encoding via a paid edge-hosted utility endpoint

## Facts

- Endpoint: GET https://free-asset-radar-x402.besenok2018.workers.dev/api/x402/base64?utm_source=zero.xyz
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/free-asset-radar-x402-base64-encoder-decoder-f44e996f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hCTtEHuzYMVagr5R2DjnU

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 free-asset-radar-x402-base64-encoder-decoder-f44e996f
```

Example prompt: Can you Base64-encode the string 'hello world' for me using the x402 utility endpoint?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call Base64 encode/decode operation without setting up a local library, especially in autonomous agent pipelines that already support the x402 micropayment protocol. It is best suited for lightweight one-off conversions in serverless or agent contexts where integrating a full crypto/encoding library is impractical.

## Known failure modes

- Missing or invalid input string returns an error response
- Unsupported mode value causes a processing failure
- Payment failure (x402 protocol) blocks the request if USDC is unavailable
- Cloudflare Worker cold start or edge outage causes timeout or 503
- Malformed request schema returns a validation error

## How this service works

Stable edge-hosted x402 utilities for autonomous agents.

## Output

Returns a JSON object containing the mode used ('encode' or 'decode') and the result string — either the Base64-encoded output or the original decoded string, e.g. {"mode":"encode","result":"aGVsbG8="}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "encode",
  "result": "aGVsbG8="
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/free-asset-radar-x402-base64-encoder-decoder-f44e996f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from free-asset-radar-x402.besenok2018.workers.dev](https://www.zero.xyz/host/free-asset-radar-x402.besenok2018.workers.dev/llms.txt)
